#include <gtk/gtk.h>
#include <gconf/gconf-client.h>
#include <libintl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include "settings.h"
#include "interface.h"
#include "now_playing.h"
Defines | |
#define | KEY_BASE "/nokia/extras/upnpbrowser" |
#define | KEY_TRANSPORT_UPDATE_INTERVAL "/transport_update_interval" |
#define | KEY_UPDATE_SERVERS "/update_servers" |
#define | KEY_RESOLVE_TITLES "/resolve_titles" |
#define | KEY_SEND_META_DATA "/send_meta_data" |
Functions | |
gboolean | settings_load (UPnPBrowserSettings *settings) |
gboolean | settings_save (UPnPBrowserSettings *settings) |
gboolean | settings_edit_dialog (UPnPBrowserSettings *settings) |
GtkWidget * | create_settings_dialog (UPnPBrowserSettings *cache) |
void | transport_update_interval_changed (GtkSpinButton *spinbutton, gpointer user_data) |
void | update_servers_toggled (GtkToggleButton *togglebutton, gpointer user_data) |
void | resolve_titles_toggled (GtkToggleButton *togglebutton, gpointer user_data) |
void | send_meta_data_toggled (GtkToggleButton *togglebutton, gpointer user_data) |
Variables | |
UPnPBrowserWidgets * | widgets |
|
|
|
|
|
|
|
|
|
|
|
Create the settings dialog |
|
|
|
|
|
Edit settings with a dialog |
|
Load settings |
|
Save settings |
|
|
|
|
|
Global struct that holds the application widgets |