summaryrefslogtreecommitdiff
path: root/TAO/tao/Codeset_Descriptor_Base.h
blob: 4d2e4eda074d295c84da753f25f6536e88b785ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// -*- C++ -*-

//=============================================================================
/**
 *  @file   Codeset_Descriptor_Base.h
 *
 *  @author Phil Mesnier
 */
//=============================================================================

#ifndef TAO_CODESET_DESCRIPTOR_BASE_H
#define TAO_CODESET_DESCRIPTOR_BASE_H

#include /**/ "ace/pre.h"

#include /**/ "tao/TAO_Export.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#include /**/ "tao/Versioned_Namespace.h"

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

/**
 * TAO_Codeset_Descriptor_Base describes the necessary interface for
 * Objects within libTAO to be able to supply information to the codeset
 * subsystem, as required.
 *
 * This class also serves as a default implementation when codeset support
 * is not linked in.
 */
class TAO_Export TAO_Codeset_Descriptor_Base
{
public:
  virtual ~TAO_Codeset_Descriptor_Base ();

  virtual void ncs (const ACE_TCHAR *name) = 0;
  virtual void add_translator (const ACE_TCHAR *name) = 0;
};

TAO_END_VERSIONED_NAMESPACE_DECL

#include /**/ "ace/post.h"

#endif /* TAO_CODESET_DESCRIPTOR_BASE_H */