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

« back to all changes in this revision

Viewing changes to TAO/orbsvcs/tests/ImplRepo/airplane_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
 
// -*- C++ -*-
2
 
 
3
 
//=============================================================================
4
 
/**
5
 
 *  @file    airplane_i.h
6
 
 *
7
 
 *  airplane_i.h,v 1.9 2002/01/29 20:20:55 okellogg Exp
8
 
 *
9
 
 *  This class implements a simple CORBA server which returns a random
10
 
 *  paper airplane from the book "Oddballs, Wing-Flappers, & Spinners:
11
 
 *  Great Paper Airplanes" by John Bringhurst.  ISBN: 0-07-067910-X (pbk.)
12
 
 *  An excellent book to have!  I personally recommend getting it just
13
 
 *  for the wing-flappers.
14
 
 *
15
 
 *
16
 
 *  @author Darrell Brunsch <brunsch@cs.wustl.edu>
17
 
 */
18
 
//=============================================================================
19
 
 
20
 
 
21
 
#if !defined (AIRPLANE_I_H)
22
 
#define AIRPLANE_I_H
23
 
 
24
 
#include "AirplaneS.h"
25
 
 
26
 
// Forward declarations.
27
 
class Airplane_i;
28
 
 
29
 
// Typedefs.
30
 
typedef Airplane_i *Airplane_i_ptr;
31
 
typedef Airplane_i_ptr Airplane_i_ref;
32
 
 
33
 
/**
34
 
 * @class Airplane_i:
35
 
 *
36
 
 * @brief Paper Airplane Server Implementation
37
 
 *
38
 
 * This server has one method that returns the featured paper airplane
39
 
 * at this moment (in other words, a random airplane).
40
 
 */
41
 
class Airplane_i: public POA_Paper_Airplane_Server
42
 
{
43
 
public:
44
 
  /// Constructor
45
 
  Airplane_i ();
46
 
 
47
 
  /// Destructor
48
 
  ~Airplane_i (void);
49
 
 
50
 
  /// Returns a random plane.
51
 
  virtual char *get_plane (ACE_ENV_SINGLE_ARG_DECL)
52
 
    ACE_THROW_SPEC ((CORBA::SystemException));
53
 
};
54
 
 
55
 
#endif /* AIRPLANE_I_H */