KDocTools

meinproc_common.h
1
2#ifndef MEINPROC_COMMON_H
3#define MEINPROC_COMMON_H
4
5#include <QString>
6
7enum CheckFileResult {
8 CheckFileSuccess,
9 CheckFileDoesNotExist,
10 CheckFileIsNotFile,
11 CheckFileIsNotReadable,
12};
13
14CheckFileResult checkFile(const QString &checkFilename);
15
16enum CheckResult {
17 CheckSuccess,
18 CheckNoOut,
19 CheckNoXmllint,
20};
21
22CheckResult check(const QString &checkFilename, const QString &exe, const QByteArray &catalogs);
23
24void doOutput(QString output, bool usingStdOut, bool usingOutput, const QString &outputOption, bool replaceCharset);
25
26// FIXME: To remove ?
27#ifdef _WIN32
28#include <windows.h>
29#define setenv(x, y, z) SetEnvironmentVariable((LPCTSTR)x, (LPCTSTR)y)
30#endif // _WIN32
31
32#endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:52:34 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.