// **********************************************************************
//
// 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_Custom_fwd_h__
#define __OB_Custom_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 CORBA
{

class DataOutputStream;

class DataInputStream;

class CustomMarshal;

} // End of namespace CORBA

void OBDuplicate(CORBA::DataOutputStream*);
void OBRelease(CORBA::DataOutputStream*);

void OBMarshal(CORBA::DataOutputStream*, OB::OutputStreamImpl*);
void OBUnmarshal(CORBA::DataOutputStream*&, OB::InputStreamImpl*);

void OBDuplicate(CORBA::DataInputStream*);
void OBRelease(CORBA::DataInputStream*);

void OBMarshal(CORBA::DataInputStream*, OB::OutputStreamImpl*);
void OBUnmarshal(CORBA::DataInputStream*&, OB::InputStreamImpl*);

void OBDuplicate(CORBA::CustomMarshal*);
void OBRelease(CORBA::CustomMarshal*);

void OBMarshal(CORBA::CustomMarshal*, OB::OutputStreamImpl*);
void OBUnmarshal(CORBA::CustomMarshal*&, OB::InputStreamImpl*);

namespace CORBA
{

typedef OB::ObjVar< DataOutputStream > DataOutputStream_var;
typedef OB::ObjOut< DataOutputStream > DataOutputStream_out;

typedef OB::ObjVar< DataInputStream > DataInputStream_var;
typedef OB::ObjOut< DataInputStream > DataInputStream_out;

typedef OB::ObjVar< CustomMarshal > CustomMarshal_var;
typedef OB::ObjOut< CustomMarshal > CustomMarshal_out;

} // End of namespace CORBA

#endif
