/* * MICO --- a free CORBA implementation * Copyright (C) 1997-98 Kay Roemer & Arno Puder * * This file was automatically generated. DO NOT EDIT! */ #if !defined(__ACCOUNT_H__) || defined(MICO_NO_TOPLEVEL_MODULES) #define __ACCOUNT_H__ #ifndef MICO_NO_TOPLEVEL_MODULES #include #ifdef HAVE_EXCEPTIONS #undef HAVE_EXCEPTIONS #include #define HAVE_EXCEPTIONS 1 #else #include #endif #endif class Account; typedef Account *Account_ptr; typedef Account_ptr AccountRef; typedef ObjVar Account_var; typedef Account_var Account_out; // Common definitions for interface Account class Account : virtual public CORBA::Object { public: virtual ~Account(); static Account_ptr _duplicate( Account_ptr obj ); static Account_ptr _narrow( CORBA::Object_ptr obj ); static Account_ptr _nil(); virtual void *_narrow_helper( const char *repoid ); static vector *_narrow_helpers; static bool _narrow_helper2( CORBA::Object_ptr obj ); 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& ); }; extern CORBA::TypeCodeConst _tc_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 MethodDispatcher, 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::ServerRequest_ptr _req, CORBA::Environment &_env ); Account_ptr _this(); }; #if !defined(MICO_NO_TOPLEVEL_MODULES) || defined(MICO_MODULE__GLOBAL) CORBA::Boolean operator<<=( CORBA::Any &a, const Account_ptr obj ); CORBA::Boolean operator>>=( const CORBA::Any &a, Account_ptr &obj ); #endif // !defined(MICO_NO_TOPLEVEL_MODULES) || defined(MICO_MODULE__GLOBAL) #if !defined(MICO_NO_TOPLEVEL_MODULES) && !defined(MICO_IN_GENERATED_CODE) #include #endif #endif