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

« back to all changes in this revision

Viewing changes to TAO/tests/Portable_Interceptors/Service_Context_Manipulation/Client_ORBInitializer.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
 
// Client_ORBInitializer.h,v 1.4 2003/10/28 18:30:58 bala Exp
4
 
//
5
 
 
6
 
#ifndef TAO_CLIENT_ORB_INITIALIZER_H
7
 
#define TAO_CLIENT_ORB_INITIALIZER_H
8
 
#include /**/ "ace/pre.h"
9
 
 
10
 
#include "tao/PortableInterceptorC.h"
11
 
 
12
 
#if !defined (ACE_LACKS_PRAGMA_ONCE)
13
 
# pragma once
14
 
#endif /* ACE_LACKS_PRAGMA_ONCE */
15
 
 
16
 
#include "tao/LocalObject.h"
17
 
 
18
 
// This is to remove "inherits via dominance" warnings from MSVC.
19
 
// MSVC is being a little too paranoid.
20
 
#if defined(_MSC_VER)
21
 
#if (_MSC_VER >= 1200)
22
 
#pragma warning(push)
23
 
#endif /* _MSC_VER >= 1200 */
24
 
#pragma warning(disable:4250)
25
 
#endif /* _MSC_VER */
26
 
 
27
 
/// Client ORB initializer.
28
 
class Client_ORBInitializer :
29
 
  public virtual PortableInterceptor::ORBInitializer,
30
 
  public virtual TAO_Local_RefCounted_Object
31
 
{
32
 
public:
33
 
  /// Constructor
34
 
  Client_ORBInitializer (void);
35
 
 
36
 
  virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info
37
 
                         ACE_ENV_ARG_DECL_WITH_DEFAULTS)
38
 
    ACE_THROW_SPEC ((CORBA::SystemException));
39
 
 
40
 
  virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info
41
 
                          ACE_ENV_ARG_DECL_WITH_DEFAULTS)
42
 
    ACE_THROW_SPEC ((CORBA::SystemException));
43
 
};
44
 
 
45
 
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
46
 
#pragma warning(pop)
47
 
#endif /* _MSC_VER */
48
 
 
49
 
#include /**/ "ace/post.h"
50
 
#endif /* TAO_CLIENT_ORB_INITIALIZER_H */