1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00
irssi/src/core/core.h
Timo Sirainen ae1b5b0d50 added irssi_init_finished variable to core.h which is TRUE after "irssi init
finished" signal is sent.

Perl scripts aren't now autoloaded until irssi_init_finished is TRUE (fixes
the crash at startup).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1879 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21 13:22:28 +00:00

21 lines
462 B
C

#ifndef __IRSSI_CORE_H
#define __IRSSI_CORE_H
/* for determining what GUI is currently in use: */
#define IRSSI_GUI_NONE 0
#define IRSSI_GUI_TEXT 1
#define IRSSI_GUI_GTK 2
#define IRSSI_GUI_GNOME 3
#define IRSSI_GUI_QT 4
#define IRSSI_GUI_KDE 5
extern int irssi_gui;
extern int irssi_init_finished; /* TRUE after "irssi init finished" signal is sent */
void core_init_paths(int argc, char *argv[]);
void core_init(void);
void core_deinit(void);
#endif