Debian Codegraph @

addon/doxywizard/config.h

raw
1 /******************************************************************************
2 *
3 * Copyright (C) 1997-2019 by Dimitri van Heesch.
4 *
5 * Permission to use, copy, modify, and distribute this software and its
6 * documentation under the terms of the GNU General Public License is hereby
7 * granted. No representations are made about the suitability of this software
8 * for any purpose. It is provided "as is" without express or implied warranty.
9 * See the GNU General Public License for more details.
10 *
11 */
12
13 #ifndef CONFIG_H
14 #define CONFIG_H
15
16 #include <QHash>
17 #include <QString>
18
19 #include "adapter.h"
20
21 class Input;
22 class QTextStream;
23
24 bool parseConfig(
25 const QString &fileName,
26 const QHash<QString,Input *> &options
27 );
28
29 void writeStringValue(QTextStream &t,TextCodecAdapter *codec,const QString &s,bool convert);
30
31 // directly copied from ../../src/config.h to be consistent
32 enum
33 {
34 /*! Maximum length of an option in the config file. Used for
35 * alignment purposes.
36 */
37 MAX_OPTION_LENGTH = 23
38 };
39
40 #endif