summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_3547_Regression/Stock_Quoter_i.h
blob: fc0320bcc739e60660e545ca1956f8b21d761abe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// $Id$

#ifndef Stock_Quoter_i_h
#define Stock_Quoter_i_h

#include "Stock_QuoterS.h"

// This class provides the implementation for Stock_Quoter interface.
class Stock_Quoter_i : public virtual POA_Stock_Quoter
{
public:
   Stock_Quoter_i (CORBA::ORB_ptr orb);
   virtual ~Stock_Quoter_i ();

   CORBA::Float get_quote (const char* stock_id);

  virtual void shutdown (void);

private:
  /// Use an ORB reference to conver strings to objects and shutdown
  /// the application.
  CORBA::ORB_var orb_;
};

#endif /* Stock_Quoter_i_h */