~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to TAO/docs/tutorials/Quoter/Simple/Server/Stock_i.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//
2
 
// Stock_i.h,v 1.4 2001/11/05 19:13:41 elliott_c Exp
3
 
//
4
 
 
5
 
#ifndef TAO_TUTORIAL_QUOTER_SIMPLE_SERVER_STOCK_I_H
6
 
#define TAO_TUTORIAL_QUOTER_SIMPLE_SERVER_STOCK_I_H
7
 
 
8
 
#include "QuoterS.h"
9
 
#include <string>
10
 
 
11
 
class Quoter_Stock_i : public POA_Quoter::Stock {
12
 
public:
13
 
  Quoter_Stock_i (const char *symbol,
14
 
                  const char *full_name,
15
 
                  CORBA::Double price);
16
 
 
17
 
  char *symbol () throw (CORBA::SystemException);
18
 
  char *full_name () throw (CORBA::SystemException);
19
 
  CORBA::Double price () throw (CORBA::SystemException);
20
 
 
21
 
private:
22
 
#if defined (HPUX) && (ACE_HAS_STANDARD_CPP_LIBRARY == 0)
23
 
  string symbol_;
24
 
  string full_name_;
25
 
#else
26
 
  std::string symbol_;
27
 
  std::string full_name_;
28
 
#endif /* HPUX */
29
 
  CORBA::Double price_;
30
 
};
31
 
 
32
 
#endif /* TAO_TUTORIAL_QUOTER_SIMPLE_SERVER_STOCK_I_H */
33
 
 
34