MICO
/* * MICO --- an Open Source CORBA implementation * Copyright (c) 1997-2001 by The Mico Team * * This file was automatically generated. DO NOT EDIT! */ #include <CORBA.h> #include <mico/throw.h> #ifndef __ACCOUNT_H__ #define __ACCOUNT_H__ class Account; typedef Account *Account_ptr; typedef Account_ptr AccountRef; typedef ObjVar<Account> Account_var; typedef ObjOut<Account> Account_out; /* * Base class and common definitions for interface Account */ class Account : virtual public CORBA::Object { public: virtual ~Account(); #ifdef HAVE_TYPEDEF_OVERLOAD typedef Account_ptr _ptr_type; typedef Account_var _var_type; #endif static Account_ptr _narrow( CORBA::Object_ptr obj ); static Account_ptr _narrow( CORBA::AbstractBase_ptr obj ); static Account_ptr _duplicate( Account_ptr _obj ) { CORBA::Object::_duplicate (_obj); return _obj; } static Account_ptr _nil() { return 0; } virtual void *_narrow_helper( const char *repoid ); virtual void deposit( CORBA::ULong amount ) = 0; virtual void withdraw( CORBA::ULong amount ) = 0; virtual CORBA::Long balance() = 0; protected: Account() {}; private: Account( const Account& ); void operator=( const Account& ); }; // Stub for interface Account class Account_stub: virtual public Account { public: virtual ~Account_stub(); void deposit( CORBA::ULong amount ); void withdraw( CORBA::ULong amount ); CORBA::Long balance(); private: void operator=( const Account_stub& ); }; class Account_skel : virtual public StaticMethodDispatcher, virtual public Account { public: Account_skel( const CORBA::BOA::ReferenceData & = CORBA::BOA::ReferenceData() ); virtual ~Account_skel(); Account_skel( CORBA::Object_ptr obj ); virtual bool dispatch( CORBA::StaticServerRequest_ptr __req, CORBA::Environment &_env ); Account_ptr _this(); }; #ifndef MICO_CONF_NO_POA #endif // MICO_CONF_NO_POA extern CORBA::StaticTypeInfo *_marshaller_Account; #endif
3 of 8