]> git.lyx.org Git - features.git/blobdiff - src/lyxfunc.h
make doc++ able to generate the source documentation for lyx
[features.git] / src / lyxfunc.h
index 6913a51df25459db3061cf8f0fd0b679fbc21988..ec0685a265b850ba2411f1f066db3e51caf3d55b 100644 (file)
@@ -24,10 +24,15 @@ class LyXFunc {
 public:
        /// The status of a function.
        enum func_status {
-               OK = 0, // No problem
+               /// No problem
+               OK = 0,
+               ///
                Unknown = 1,
-               Disabled = 2, // Command cannot be executed
+               /// Command cannot be executed
+               Disabled = 2,
+               ///
                ToggleOn = 4,
+               ///
                ToggleOff = 8
        };
        ///
@@ -44,7 +49,7 @@ public:
        bool Dispatch(int action, auto_mem_buffer &);
 
        /// A keyboard event is processed to execute a lyx action. 
-       int  processKeyEvent(XEvent * ev);
+       int processKeyEvent(XEvent * ev);
 
        ///
        func_status getStatus(int ac) const;
@@ -115,6 +120,7 @@ private:
 
        ///
        void doImport(string const &);
+       ///
        void doImportHelper(string const &, string const &, string const &,
                bool func(BufferView *, string const &) );
 
@@ -172,7 +178,7 @@ void LyXFunc::setHintMessage(bool hm)
        show_sc = hm;
 }
 
-
+///
 inline
 void operator|=(LyXFunc::func_status & fs, LyXFunc::func_status f)
 {