summaryrefslogtreecommitdiff
path: root/NSCmpts/EncryptData.h
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2003-09-17 19:07:23 +0000
committerStef Walter <stef@thewalter.net>2003-09-17 19:07:23 +0000
commit3f95d417d9e623ac0c74df8ef11d7a01846392dd (patch)
tree45ec73f2dc07eafd7f41a6f62a8cdfbaa279469f /NSCmpts/EncryptData.h
Initial ImportHEADmaster
Diffstat (limited to 'NSCmpts/EncryptData.h')
-rw-r--r--NSCmpts/EncryptData.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/NSCmpts/EncryptData.h b/NSCmpts/EncryptData.h
new file mode 100644
index 0000000..2b39152
--- /dev/null
+++ b/NSCmpts/EncryptData.h
@@ -0,0 +1,47 @@
+// EncryptData.h: interface for the CEncryptData 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 <tchar.h>
+#include <mystring.h>
+
+#include <vector>
+typedef std::vector<string> string_array;
+
+#include <path.h>
+typedef std::vector<file_path> file_array;
+
+#include "../common/cmptdata.h"
+
+#define NS_NO_KEY _T("No Key")
+#define NS_ENCRYPT_REG_EXT _T("Ignore%.4d")
+#define NS_ENCRYPT_REG_SOURCE _T("Path%.4d")
+#define NS_ENCRYPT_REG_DEST _T("Destination")
+#define NS_ENCRYPT_REG_ENGINE _T("Engine")
+
+class CEncryptData
+{
+public:
+ CEncryptData() { };
+
+ // 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_)