28 lines
1.0 KiB
C++
Executable File
28 lines
1.0 KiB
C++
Executable File
#include <cdevClientService.h>
|
|
|
|
#ifndef PERFORMANCE_SERVICE_API
|
|
#define PERFORMANCE_SERVICE_API
|
|
#endif
|
|
|
|
// *****************************************************************************
|
|
// * newPerformanceService :
|
|
// * This function will be called by the cdevSystem object to create an
|
|
// * initial instance of the PerformanceService.
|
|
// *****************************************************************************
|
|
extern "C" PERFORMANCE_SERVICE_API cdevService * newPerformanceService ( char * name, cdevSystem * system );
|
|
|
|
// *****************************************************************************
|
|
// * class PerformanceService :
|
|
// * This class simply inherits from the cdevClientService and must define
|
|
// * only a constructor and destructor.
|
|
// *****************************************************************************
|
|
class PerformanceService : public cdevClientService
|
|
{
|
|
public:
|
|
PerformanceService ( char * name, cdevSystem & system = cdevSystem::defaultSystem());
|
|
|
|
protected:
|
|
~PerformanceService ( void );
|
|
|
|
};
|