X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fdebug.h;h=6b8a7f594027107aeee89096524e250ccaa8de31;hb=24f8676130d1e0769db394b7142dae7eeb1d955e;hp=9c86d830ca440c34088ed14b0952339a7944901b;hpb=9a3176581dc3e9aee62d908faf8d48ddb43d4cc3;p=lyx.git diff --git a/src/debug.h b/src/debug.h index 9c86d830ca..6b8a7f5940 100644 --- a/src/debug.h +++ b/src/debug.h @@ -1,25 +1,21 @@ // -*- C++ -*- -/* This file is part of - * ====================================================== - * - * LyX, The Document Processor - * - * Copyright 1995 Matthias Ettrich - * Copyright 1995-2000 The LyX Team. +/** + * \file debug.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * ====================================================== */ + * \author Lars Gullik Bjønnes + * \author Jean-Marc Lasgouttes + * + * Full author contact details are available in file CREDITS. + */ #ifndef LYXDEBUG_H #define LYXDEBUG_H -#ifdef __GNUG__ -#pragma interface -#endif - #include #include "LString.h" -#include "support/lstrings.h" /** Ideally this should have been a namespace, but since we try to be compilable on older C++ compilators too, we use a struct instead. @@ -67,24 +63,26 @@ struct Debug { /// INSETS = (1 << 17), /// - FILES = (1 << 18) + FILES = (1 << 18), + /// + WORKAREA = (1 << 19), + /// + INSETTEXT = (1 << 20), + /// + GRAPHICS = (1 << 21), + /// change tracking + CHANGES = (1 << 22) }; /// -// static const type ANY = type(INFO | INIT | KEY | GUI | -// PARSER | LYXRC | KBMAP | LATEX | -// MATHED | FONT | TCLASS | LYXVC | -// LYXSERVER | ROFF | ACTION | LYXLEX | -// DEPEND | INSETS); - /// static type const ANY; /** A function to convert symbolic string names on debug levels to their numerical value. */ - static Debug::type value(string const & val); + static Debug::type value(string const & val); - /** Display the tags and descriptions of the current debug level - of ds + /** Display the tags and descriptions of the current debug level + of ds */ static void showLevel(std::ostream & o, type level);