CppUnit project page FAQ CppUnit home page

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

TestPlugInInterface.h

Go to the documentation of this file.
00001 #ifndef CPPUNIT_TESTPLUGINRUNNER_TESTPLUGININTERFACE_H
00002 #define CPPUNIT_TESTPLUGINRUNNER_TESTPLUGININTERFACE_H
00003 
00004 #include <cppunit/Test.h>
00005 #include <cppunit/TestSuite.h>
00006 
00007 #if !defined(WINAPI)
00008 #define WIN32_LEAN_AND_MEAN 
00009 #define NOGDI
00010 #define NOUSER
00011 #define NOKERNEL
00012 #define NOSOUND
00013 #define NOMINMAX
00014 #include <windows.h>
00015 #endif
00016 
00033 class TestPlugInInterface
00034 {
00035 public:
00036   virtual ~TestPlugInInterface() {}
00037 
00043   virtual CppUnit::Test *makeTest() =0;
00044 };
00045 
00046 typedef TestPlugInInterface* (WINAPI *GetTestPlugInInterfaceFunction)(void);
00047 
00048 
00049 extern "C" {
00050   __declspec(dllexport) TestPlugInInterface *GetTestPlugInInterface();
00051 }
00052 
00053 
00054 
00055 #endif // CPPUNIT_TESTPLUGINRUNNER_TESTPLUGININTERFACE_H

SourceForge Logo hosts this site. Send comments to:
CppUnit Developers