#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 __declspec(dllexport) CRptParamFileMgrPtr; }