]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_gui_misc.h
Small fix.
[lyx.git] / src / lyx_gui_misc.h
index f9c6107e33a57188bd8db73077a6706b84c2c27a..82233ed7565f481d79c5bc720d4ae643c4ad1ea8 100644 (file)
 #ifndef LYX_GUI_MISC_H
 #define LYX_GUI_MISC_H
 
+#ifdef __GNUG__
+#pragma interface
+#endif
+
 #include FORMS_H_LOCATION
 #include "LString.h"
 #include <utility>  /* needed for pair<> definition */
@@ -24,11 +28,12 @@ extern "C" int CancelCloseBoxCB(FL_FORM *, void *);
 extern "C" int IgnoreCloseBoxCB(FL_FORM *, void *);
 
 /// Prevents LyX from crashing when no buffers available
-void CloseAllBufferRelatedPopups();
+void CloseAllBufferRelatedDialogs();
 
 /// Ensures info in visible popups are always correct.
-void updateAllVisibleBufferRelatedPopups();
+void updateAllVisibleBufferRelatedDialogs();
 
+/* These shortcut extractors should be shifted to frontends/xforms/ eventually */
 /// Extract shortcut from <ident>|<shortcut> string
 char const * flyx_shortcut_extract(char const * sc);
 /// Make a shortnamed version of the above func
@@ -65,7 +70,7 @@ void WarnReadonly(string const & file);
 float getScreenDPI();
 
 // inlined functions
-/// rings the audio bell.
+// rings the audio bell.
 inline
 void LyXBell() {
        // if (audio()) ON/OFF switch yet to be implemented