4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS
17 #include "FuncStatus.h"
29 /// parse command line and do basic initialisation
30 void parse_init(int & argc, char * argv[]);
33 * set up GUI parameters. At this point lyxrc may
39 * Start the main event loop, after executing the given
40 * batch commands, and loading the given documents
42 void start(string const & batch, std::vector<string> const & files);
51 * return the status flag for a given action. This can be used to tell
52 * that a given lfun is not implemented by a frontend
54 FuncStatus getStatus(FuncRequest const & ev);
56 /** Eg, passing LColor::black returns "000000",
57 * passing LColor::white returns "ffffff".
59 string const hexname(LColor::color col);
62 * update an altered GUI color
64 void update_color(LColor::color col);
67 * update the font cache
72 * is the given font available ?
74 bool font_available(LyXFont const & font);
77 * add a callback for I/O read notification
79 void set_read_callback(int fd, LyXComm * comm);
82 * remove a I/O read callback
83 * @param fd file descriptor
85 void remove_read_callback(int fd);
87 } // namespace lyx_gui