diff options
Diffstat (limited to 'TAO/docs/tutorials/Quoter/Simple/ImprovedServer/Stock_i.h')
-rw-r--r-- | TAO/docs/tutorials/Quoter/Simple/ImprovedServer/Stock_i.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/TAO/docs/tutorials/Quoter/Simple/ImprovedServer/Stock_i.h b/TAO/docs/tutorials/Quoter/Simple/ImprovedServer/Stock_i.h new file mode 100644 index 00000000000..55e0530d057 --- /dev/null +++ b/TAO/docs/tutorials/Quoter/Simple/ImprovedServer/Stock_i.h @@ -0,0 +1,43 @@ +// +// $Id$ +// + +#ifndef TAO_TUTORIAL_QUOTER_SIMPLE_IMPROVEDSERVER_STOCK_I_H +#define TAO_TUTORIAL_QUOTER_SIMPLE_IMPROVEDSERVER_STOCK_I_H + +#include "QuoterS.h" +#include <string> + +#if defined(_MSC_VER) +#pragma warning(push) +#pragma warning(disable:4250) +#endif /* _MSC_VER */ + +class Quoter_Stock_i + : public virtual POA_Quoter::Stock +{ +public: + Quoter_Stock_i (const char *symbol, + const char *full_name, + CORBA::Double price); + + char *symbol () throw (CORBA::SystemException); + char *full_name () throw (CORBA::SystemException); + CORBA::Double price () throw (CORBA::SystemException); + +private: +#if defined (HPUX) && (ACE_HAS_STANDARD_CPP_LIBRARY == 0) + string symbol_; + string full_name_; +#else + std::string symbol_; + std::string full_name_; +#endif /* HPUX */ + CORBA::Double price_; +}; + +#if defined(_MSC_VER) +#pragma warning(pop) +#endif /* _MSC_VER */ + +#endif /* TAO_TUTORIAL_QUOTER_SIMPLE_IMPROVEDSERVER_STOCK_I_H */ |