2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CCALLSTACK
|
|
|
|
#define _CCALLSTACK
|
2022-09-20 04:35:24 +00:00
|
|
|
|
2022-10-14 15:46:40 +00:00
|
|
|
#include <types.h>
|
|
|
|
|
2022-09-20 04:35:24 +00:00
|
|
|
class CCallStack {
|
|
|
|
public:
|
2022-10-14 15:46:40 +00:00
|
|
|
CCallStack(uint lineNum, const char* lineStr, const char* type = "UnknownType");
|
2022-09-20 04:35:24 +00:00
|
|
|
|
|
|
|
const char* GetFileAndLineText() const;
|
|
|
|
const char* GetTypeText() const;
|
2022-10-14 15:46:40 +00:00
|
|
|
|
2022-09-20 04:35:24 +00:00
|
|
|
private:
|
|
|
|
const char* x0_line;
|
|
|
|
const char* x4_type;
|
|
|
|
};
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _CCALLSTACK
|