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

« back to all changes in this revision

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