cdev-1.7.2n
This commit is contained in:
13
extensions/SimpleService/example/SampleService.h
Executable file
13
extensions/SimpleService/example/SampleService.h
Executable file
@@ -0,0 +1,13 @@
|
||||
#include <cdevSimpleService.h>
|
||||
|
||||
extern "C" cdevService *newSampleService ( char * name, cdevSystem * system );
|
||||
|
||||
class SampleService : public cdevSimpleService
|
||||
{
|
||||
int var;
|
||||
|
||||
public:
|
||||
SampleService ( char * name, cdevSystem & system );
|
||||
virtual ~SampleService ( void );
|
||||
virtual void handleOneEvent( void );
|
||||
};
|
||||
Reference in New Issue
Block a user