#ifndef DISOBEDIENCE_H
#define DISOBEDIENCE_H
-#define PLAYLISTS 1
-
#include "common.h"
#include <time.h>
#include "split.h"
#include "timeval.h"
#include "uaudio.h"
+#include "inputline.h"
#include <glib.h>
#include <gtk/gtk.h>
void (*clicked)(GtkButton *button, gpointer userdata);
const char *tip;
GtkWidget *widget;
+ void (*pack)(GtkBox *box,
+ GtkWidget *child,
+ gboolean expand,
+ gboolean fill,
+ guint padding);
};
/* Variables --------------------------------------------------------------- */
GtkWidget *menubar(GtkWidget *w);
/* Create the menu bar */
+int full_mode;
void users_set_sensitive(int sensitive);
/* Queue/Recent/Added */
GtkWidget *queue_widget(void);
+GtkWidget *playing_widget(void);
GtkWidget *recent_widget(void);
GtkWidget *added_widget(void);
/* Create widgets for displaying the queue, the recently played list and the
/* Help */
-void popup_help(void);
+void popup_help(const char *what);
+
+/* Filtering */
+
+void popup_globals(void);
+void globals_init(void);
/* RTP */
int rtp_running(void);
void start_rtp(void);
void stop_rtp(void);
+void load_rtp_config(void);
+void save_rtp_config(void);
+void change_rtp_api(const char *api);
+const char *rtp_api;
/* Settings */
/* Playlists */
-#if PLAYLISTS
void playlists_init(void);
void playlist_window_create(gpointer callback_data,
guint callback_action,
extern GtkWidget *menu_playlists_widget;
extern GtkWidget *playlists_menu;
extern GtkWidget *menu_editplaylists_widget;
-#endif
#endif /* DISOBEDIENCE_H */