summaryrefslogtreecommitdiffstats
path: root/other-licenses/7zstub/src/Common/TextConfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'other-licenses/7zstub/src/Common/TextConfig.h')
-rw-r--r--other-licenses/7zstub/src/Common/TextConfig.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/other-licenses/7zstub/src/Common/TextConfig.h b/other-licenses/7zstub/src/Common/TextConfig.h
new file mode 100644
index 000000000..09e65761b
--- /dev/null
+++ b/other-licenses/7zstub/src/Common/TextConfig.h
@@ -0,0 +1,22 @@
+// Common/TextConfig.h
+
+#ifndef __COMMON_TEXTCONFIG_H
+#define __COMMON_TEXTCONFIG_H
+
+#include "Common/Vector.h"
+#include "Common/String.h"
+
+struct CTextConfigPair
+{
+ UString ID;
+ UString String;
+};
+
+bool GetTextConfig(const AString &text, CObjectVector<CTextConfigPair> &pairs);
+
+int FindTextConfigItem(const CObjectVector<CTextConfigPair> &pairs, const UString &id);
+UString GetTextConfigValue(const CObjectVector<CTextConfigPair> &pairs, const UString &id);
+
+#endif
+
+