// **********************************************************************
//
// 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_Logger_h__
#define __OB_Logger_h__

#ifndef OB_IMPORT
#   ifdef OB_DLL
#      define OB_IMPORT __declspec(dllimport)
#   else
#      define OB_IMPORT /**/
#   endif
#endif


#include <OB/Logger_fwd.h>

#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 OBStubImpl_OB
{

} // End of namespace OBStubImpl_OB

namespace OBStubImpl_OB
{

} // End of namespace OBStubImpl_OB

//
// IDL:ooc.com/OB:1.0
//
namespace OB
{

//
// IDL:ooc.com/OB/Logger:1.0
//
class Logger : virtual public ::CORBA::Object
{
    Logger(const Logger&);
    void operator=(const Logger&);

protected:

    static OB_IMPORT const char* ids_[];

public:

    Logger() { }
    virtual ~Logger() { }

    typedef Logger_ptr _ptr_type;
    typedef Logger_var _var_type;

    static inline Logger_ptr
    _duplicate(Logger_ptr p)
    {
        if(p)
            p -> _add_ref();
        return p;
    }

    static inline Logger_ptr
    _nil()
    {
        return 0;
    }

    static Logger_ptr _narrow(::CORBA::Object_ptr);

    static Logger_ptr _narrow(::CORBA::AbstractBase_ptr);


    //
    // IDL:ooc.com/OB/Logger/info:1.0
    //
    virtual void info(const char* msg) = 0;

    //
    // IDL:ooc.com/OB/Logger/error:1.0
    //
    virtual void error(const char* msg) = 0;

    //
    // IDL:ooc.com/OB/Logger/warning:1.0
    //
    virtual void warning(const char* msg) = 0;

    //
    // IDL:ooc.com/OB/Logger/trace:1.0
    //
    virtual void trace(const char* category,
                       const char* msg) = 0;
};

//
// IDL:ooc.com/OB/WLogger:1.0
//
class WLogger : virtual public ::OB::Logger
{
    WLogger(const WLogger&);
    void operator=(const WLogger&);

protected:

    static OB_IMPORT const char* ids_[];

public:

    WLogger() { }
    virtual ~WLogger() { }

    typedef WLogger_ptr _ptr_type;
    typedef WLogger_var _var_type;

    static inline WLogger_ptr
    _duplicate(WLogger_ptr p)
    {
        if(p)
            p -> _add_ref();
        return p;
    }

    static inline WLogger_ptr
    _nil()
    {
        return 0;
    }

    static WLogger_ptr _narrow(::CORBA::Object_ptr);

    static WLogger_ptr _narrow(::CORBA::AbstractBase_ptr);


    //
    // IDL:ooc.com/OB/WLogger/winfo:1.0
    //
    virtual void winfo(const ::CORBA::WChar* msg) = 0;

    //
    // IDL:ooc.com/OB/WLogger/werror:1.0
    //
    virtual void werror(const ::CORBA::WChar* msg) = 0;

    //
    // IDL:ooc.com/OB/WLogger/wwarning:1.0
    //
    virtual void wwarning(const ::CORBA::WChar* msg) = 0;

    //
    // IDL:ooc.com/OB/WLogger/wtrace:1.0
    //
    virtual void wtrace(const ::CORBA::WChar* category,
                        const ::CORBA::WChar* msg) = 0;
};

} // End of namespace OB

//
// IDL:ooc.com/OB:1.0
//
namespace OBProxy_OB
{

} // End of namespace OBProxy_OB

//
// IDL:ooc.com/OB:1.0
//
namespace OBStubImpl_OB
{

} // End of namespace OBStubImpl_OB

//
// IDL:ooc.com/OB:1.0
//
namespace OBMarshalStubImpl_OB
{

} // End of namespace OBMarshalStubImpl_OB

//
// IDL:ooc.com/OB:1.0
//
namespace OBV_OB
{

} // End of namespace OBV_OB

//
// IDL:ooc.com/OB/Logger:1.0
//
namespace CORBA
{

inline void
release(::OB::Logger_ptr p)
{
    if(p)
        p -> _remove_ref();
}

inline Boolean
is_nil(::OB::Logger_ptr p)
{
    return p == 0;
}

} // End of namespace CORBA

//
// IDL:ooc.com/OB/WLogger:1.0
//
namespace CORBA
{

inline void
release(::OB::WLogger_ptr p)
{
    if(p)
        p -> _remove_ref();
}

inline Boolean
is_nil(::OB::WLogger_ptr p)
{
    return p == 0;
}

} // End of namespace CORBA

#endif
