merged tag ooo/OOO330_m14
[LibreOffice.git] / l10ntools / inc / treeconfig.hxx
blob96d693b0d37602eb07cc29924f1ed14d4265e8a9
1 #include <vector>
2 #include <string>
4 #include "inireader.hxx"
6 namespace transex3{
8 class Treeconfig
11 private:
12 INIreader inireader;
13 INImap map;
14 bool has_config_file;
15 void getCurrentDir( string& dir );
16 bool isConfigFilePresent();
18 public:
20 Treeconfig() : has_config_file( false ) { parseConfig(); }
21 // read the config file, returns true in case a config file had been found
22 bool parseConfig();
23 // returns a string vector containing all active repositories, returns true in case we are deep inside
24 // of a source tree. This could affect the behavour of the tool
25 bool getActiveRepositories( vector<string>& active_repos);