summaryrefslogtreecommitdiff
path: root/transex3/inc/export.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'transex3/inc/export.hxx')
-rw-r--r--transex3/inc/export.hxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/transex3/inc/export.hxx b/transex3/inc/export.hxx
index 3d7eee8e1eaf..ec5195034e91 100644
--- a/transex3/inc/export.hxx
+++ b/transex3/inc/export.hxx
@@ -51,6 +51,12 @@
#include <set> /* std::set*/
#include <vector> /* std::vector*/
#include <queue>
+#include <string>
+
+#include <unistd.h>
+#ifdef WNT
+#include <direct.h>
+#endif
#define NO_TRANSLATE_ISO "x-no-translate"
@@ -326,7 +332,6 @@ public:
static bool skipProject( ByteString sPrj ) ;
- static ByteString sIsoCode99;
static void InitLanguages( bool bMergeMode = false );
static void InitForcedLanguages( bool bMergeMode = false );
static std::vector<ByteString> GetLanguages();
@@ -349,12 +354,12 @@ public:
static bool isSourceLanguage( const ByteString &sLanguage );
static bool isAllowed( const ByteString &sLanguage );
- //static bool isMergingGermanAllowed( const ByteString& rPrj );
static bool LanguageAllowed( const ByteString &nLanguage );
static void Languages( std::vector<ByteString>::const_iterator& begin , std::vector<ByteString>::const_iterator& end );
static void getRandomName( const ByteString& sPrefix , ByteString& sRandStr , const ByteString& sPostfix );
static void getRandomName( ByteString& sRandStr );
+ static void getCurrentDir( std::string& dir );
static void replaceEncoding( ByteString& rString );
@@ -517,8 +522,6 @@ private:
public:
MergeDataFile( const ByteString &rFileName, const ByteString& rFile , BOOL bErrLog, CharSet aCharSet, bool bCaseSensitive = false );
-// MergeDataFile( const ByteString &rFileName, const ByteString& rFile , BOOL bErrLog, CharSet aCharSet
-// );
~MergeDataFile();
@@ -538,7 +541,6 @@ public:
static ByteString CreateKey( const ByteString& rTYP , const ByteString& rGID , const ByteString& rLID , const ByteString& rFilename , bool bCaseSensitive = false );
ByteString Dump();
-// void WriteErrorLog( const ByteString &rFileName );
void WriteError( const ByteString &rLine );
};