Added SILC Thread Queue API
[crypto.git] / apps / irssi / src / fe-common / core / themes.h
index 59d2810ad6550be38e377c6369dbae8bcfc60a26..dcdea0fc8df97a17e336a2def1720784fe9c679d 100644 (file)
@@ -11,6 +11,8 @@ typedef struct {
 } MODULE_THEME_REC;
 
 typedef struct {
+       int refcount;
+
        char *path;
        char *name;
         time_t last_modify;
@@ -18,6 +20,9 @@ typedef struct {
        int default_color; /* default color to use with text with default
                              background. default is -1 which means the
                              default color set by terminal */
+       unsigned int info_eol:1; /* show the timestamp/servertag at the
+                                   end of the line, not at beginning */
+
        GHashTable *modules;
 
         int replace_keys[256]; /* index to replace_values for each char */
@@ -43,6 +48,8 @@ THEME_REC *theme_load(const char *name);
 void theme_register_module(const char *module, FORMAT_REC *formats);
 void theme_unregister_module(const char *module);
 
+void theme_set_default_abstract(const char *key, const char *value);
+
 #define EXPAND_FLAG_IGNORE_REPLACES     0x01 /* don't use the character replaces when expanding */
 #define EXPAND_FLAG_IGNORE_EMPTY        0x02 /* if abstract's argument is empty, or the argument is a $variable that is empty, don't try to expand it (ie. {xx }, but not {xx}) */
 #define EXPAND_FLAG_RECURSIVE_MASK      0x0f
@@ -56,6 +63,8 @@ char *theme_format_expand_data(THEME_REC *theme, const char **format,
                               char *save_last_fg, char *save_last_bg,
                               int flags);
 
+void themes_reload(void);
+
 void themes_init(void);
 void themes_deinit(void);