// **********************************************************************
//
// 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_Policy_fwd_h__
#define __OB_Policy_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 Policy;
typedef Policy* Policy_ptr;
typedef Policy* PolicyRef;

OB_IMPORT extern OB::TypeCodeConst _tc_Policy;

class PolicyManager;
typedef PolicyManager* PolicyManager_ptr;
typedef PolicyManager* PolicyManagerRef;

OB_IMPORT extern OB::TypeCodeConst _tc_PolicyManager;

} // End of namespace CORBA

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

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

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

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

namespace CORBA
{

typedef OB::ObjVar< Policy > Policy_var;
typedef OB::ObjOut< Policy > Policy_out;

typedef OB::ObjVar< PolicyManager > PolicyManager_var;
typedef OB::ObjOut< PolicyManager > PolicyManager_out;

} // End of namespace CORBA

#endif
