1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #pragma once
- #include "RptParamFile.h"
- namespace OTSMODEL
- {
- class __declspec(dllexport) CRptParamFileMgr
- {
- public:
- CRptParamFileMgr();
- ~CRptParamFileMgr();
- BOOL Save(OTS_SOFT_PACKAGE_ID a_nPackId);
- BOOL Load(OTS_SOFT_PACKAGE_ID a_nPackId);
- // Report param file pointer
- CRptParamFilePtr GetRptParamFile() { return m_poRptParamFile; }
- void SetRptParamFile(CRptParamFilePtr);
- // file pathname
- CString GetPathName() { return m_strPathName; }
- void SetPathName(CString a_strPathName) { m_strPathName = a_strPathName; }
- protected:
- // Report param file pointer
- CRptParamFilePtr m_poRptParamFile;
- // file pathname
- CString m_strPathName;
- // create
- BOOL Create(OTS_SOFT_PACKAGE_ID a_nPackId);
- void Init();
- };
- typedef std::shared_ptr<CRptParamFileMgr> __declspec(dllexport) CRptParamFileMgrPtr;
- }
|