// **********************************************************************
//
// 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_PIORT_fwd_h__
#define __OB_PIORT_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 PortableInterceptor
{

class ObjectReferenceFactory;

OB_IMPORT extern OB::TypeCodeConst _tc_ObjectReferenceFactory;

class ObjectReferenceTemplate;

OB_IMPORT extern OB::TypeCodeConst _tc_ObjectReferenceTemplate;

} // End of namespace PortableInterceptor

void OBDuplicate(PortableInterceptor::ObjectReferenceFactory*);
void OBRelease(PortableInterceptor::ObjectReferenceFactory*);

void OBMarshal(PortableInterceptor::ObjectReferenceFactory*, OB::OutputStreamImpl*);
void OBUnmarshal(PortableInterceptor::ObjectReferenceFactory*&, OB::InputStreamImpl*);

void OBDuplicate(PortableInterceptor::ObjectReferenceTemplate*);
void OBRelease(PortableInterceptor::ObjectReferenceTemplate*);

void OBMarshal(PortableInterceptor::ObjectReferenceTemplate*, OB::OutputStreamImpl*);
void OBUnmarshal(PortableInterceptor::ObjectReferenceTemplate*&, OB::InputStreamImpl*);

namespace PortableInterceptor
{

typedef OB::ObjVar< ObjectReferenceFactory > ObjectReferenceFactory_var;
typedef OB::ObjOut< ObjectReferenceFactory > ObjectReferenceFactory_out;

typedef OB::ObjVar< ObjectReferenceTemplate > ObjectReferenceTemplate_var;
typedef OB::ObjOut< ObjectReferenceTemplate > ObjectReferenceTemplate_out;

} // End of namespace PortableInterceptor

#endif
