// **********************************************************************
//
// 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_PIServer_fwd_h__
#define __OB_PIServer_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 ServerRequestInfo;
typedef ServerRequestInfo* ServerRequestInfo_ptr;
typedef ServerRequestInfo* ServerRequestInfoRef;

OB_IMPORT extern OB::TypeCodeConst _tc_ServerRequestInfo;

class ServerRequestInterceptor;
typedef ServerRequestInterceptor* ServerRequestInterceptor_ptr;
typedef ServerRequestInterceptor* ServerRequestInterceptorRef;

OB_IMPORT extern OB::TypeCodeConst _tc_ServerRequestInterceptor;

} // End of namespace PortableInterceptor

void OBDuplicate(PortableInterceptor::ServerRequestInfo_ptr);
void OBRelease(PortableInterceptor::ServerRequestInfo_ptr);

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

void OBDuplicate(PortableInterceptor::ServerRequestInterceptor_ptr);
void OBRelease(PortableInterceptor::ServerRequestInterceptor_ptr);

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

namespace PortableInterceptor
{

typedef OB::ObjVar< ServerRequestInfo > ServerRequestInfo_var;
typedef OB::ObjOut< ServerRequestInfo > ServerRequestInfo_out;

typedef OB::ObjVar< ServerRequestInterceptor > ServerRequestInterceptor_var;
typedef OB::ObjOut< ServerRequestInterceptor > ServerRequestInterceptor_out;

} // End of namespace PortableInterceptor

#endif
