2016-02-13 09:02:47 +00:00
|
|
|
#ifndef __PSHAG_CCALLSTACK_HPP__
|
|
|
|
#define __PSHAG_CCALLSTACK_HPP__
|
2015-08-23 18:53:43 +00:00
|
|
|
|
2016-02-13 09:02:47 +00:00
|
|
|
namespace pshag
|
2015-08-23 18:53:43 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
class CCallStack
|
|
|
|
{
|
|
|
|
const char* x0_fileAndLineStr;
|
|
|
|
const char* x4_typeStr;
|
|
|
|
public:
|
|
|
|
CCallStack(char const* fileAndLineStr, char const* typeStr)
|
|
|
|
: x0_fileAndLineStr(fileAndLineStr), x4_typeStr(typeStr) {}
|
|
|
|
const char* GetFileAndLineText() const {return x0_fileAndLineStr;}
|
|
|
|
const char* GetTypeText() const {return x4_typeStr;}
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-02-13 09:02:47 +00:00
|
|
|
#endif // __PSHAG_CCALLSTACK_HPP__
|