summaryrefslogtreecommitdiff
path: root/transex3/inc/treeconfig.hxx
diff options
context:
space:
mode:
authorBjoern Michaelsen <b_michaelsen@openoffice.org>2010-01-22 14:49:55 +0100
committerBjoern Michaelsen <b_michaelsen@openoffice.org>2010-01-22 14:49:55 +0100
commita1d57594cffc6d93bb637247a74c86f138b8ffc5 (patch)
tree3c6473872ecaeac1ce5138a4f06a800372219e83 /transex3/inc/treeconfig.hxx
parentd919fae167e345762843da3e50054963dcc5cf45 (diff)
parent8765a3bf9f2926a50d0f644e4263782269abe023 (diff)
cbosdo02: merging changesets up to DEV300_m69
Diffstat (limited to 'transex3/inc/treeconfig.hxx')
-rw-r--r--transex3/inc/treeconfig.hxx28
1 files changed, 28 insertions, 0 deletions
diff --git a/transex3/inc/treeconfig.hxx b/transex3/inc/treeconfig.hxx
new file mode 100644
index 000000000000..96d693b0d376
--- /dev/null
+++ b/transex3/inc/treeconfig.hxx
@@ -0,0 +1,28 @@
+#include <vector>
+#include <string>
+
+#include "inireader.hxx"
+
+namespace transex3{
+
+class Treeconfig
+{
+
+ private:
+ INIreader inireader;
+ INImap map;
+ bool has_config_file;
+ void getCurrentDir( string& dir );
+ bool isConfigFilePresent();
+
+ public:
+
+ Treeconfig() : has_config_file( false ) { parseConfig(); }
+ // read the config file, returns true in case a config file had been found
+ bool parseConfig();
+ // returns a string vector containing all active repositories, returns true in case we are deep inside
+ // of a source tree. This could affect the behavour of the tool
+ bool getActiveRepositories( vector<string>& active_repos);
+};
+
+}