18 lines
410 B
C++
Executable File
18 lines
410 B
C++
Executable File
#include <TestService.h>
|
|
|
|
extern "C" cdevService * newTestService ( char * name, cdevSystem * system )
|
|
{
|
|
return new TestService(name, *system);
|
|
}
|
|
|
|
TestService::TestService ( char * name, cdevSystem & system)
|
|
: cdevClientService("TEST", name, system)
|
|
{
|
|
system.reportError(CDEV_SEVERITY_INFO, "TestService", NULL,
|
|
"Constructing a new TestService");
|
|
}
|
|
|
|
TestService::~TestService ( void )
|
|
{
|
|
}
|