diff options
Diffstat (limited to 'src/libgui/global_config.h')
-rw-r--r-- | src/libgui/global_config.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/libgui/global_config.h b/src/libgui/global_config.h new file mode 100644 index 0000000..8e5cfaa --- /dev/null +++ b/src/libgui/global_config.h @@ -0,0 +1,39 @@ +/*************************************************************************** + * Copyright (C) 2005 Nicolas Hadacek <hadacek@kde.org> * + * Copyright (C) 2003-2004 Alain Gibaud <alain.gibaud@free.fr> * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + ***************************************************************************/ +#ifndef GLOBAL_CONFIG_H +#define GLOBAL_CONFIG_H + +#include "progs/base/generic_prog.h" +#include "common/global/purl.h" +#include "tools/base/tool_group.h" +#include "log_view.h" + +BEGIN_DECLARE_CONFIG(BaseGlobalConfig) + AutoRebuildModified, ProgramAfterBuild, UserIdSetToChecksum, + ShowTabCloseButton +END_DECLARE_CONFIG(BaseGlobalConfig, "") + +namespace GlobalConfig +{ +extern PURL::Url openedProject(); +extern void writeOpenedProject(const PURL::Url &p); +extern PURL::UrlList openedFiles(); +extern void writeOpenedFiles(const PURL::UrlList &files); +extern void writeProgrammerGroup(const Programmer::Group &group); +extern const Programmer::Group &programmerGroup(); +extern void writeDebugLevel(Log::DebugLevel level); +extern Log::DebugLevel debugLevel(); +extern void writeLogOutputType(Log::OutputType type); +extern Log::OutputType logOutputType(); +extern void writeShowLineNumbers(bool show); +extern bool showLineNumbers(); +} // namespace + +#endif |