mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-23 01:59:43 +08:00
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 |