summaryrefslogtreecommitdiff
path: root/ACE/ace/Dynamic_Service.inl
blob: 48978c595ed9481a4a4de816cb417600a180d9ec (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
// -*- C++ -*-
//
// $Id$

ACE_BEGIN_VERSIONED_NAMESPACE_DECL

#if defined (ACE_USES_WCHAR)

template <class TYPE> ACE_INLINE TYPE *
ACE_Dynamic_Service<TYPE>::instance (const ACE_ANTI_TCHAR *name)
{
  return instance (ACE_TEXT_CHAR_TO_TCHAR (name),false);
}

template <class TYPE> ACE_INLINE TYPE *
ACE_Dynamic_Service<TYPE>::instance (const ACE_ANTI_TCHAR *name,
                                     bool no_global)
{
  return instance (ACE_TEXT_CHAR_TO_TCHAR (name),no_global);
}

template <class TYPE> ACE_INLINE TYPE *
ACE_Dynamic_Service<TYPE>::instance (const ACE_Service_Gestalt* repo,
                                     const ACE_ANTI_TCHAR *name)
{
  return instance (repo, ACE_TEXT_CHAR_TO_TCHAR (name),false);
}

template <class TYPE> ACE_INLINE TYPE *
ACE_Dynamic_Service<TYPE>::instance (const ACE_Service_Gestalt* repo,
                                     const ACE_ANTI_TCHAR *name,
                                     bool no_global)
{
  return instance (repo, ACE_TEXT_CHAR_TO_TCHAR (name),no_global);
}


#endif  // ACE_USES_WCHAR

ACE_END_VERSIONED_NAMESPACE_DECL