// **********************************************************************
//
// 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_OBPOAInterface_fwd_h__
#define __OB_OBPOAInterface_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 ORB;
typedef ORB* ORB_ptr;
typedef ORB* ORBRef;

} // End of namespace CORBA

namespace OBPortableServer
{

class POA;
typedef POA* POA_ptr;
typedef POA* POARef;

} // End of namespace OBPortableServer

void OBDuplicate(CORBA::ORB_ptr);
void OBRelease(CORBA::ORB_ptr);

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

void OBDuplicate(OBPortableServer::POA_ptr);
void OBRelease(OBPortableServer::POA_ptr);

void OBMarshal(OBPortableServer::POA_ptr, OB::OutputStreamImpl*);
void OBUnmarshal(OBPortableServer::POA_ptr&, OB::InputStreamImpl*);

namespace CORBA
{

typedef OB::ObjVar< ORB > ORB_var;
typedef OB::ObjOut< ORB > ORB_out;

} // End of namespace CORBA

namespace OBPortableServer
{

typedef OB::ObjVar< POA > POA_var;
typedef OB::ObjOut< POA > POA_out;

} // End of namespace OBPortableServer

#endif
