3 // ================================================================
7 * @author Kirthika Parameswaran <kirthika@cs.wustl.edu>
9 // ================================================================
12 #ifndef ACE_TESTS_DLL_TEST_H
13 #define ACE_TESTS_DLL_TEST_H
15 #include "DLL_Test_Parent.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "ace/Log_Msg.h"
22 #include "ace/Trace.h"
23 #include "ace/svc_export.h"
28 * @brief Define the interface used by the DLL_Test
36 ACE_TRACE ("Hello::~Hello");
40 * @name Methods invoked by the test
42 * The test invokes four methods, a non-virtual method and a three virtual
43 * methods implemented in the shared library.
49 ACE_TEXT ("Hello\n")));
52 virtual void say_next (void) = 0;
54 virtual ACE_TCHAR
*new_info (void) = 0;
56 virtual ACE_TCHAR
*malloc_info (void) = 0;
61 // Used to test dynamic_cast<> in shared libraries.
62 class ACE_Svc_Export Child
: public Parent
67 virtual ~Child (void);
69 virtual void test (void);
73 #endif /* ACE_TESTS_DLL_TEST_H */