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

« back to all changes in this revision

Viewing changes to TAO/orbsvcs/orbsvcs/PortableGroup/PortableGroup_Loader.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     PortableGroup_Loader.h
6
 
 *
7
 
 *  PortableGroup_Loader.h,v 1.8 2003/12/22 01:44:38 wilson_d Exp
8
 
 *
9
 
 *  Loads and initializes the PortableGroup extensions to TAO.
10
 
 *
11
 
 *  @author Frank Hunleth <fhunleth@cs.wustl.edu>
12
 
 */
13
 
//=============================================================================
14
 
 
15
 
#ifndef TAO_PORTABLEGROUP_LOADER_H
16
 
#define TAO_PORTABLEGROUP_LOADER_H
17
 
 
18
 
#include /**/ "ace/pre.h"
19
 
#include "ace/Service_Config.h"
20
 
 
21
 
#if !defined (ACE_LACKS_PRAGMA_ONCE)
22
 
# pragma once
23
 
#endif /* ACE_LACKS_PRAGMA_ONCE */
24
 
 
25
 
#include "ace/Service_Object.h"
26
 
 
27
 
#include "portablegroup_export.h"
28
 
 
29
 
/**
30
 
 * @class TAO_PortableGroup_Adapter
31
 
 *
32
 
 * @brief TAO_PortableGroup_Adapter.
33
 
 *
34
 
 * This class acts as a facade for the PortableGroup library to the
35
 
 * ORB.
36
 
 */
37
 
class TAO_PortableGroup_Export TAO_PortableGroup_Loader
38
 
  : public ACE_Service_Object
39
 
{
40
 
  friend class TAO_POA_Hooks;
41
 
 
42
 
public:
43
 
  /// Constructor.
44
 
  TAO_PortableGroup_Loader (void);
45
 
 
46
 
  /// Initialize the PortableGroup loader hooks.
47
 
  virtual int init (int argc,
48
 
                    char *[]);
49
 
 
50
 
  /// Used to force the initialization of the ORB code.
51
 
  static int Initializer (void);
52
 
};
53
 
 
54
 
ACE_STATIC_SVC_DECLARE (TAO_PortableGroup_Loader)
55
 
ACE_FACTORY_DECLARE (TAO_PortableGroup, TAO_PortableGroup_Loader)
56
 
 
57
 
#if defined(ACE_HAS_BROKEN_STATIC_CONSTRUCTORS)
58
 
 
59
 
typedef int (*TAO_Module_Initializer) (void);
60
 
 
61
 
static TAO_Module_Initializer
62
 
TAO_Requires_PortableGroup_Initializer =
63
 
  &TAO_PortableGroup_Loader::Initializer;
64
 
 
65
 
#else
66
 
 
67
 
static int
68
 
TAO_Requires_PortableGroup_Initializer = 
69
 
  TAO_PortableGroup_Loader::Initializer ();
70
 
 
71
 
#endif /* ACE_HAS_BROKEN_STATIC_CONSTRUCTORS */
72
 
 
73
 
#include /**/ "ace/post.h"
74
 
 
75
 
#endif /* TAO_PORTABLEGROUP_LOADER_H */