From 871b6a7245171a3f198964195179586101ea6a66 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Fri, 11 Jan 2008 12:43:50 +0000 Subject: [PATCH 1/1] Preparing for lfun doxy movement git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22492 a592a061-630c-0410-9148-cb99ea01b6c8 --- sourcedoc/Doxyfile.in | 2 ++ src/LyXAction.cpp | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/sourcedoc/Doxyfile.in b/sourcedoc/Doxyfile.in index ccc5efa957..fb3c757c83 100644 --- a/sourcedoc/Doxyfile.in +++ b/sourcedoc/Doxyfile.in @@ -922,3 +922,5 @@ BIN_ABSPATH = /usr/local/bin/ # the documentation for these projects as well. EXT_DOC_PATHS = + +PREDEFINED = DOXYGEN_SHOULD_SKIP_THIS diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 243e2f9e9f..ab15983e03 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -59,7 +59,11 @@ void LyXAction::newFunc(kb_action action, string const & name, } +// Needed for LFUNs documentation to be accepted, since doxygen won't take +// \var inside functions. +#ifndef DOXYGEN_SHOULD_SKIP_THIS void LyXAction::init() +#endif { // This function was changed to use the array below in initalization // instead of calling newFunc numerous times because of compilation -- 2.39.5