summaryrefslogtreecommitdiffstats
path: root/lassi-prefs.h
blob: 275535150fe108d6ffbb7367a583d530cb01e099 (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
#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_done(LassiPrefsInfo *i);

#endif