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

« back to all changes in this revision

Viewing changes to TAO/tests/Bug_1482_Regression/Hello.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
 
// Hello.h,v 1.2 2003/07/21 23:51:39 dhinton Exp
3
 
//
4
 
 
5
 
#ifndef HELLO_H
6
 
#define HELLO_H
7
 
#include /**/ "ace/pre.h"
8
 
 
9
 
#include "TestS.h"
10
 
 
11
 
#if defined (_MSC_VER)
12
 
# if (_MSC_VER >= 1200)
13
 
#  pragma warning(push)
14
 
# endif /* _MSC_VER >= 1200 */
15
 
# pragma warning (disable:4250)
16
 
#endif /* _MSC_VER */
17
 
 
18
 
/// Implement the Test::Hello interface
19
 
class Hello
20
 
  : public virtual POA_Test::Hello
21
 
  , public virtual PortableServer::RefCountServantBase
22
 
{
23
 
public:
24
 
  /// Constructor
25
 
  Hello (CORBA::ORB_ptr orb);
26
 
 
27
 
  // = The skeleton methods
28
 
  virtual CORBA::ULong next_prime (ACE_ENV_SINGLE_ARG_DECL)
29
 
    ACE_THROW_SPEC ((CORBA::SystemException));
30
 
 
31
 
private:
32
 
  /// Use an ORB reference to conver strings to objects and shutdown
33
 
  /// the application.
34
 
  CORBA::ORB_var orb_;
35
 
 
36
 
  /// Mutex
37
 
  TAO_SYNCH_MUTEX mutex_;
38
 
 
39
 
  /// Latest prime
40
 
  CORBA::ULong latest_prime_;
41
 
};
42
 
 
43
 
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
44
 
# pragma warning(pop)
45
 
#endif /* _MSC_VER */
46
 
 
47
 
#include /**/ "ace/post.h"
48
 
#endif /* HELLO_H */