// BackupData.h: interface for the CBackupData class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_BACKUPDATA_H__00EC1850_A1A5_11D3_82DB_0020182B97FC__INCLUDED_) #define AFX_BACKUPDATA_H__00EC1850_A1A5_11D3_82DB_0020182B97FC__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include #include #include typedef std::vector string_array; #include typedef std::vector file_array; #include "../common/cmptdata.h" #define NS_NO_KEY _T("No Key") #define NS_BACKUP_REG_EXT _T("Ignore%.4d") #define NS_BACKUP_REG_SOURCE _T("Source%.4d") #define NS_BACKUP_REG_DEST _T("Destination") #define NS_BACKUP_REG_ENGINE _T("Engine") class CBackupData { public: CBackupData() { }; // For Filtering and Advanced Property Sheet static UINT LoadExtensions(string_array& asExt, const CPropertyBag& settings); static UINT SaveExtensions(const string_array& asExt, CPropertyBag& settings); // For Backup and Source Property Sheet static UINT LoadSources(file_array& aSources, const CPropertyBag& settings); static UINT SaveSources(const file_array& aSources, CPropertyBag& settings); protected: static UINT m_nExtensions; static UINT m_nSources; }; #endif // !defined(AFX_BACKUPDATA_H__00EC1850_A1A5_11D3_82DB_0020182B97FC__INCLUDED_)