Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / docs / tutorials / Quoter / AMI / Stock_i.h
blob8036ce54dec52a4afcd2005d4de689873a1bda50
2 #ifndef TAO_TUTORIAL_QUOTER_SIMPLE_SERVER_STOCK_I_H
3 #define TAO_TUTORIAL_QUOTER_SIMPLE_SERVER_STOCK_I_H
5 #include "QuoterS.h"
6 #include <string>
8 class Quoter_Stock_i : public POA_Quoter::Single_Query_Stock {
9 public:
10 Quoter_Stock_i (const char *symbol,
11 const char *full_name,
12 CORBA::Double price);
14 char *symbol ();
15 char *full_name ();
16 CORBA::Double price ();
17 CORBA::Double get_price_and_names (CORBA::String_out symbol,
18 CORBA::String_out full_name);
20 private:
21 std::string symbol_;
22 std::string full_name_;
23 CORBA::Double price_;
26 #endif /* TAO_TUTORIAL_QUOTER_SIMPLE_SERVER_STOCK_I_H */