mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
gcc compile fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25606 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fe86e8292e
commit
5ec4d80162
16
src/LyX.h
16
src/LyX.h
@ -137,17 +137,23 @@ private:
|
|||||||
friend graphics::Previews & thePreviews();
|
friend graphics::Previews & thePreviews();
|
||||||
friend Session & theSession();
|
friend Session & theSession();
|
||||||
friend CmdDef & theTopLevelCmdDef();
|
friend CmdDef & theTopLevelCmdDef();
|
||||||
/// Set the language defined by the user.
|
|
||||||
friend void setRcGuiLanguage();
|
friend void setRcGuiLanguage();
|
||||||
/// in the case of failure
|
|
||||||
friend void emergencyCleanup();
|
friend void emergencyCleanup();
|
||||||
/// Execute batch commands if available.
|
|
||||||
friend void execBatchCommands();
|
friend void execBatchCommands();
|
||||||
|
friend void lyx_exit(int exit_code = 0);
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/// in the case of failure
|
||||||
|
void emergencyCleanup();
|
||||||
/// Try to exit LyX properly.
|
/// Try to exit LyX properly.
|
||||||
/// \p exit_code is 0 by default, if a non zero value is passed,
|
/// \p exit_code is 0 by default, if a non zero value is passed,
|
||||||
/// emergencyCleanup() will be called before exiting.
|
/// emergencyCleanup() will be called before exiting.
|
||||||
friend void lyx_exit(int exit_code = 0);
|
void lyx_exit(int exit_code = 0);
|
||||||
};
|
/// Set the language defined by the user.
|
||||||
|
void setRcGuiLanguage();
|
||||||
|
/// Execute batch commands if available.
|
||||||
|
void execBatchCommands();
|
||||||
|
|
||||||
} // namespace lyx
|
} // namespace lyx
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user