# HG changeset patch # User Yoshiki Yazawa # Date 1223284782 -32400 # Node ID dffc9604a9fb65dc4c0fc492a26c009ff1b2a7eb # Parent fbad40babe884bcb6d18e1dd66157da2cbf966a2 - moved prototypes to pidgin-audacious.h diff -r fbad40babe88 -r dffc9604a9fb pidgin-audacious.c --- a/pidgin-audacious.c Mon Oct 06 18:18:06 2008 +0900 +++ b/pidgin-audacious.c Mon Oct 06 18:19:42 2008 +0900 @@ -28,17 +28,6 @@ static DBusGProxy *session = NULL; static PurpleCmdId cmdid_paste_current_song; -/* prototypes */ -extern gchar *botch_utf(const gchar *msg, gsize len, gsize *newlen) __attribute__ ((weak)); -static void aud_process(gchar *aud_info); -static void track_signal_cb(DBusGProxy *player_proxy, GHashTable *table, gpointer data); -static void status_signal_cb(DBusGProxy *player_proxy, gint status, gpointer data); -static gboolean is_app_playing(void); -static GHashTable *get_song_table(void); -static song_tuple *get_song_tuple(GHashTable *table); -static void signed_on_cb(PurpleConnection *gc, void *data); -static void prefs_cb(const char *name, PurplePrefType type, gconstpointer value, gpointer data); - /* implementation */ static DBusGProxy * diff -r fbad40babe88 -r dffc9604a9fb pidgin-audacious.h --- a/pidgin-audacious.h Mon Oct 06 18:18:06 2008 +0900 +++ b/pidgin-audacious.h Mon Oct 06 18:19:42 2008 +0900 @@ -62,4 +62,16 @@ #define aud_error(fmt, ...) do { if(purple_prefs_get_bool(OPT_LOG_OUTPUT)) purple_debug(PURPLE_DEBUG_ERROR, PLUGIN_NAME, "%s():%4d: " fmt, __FUNCTION__, (int)__LINE__, ## __VA_ARGS__); } while(0); + +/* prototypes */ +extern gchar *botch_utf(const gchar *msg, gsize len, gsize *newlen) __attribute__ ((weak)); +static void aud_process(gchar *aud_info); +static void track_signal_cb(DBusGProxy *player_proxy, GHashTable *table, gpointer data); +static void status_signal_cb(DBusGProxy *player_proxy, gint status, gpointer data); +static gboolean is_app_playing(void); +static GHashTable *get_song_table(void); +static song_tuple *get_song_tuple(GHashTable *table); +static void signed_on_cb(PurpleConnection *gc, void *data); +static void prefs_cb(const char *name, PurplePrefType type, gconstpointer value, gpointer data); + #endif