]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_gui_misc.h
citation patch from Angus
[lyx.git] / src / lyx_gui_misc.h
index 8b959bd0895064a7b6dc1ef60a37f56f8ad3479e..7ce10aa5a42bd83e760bbe1f3c09ead87850a512 100644 (file)
@@ -33,14 +33,16 @@ void CloseAllBufferRelatedDialogs();
 /// Ensures info in visible popups are always correct.
 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
+/// Shortcut for flyx_shortcut_extract
 #define scex flyx_shortcut_extract
 
 /// Extract shortcut from <ident>|<shortcut> string
 char const * flyx_ident_extract(char const * sc);
-/// Make a shortnamed versjon of the above func
+/// Shortcut for flyx_ident_extract
 #define idex flyx_ident_extract
 
 /// Show message
@@ -59,8 +61,9 @@ int AskConfirmation(string const & s1, string const & s2 = string(),
                    string const & s3 = string());
 
 /// returns a bool: false=cancelled, true=okay. string contains returned text
-std::pair<bool, string> askForText(string const & msg,
-                                  string const & dflt = string());
+std::pair<bool, string> const
+askForText(string const & msg,
+          string const & dflt = string());
 
 /// Informs the user that changes in the coming form will be ignored
 void WarnReadonly(string const & file);
@@ -68,8 +71,7 @@ void WarnReadonly(string const & file);
 /// Get the dpi setting of the current screen
 float getScreenDPI();
 
-// inlined functions
-// rings the audio bell.
+/// rings the audio bell.
 inline
 void LyXBell() {
        // if (audio()) ON/OFF switch yet to be implemented