You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.5 KiB
C

#pragma once
#include "GlobalDefine.h"
#include "EnumPropertieType.h"
class CModule;
//ģ<><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
class CPropertie
{
friend class CPropertieMgr;
public:
CPropertie();
~CPropertie();
void SetpVal(void *pVal){m_pVal = pVal;};
void SetType(PROPERTIE_TYPE Type){m_Type = Type;};
void SetpModule(CModule *pModule){m_pModule = pModule;};
void SetName(CString &Name){m_Name = Name;};
void SetPath(CString &Path){m_Path = Path;};
void SetGroupName(CString &s){m_GroupName = s;};
void SetShowName(CString &s){m_ShowName = s;};
void SetModuleName(CString &s){m_ModuleName = s;};
void PropertyChangeVal(const COleVariant &OleVar);
void WriteRead(bool bRead);
CString GetPropertieName(){return m_Name;};
void WriteToStream(ofstream &FileStream);
private:
void WriteToFile(CString &FileName);
void ReadFromFile(CString &FileName);
private:
void * m_pVal;//<2F><><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>ַ
PROPERTIE_TYPE m_Type;//<2F><><EFBFBD>Ե<EFBFBD><D4B5><EFBFBD><EFBFBD><EFBFBD>
CModule* m_pModule;//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĵ<EFBFBD>ַ
CString m_Path;//<2F>洢·<E6B4A2><C2B7>
CString m_Name;//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
CString m_ModuleName;//ģ<><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
CString m_GroupName;//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
CString m_ShowName;//<2F><>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
};