mrDarker
2025-09-01 50a7ce646dfe6bd0e20c4a2243f845fe94f53e8b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once
#include <string>
#include "Context.h"
 
class CIntent
{
public:
    CIntent();
    CIntent(int nCode, const char* pszMsg, CContext* pContext);
    ~CIntent();
 
public:
    void setCode(int nCode);
    int getCode();
    void setMsg(const char* pszMsg);
    const char* getMsg();
    void setContext(CContext* pContext);
    CContext* getContext();
 
private:
    int m_nCode;
    std::string m_strMsg;
    CContext* m_pContext;
};