mrDarker
2025-06-26 adf46e4da2f53d171cc5a0e95340d751ebacf763
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;
};