// **********************************************************************
//
// 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_IFR1_skel_h__
#define __OB_IFR1_skel_h__

#include <OB/IFR1.h>

#include <OB/TypeCode_skel.h>
#include <OB/Types_skel.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

//
// IDL:omg.org/CORBA:1.0
//
namespace POA_CORBA
{

//
// IDL:omg.org/CORBA/IRObject:1.0
//
class IRObject : virtual public PortableServer::ServantBase
{
    IRObject(const IRObject&);
    void operator=(const IRObject&);

protected:

    //
    // IDL:omg.org/CORBA/IRObject/def_kind:1.0
    //
    void _OB_get_def_kind(OB::Upcall_ptr);

    //
    // IDL:omg.org/CORBA/IRObject/destroy:1.0
    //
    void _OB_op_destroy(OB::Upcall_ptr);

public:

    IRObject() { }

    virtual ::CORBA::Boolean _is_a(const char*)
        throw(::CORBA::SystemException);

    virtual ::CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
                                                     PortableServer::POA_ptr);

    CORBA::IRObject_ptr _this();

    virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
                                                            const PortableServer::ObjectId&);
    virtual void _OB_dispatch(OB::Upcall_ptr);

    //
    // IDL:omg.org/CORBA/IRObject/def_kind:1.0
    //
    virtual ::CORBA::DefinitionKind def_kind()
        throw(::CORBA::SystemException) = 0;

    //
    // IDL:omg.org/CORBA/IRObject/destroy:1.0
    //
    virtual void destroy()
        throw(::CORBA::SystemException) = 0;
};

//
// IDL:omg.org/CORBA/IDLType:1.0
//
class IDLType : virtual public POA_CORBA::IRObject
{
    IDLType(const IDLType&);
    void operator=(const IDLType&);

protected:

    //
    // IDL:omg.org/CORBA/IDLType/type:1.0
    //
    void _OB_get_type(OB::Upcall_ptr);

public:

    IDLType() { }

    virtual ::CORBA::Boolean _is_a(const char*)
        throw(::CORBA::SystemException);

    virtual ::CORBA::RepositoryId _primary_interface(const PortableServer::ObjectId&,
                                                     PortableServer::POA_ptr);

    CORBA::IDLType_ptr _this();

    virtual OB::DirectStubImpl_ptr _OB_createDirectStubImpl(PortableServer::POA_ptr,
                                                            const PortableServer::ObjectId&);
    virtual void _OB_dispatch(OB::Upcall_ptr);

    //
    // IDL:omg.org/CORBA/IDLType/type:1.0
    //
    virtual ::CORBA::TypeCode_ptr type()
        throw(::CORBA::SystemException) = 0;
};

} // End of namespace POA_CORBA

//
// IDL:omg.org/CORBA:1.0
//
namespace OBDirectStubImpl_CORBA
{

//
// IDL:omg.org/CORBA/IRObject:1.0
//
class IRObject : virtual public OBStubImpl_CORBA::IRObject,
                 virtual public OB::DirectStubImpl
{
    IRObject(const IRObject&);
    void operator=(const IRObject&);

protected:

#ifdef HAVE_VCPLUSPLUS_BUGS

    IRObject() { }

#endif

    IRObject(PortableServer::POA_ptr,
             const PortableServer::ObjectId&,
             PortableServer::ServantBase*);

    friend class POA_CORBA::IRObject;

public:

    //
    // IDL:omg.org/CORBA/IRObject/def_kind:1.0
    //
    virtual ::CORBA::DefinitionKind def_kind();

    //
    // IDL:omg.org/CORBA/IRObject/destroy:1.0
    //
    virtual void destroy();
};

//
// IDL:omg.org/CORBA/IDLType:1.0
//
class IDLType : virtual public OBStubImpl_CORBA::IDLType,
                virtual public OBDirectStubImpl_CORBA::IRObject
{
    IDLType(const IDLType&);
    void operator=(const IDLType&);

protected:

#ifdef HAVE_VCPLUSPLUS_BUGS

    IDLType() { }

#endif

    IDLType(PortableServer::POA_ptr,
            const PortableServer::ObjectId&,
            PortableServer::ServantBase*);

    friend class POA_CORBA::IDLType;

public:

    //
    // IDL:omg.org/CORBA/IDLType/type:1.0
    //
    virtual ::CORBA::TypeCode_ptr type();
};

} // End of namespace OBDirectStubImpl_CORBA

#endif
