LAPTOP-SNT8I5JK\Boounion
2025-07-03 0772ebf16ca95adc77ced8fbe39187bf099b7e7f
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;
};