]> git.lyx.org Git - lyx.git/commitdiff
Preparing for lfun doxy movement
authorPavel Sanda <sanda@lyx.org>
Fri, 11 Jan 2008 12:43:50 +0000 (12:43 +0000)
committerPavel Sanda <sanda@lyx.org>
Fri, 11 Jan 2008 12:43:50 +0000 (12:43 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22492 a592a061-630c-0410-9148-cb99ea01b6c8

sourcedoc/Doxyfile.in
src/LyXAction.cpp

index ccc5efa95766633417369bd8a86913b447a84f88..fb3c757c838b378661c51a2178144cf7804733fc 100644 (file)
@@ -922,3 +922,5 @@ BIN_ABSPATH            = /usr/local/bin/
 # the documentation for these projects as well.
 
 EXT_DOC_PATHS          = 
+
+PREDEFINED = DOXYGEN_SHOULD_SKIP_THIS
index 243e2f9e9fa339d9673eb58a93c8a7b194e54861..ab15983e03add543f700d1f134b32850533b4237 100644 (file)
@@ -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