blob: d19a488f8d9593b8c69a00957f2e974cb75d20b3 (
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
48
49
50
51
52
53
54
|
// $Id$
// ============================================================================
//
// = LIBRARY
// tests
//
// = FILENAME
// DLL_Test.h
//
// = DESCRIPTION
// This file has the class definitions needed for template generation in
// DLL_Test.cpp. They have to be in a separate file so AIX xlC can
// find them at auto-instantiate time.
//
// = AUTHOR
// Kirthika Parameswaran <kirthika@cs.wustl.edu>
//
// ============================================================================
#ifndef ACE_TESTS_DLL_TEST_H
#define ACE_TESTS_DLL_TEST_H
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "ace/Log_Msg.h"
class Hello
{
// = TITLE
// The Hello class in the dynamically linkable library.
//
// = DESCRIPTION
// This class is used in this example to show how a library can
// be loaded on demand and its methods called on getting the
// symbols from the library.
public:
void say_hello (void)
{
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("Hello\n")));
}
void say_next (void)
{
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("How are you?\n")));
}
};
#endif /* ACE_TESTS_MAP_TEST_H */
|