aboutsummaryrefslogtreecommitdiff
path: root/CPP/Common/TextConfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/Common/TextConfig.h')
-rw-r--r--CPP/Common/TextConfig.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/CPP/Common/TextConfig.h b/CPP/Common/TextConfig.h
new file mode 100644
index 0000000..9281fcf
--- /dev/null
+++ b/CPP/Common/TextConfig.h
@@ -0,0 +1,21 @@
+// Common/TextConfig.h
+
+#ifndef __COMMON_TEXT_CONFIG_H
+#define __COMMON_TEXT_CONFIG_H
+
+#include "MyString.h"
+
+struct CTextConfigPair
+{
+ UString ID;
+ UString String;
+};
+
+bool GetTextConfig(const AString &text, CObjectVector<CTextConfigPair> &pairs);
+
+int FindTextConfigItem(const CObjectVector<CTextConfigPair> &pairs, const UString &id) throw();
+UString GetTextConfigValue(const CObjectVector<CTextConfigPair> &pairs, const UString &id);
+
+#endif
+
+