/*
 *  MICO --- a free CORBA implementation
 *  Copyright (C) 1997-98 Kay Roemer & Arno Puder
 *
 *  This file was automatically generated. DO NOT EDIT!
 */

#if !defined(__TYPES_H__) || defined(MICO_NO_TOPLEVEL_MODULES)
#define __TYPES_H__

#ifndef MICO_NO_TOPLEVEL_MODULES
#include <CORBA.h>
#include <mico/throw.h>
#endif

class Basic_types;
typedef Basic_types *Basic_types_ptr;
typedef Basic_types_ptr Basic_typesRef;
typedef ObjVar<Basic_types> Basic_types_var;
typedef Basic_types_var Basic_types_out;


// Common definitions for interface Basic_types
class Basic_types : virtual public CORBA::Object
{
  public:
    virtual ~Basic_types();
    static Basic_types_ptr _duplicate( Basic_types_ptr obj );
    static Basic_types_ptr _narrow( CORBA::Object_ptr obj );
    static Basic_types_ptr _nil();

    virtual void *_narrow_helper( const char *repoid );
    static vector<CORBA::Narrow_proto> *_narrow_helpers;
    static bool _narrow_helper2( CORBA::Object_ptr obj );

    static const CORBA::Short x1;
    static const CORBA::Long x2;
    static const CORBA::UShort x3;
    static const CORBA::Float x4;
    static const CORBA::Double x5;
    static const CORBA::Char x6;
    static const CORBA::Boolean x7;
    enum currency {
      pound = 0,
      dollar,
      yen,
      franc
    };

    typedef currency& currency_out;

  protected:
    Basic_types() {};
  private:
    Basic_types( const Basic_types& );
    void operator=( const Basic_types& );
};

// Stub for interface Basic_types
class Basic_types_stub:
  virtual public Basic_types
{
  public:
    virtual ~Basic_types_stub();
  private:
    void operator=( const Basic_types_stub& );
};

class Basic_types_skel :
  virtual public StaticMethodDispatcher,
  virtual public Basic_types
{
  public:
    Basic_types_skel( const CORBA::BOA::ReferenceData & = CORBA::BOA::ReferenceData() );
    virtual ~Basic_types_skel();
    Basic_types_skel( CORBA::Object_ptr obj );
    virtual bool dispatch( CORBA::StaticServerRequest_ptr _req, CORBA::Environment &_env );
    Basic_types_ptr _this();

};

#ifndef MICO_CONF_NO_POA

#endif // MICO_CONF_NO_POA

#if !defined(MICO_NO_TOPLEVEL_MODULES) || defined(MICO_MODULE__GLOBAL)

extern CORBA::StaticTypeInfo *_marshaller_Basic_types_currency;
extern CORBA::StaticTypeInfo *_marshaller_Basic_types;
#endif // !defined(MICO_NO_TOPLEVEL_MODULES) || defined(MICO_MODULE__GLOBAL)


#if !defined(MICO_NO_TOPLEVEL_MODULES) && !defined(MICO_IN_GENERATED_CODE)
#include <mico/template_impl.h>
#endif

#endif
