using boost::shared_ptr;
-#ifndef CXX_GLOBAL_CSTD
-using std::exit;
-#endif
-
using std::map;
using std::vector;
using std::string;
}
-void exit(int status)
-{
- guiApp->exit(status);
-}
-
-
bool getRGBColor(LColor_color col, lyx::RGBColor & rgbcol)
{
QColor const & qcol = guiApp->colorCache().get(col);
}
-void update_fonts()
-{
- guiApp->fontLoader().update();
-}
-
-
-bool font_available(LyXFont const & font)
-{
- return guiApp->fontLoader().available(font);
-}
-
-
void register_socket_callback(int fd, boost::function<void()> func)
{
socket_callbacks[fd] = shared_ptr<socket_callback>(new socket_callback(fd, func));