summaryrefslogtreecommitdiffstats
path: root/src/lassi-prefs.h
blob: a9487092ad60a7375af40ff111459a1e72b3302c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef foolassiprefshfoo
#define foolassiprefshfoo

#include <gtk/gtk.h>
#include <glade/glade-xml.h>

typedef struct LassiPrefsInfo LassiPrefsInfo;
struct LassiServer;

struct LassiPrefsInfo {
    struct LassiServer *server;

    GtkWidget *dialog;
    GtkWidget *up_button, *down_button, *add_button, *remove_button;
    GtkWidget *tree_view;
    
    GtkListStore *list_store;

    GladeXML *xml;
};

#include "lassi-server.h"

int lassi_prefs_init(LassiPrefsInfo *i, LassiServer *server);
void lassi_prefs_show(LassiPrefsInfo *i);
void lassi_prefs_update(LassiPrefsInfo *i);
void lassi_prefs_done(LassiPrefsInfo *i);

#endif