diff options
Diffstat (limited to 'TAO/examples/Simple/bank/Account_i.h')
-rw-r--r-- | TAO/examples/Simple/bank/Account_i.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/TAO/examples/Simple/bank/Account_i.h b/TAO/examples/Simple/bank/Account_i.h index 1190a811220..657a53f1156 100644 --- a/TAO/examples/Simple/bank/Account_i.h +++ b/TAO/examples/Simple/bank/Account_i.h @@ -42,27 +42,24 @@ public: ~Account_i (void); // Destructor. - virtual CORBA::Float balance (ACE_ENV_SINGLE_ARG_DECL) + virtual CORBA::Float balance (void) ACE_THROW_SPEC ((CORBA::SystemException)); // Get the current balance in the account. - virtual char *name (ACE_ENV_SINGLE_ARG_DECL) + virtual char *name (void) ACE_THROW_SPEC ((CORBA::SystemException)); // Get the name of the <Account> holder. - virtual void name (const char *name - ACE_ENV_ARG_DECL) + virtual void name (const char *name) ACE_THROW_SPEC ((CORBA::SystemException)); // Set the name of the <Account> holder. - virtual void deposit (CORBA::Float - ACE_ENV_ARG_DECL) + virtual void deposit (CORBA::Float) ACE_THROW_SPEC ((CORBA::SystemException)); // Deposit money in the account. - virtual void withdraw (CORBA::Float - ACE_ENV_ARG_DECL) + virtual void withdraw (CORBA::Float) ACE_THROW_SPEC ((CORBA::SystemException, Bank::Account::Overdraft)); // Withdraw money in the account. |