19 lines
475 B
C++
19 lines
475 B
C++
#ifndef IBLACKBOX_H
|
|
#define IBLACKBOX_H
|
|
|
|
#define BLACKBOX_INTERFACE_VERSION "BlackBoxVersion001"
|
|
|
|
class IBlackBox
|
|
{
|
|
public:
|
|
virtual void Record(int type, const char *fmt) = 0;
|
|
virtual void SetLimit(int type, unsigned int count) = 0;
|
|
virtual const char *Get(int type, unsigned int index) = 0;
|
|
virtual int Count(int type) = 0;
|
|
virtual void Flush(int type) = 0;
|
|
|
|
virtual const char *GetTypeName(int type) = 0;
|
|
virtual int GetTypeCount() = 0;
|
|
};
|
|
|
|
#endif |