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 #ifndef NOMINMAX
00005 # define NOMINMAX
00006 #endif
00007 #include <windef.h>   // for WINAPI
00008 
00009 
00010 #include <cppunit/Test.h>
00011 
00027 class TestPlugInInterface
00028 {
00029 public:
00030   virtual ~TestPlugInInterface() {}
00031 
00037   virtual CppUnit::Test *makeTest() =0;
00038 };
00039 
00040 typedef TestPlugInInterface* (WINAPI *GetTestPlugInInterfaceFunction)(void);
00041 
00042 
00043 extern "C" {
00044   __declspec(dllexport) TestPlugInInterface *GetTestPlugInInterface();
00045 }
00046 
00047 #endif // CPPUNIT_TESTPLUGINRUNNER_TESTPLUGININTERFACE_H

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