Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / Shared_Object.h
blob230bdad40da48038142b798d77c07dcebc80de97
1 // -*- C++ -*-
3 //==========================================================================
4 /**
5 * @file Shared_Object.h
7 * @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu>
8 */
9 //==========================================================================
11 #ifndef ACE_SHARED_OBJECT_H
12 #define ACE_SHARED_OBJECT_H
14 #include /**/ "ace/pre.h"
16 #include /**/ "ace/ACE_export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 # pragma once
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "ace/os_include/sys/os_types.h"
24 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
26 /**
27 * @class ACE_Shared_Object
29 * @brief Provide the abstract base class used to access dynamic
30 * linking facilities.
32 class ACE_Export ACE_Shared_Object
34 public:
35 /// Constructor
36 ACE_Shared_Object ();
38 /// Destructor
39 virtual ~ACE_Shared_Object ();
41 /// Initializes object when dynamic linking occurs.
42 virtual int init (int argc, ACE_TCHAR *argv[]);
44 /// Terminates object when dynamic unlinking occurs.
45 virtual int fini ();
47 /// Returns information on a service object.
48 virtual int info (ACE_TCHAR **info_string, size_t length = 0) const;
51 ACE_END_VERSIONED_NAMESPACE_DECL
53 #if defined (__ACE_INLINE__)
54 #include "ace/Shared_Object.inl"
55 #endif /* __ACE_INLINE__ */
57 #include /**/ "ace/post.h"
59 #endif /* ACE_SHARED_OBJECT_H */