KDocTools
meinproc_common.h
Go to the documentation of this file.
00001 00002 #ifndef MEINPROC_COMMON_H 00003 #define MEINPROC_COMMON_H 00004 00005 #include <QDebug> 00006 #include <QString> 00007 00008 enum CheckFileResult 00009 { 00010 CheckFileSuccess, 00011 CheckFileDoesNotExist, 00012 CheckFileIsNotFile, 00013 CheckFileIsNotReadable 00014 }; 00015 00016 CheckFileResult checkFile( const QString &checkFilename ); 00017 00018 enum CheckResult 00019 { 00020 CheckSuccess, 00021 CheckNoOut, 00022 CheckNoXmllint 00023 }; 00024 00025 CheckResult check(const QString &checkFilename, const QString &exe, const QByteArray &catalogs); 00026 00027 void doOutput(QString output, bool usingStdOut, bool usingOutput, const QString &outputOption, bool replaceCharset); 00028 00029 #ifdef _WIN32 00030 #include <windows.h> 00031 #define setenv(x,y,z) SetEnvironmentVariable((LPCTSTR)x,(LPCTSTR)y) 00032 #endif // _WIN32 00033 00034 #endif
KDE 4.6 API Reference