// **********************************************************************
//
// Generated by the ORBacus IDL-to-C++ Translator
//
// Copyright (c) 2003
// IONA Technologies, Inc.
// Waltham, MA, USA
//
// All Rights Reserved
//
// **********************************************************************

// Version: 4.1.3

#ifndef __OB_Codec_fwd_h__
#define __OB_Codec_fwd_h__

#include <OB/Template.h>

#ifndef OB_IMPORT
#   ifdef OB_DLL
#      define OB_IMPORT __declspec(dllimport)
#   else
#      define OB_IMPORT /**/
#   endif
#endif


#ifndef OB_INTEGER_VERSION
#   error No ORBacus version defined! Is <OB/CORBA.h> included?
#endif

#ifndef OB_NO_VERSION_CHECK
#   if (OB_INTEGER_VERSION != 4010300L)
#       error ORBacus version mismatch!
#   endif
#endif

namespace IOP
{

class Codec;
typedef Codec* Codec_ptr;
typedef Codec* CodecRef;

class CodecFactory;
typedef CodecFactory* CodecFactory_ptr;
typedef CodecFactory* CodecFactoryRef;

} // End of namespace IOP

void OBDuplicate(IOP::Codec_ptr);
void OBRelease(IOP::Codec_ptr);

void OBMarshal(IOP::Codec_ptr, OB::OutputStreamImpl*);
void OBUnmarshal(IOP::Codec_ptr&, OB::InputStreamImpl*);

void OBDuplicate(IOP::CodecFactory_ptr);
void OBRelease(IOP::CodecFactory_ptr);

void OBMarshal(IOP::CodecFactory_ptr, OB::OutputStreamImpl*);
void OBUnmarshal(IOP::CodecFactory_ptr&, OB::InputStreamImpl*);

namespace IOP
{

typedef OB::ObjVar< Codec > Codec_var;
typedef OB::ObjOut< Codec > Codec_out;

typedef OB::ObjVar< CodecFactory > CodecFactory_var;
typedef OB::ObjOut< CodecFactory > CodecFactory_out;

} // End of namespace IOP

#endif
