Mercurial > audlegacy
comparison src/audacious/plugin.h @ 4408:081839dd6664
Remove formatter functions, they are only used in song_change plugin.
| author | Matti Hamalainen <ccr@tnsp.org> |
|---|---|
| date | Mon, 31 Mar 2008 06:04:21 +0300 |
| parents | 5a0f5ef1de61 |
| children | 628926f505f8 |
comparison
equal
deleted
inserted
replaced
| 4407:5a0f5ef1de61 | 4408:081839dd6664 |
|---|---|
| 155 #include "audacious/playlist.h" | 155 #include "audacious/playlist.h" |
| 156 #include "audacious/input.h" | 156 #include "audacious/input.h" |
| 157 #include "audacious/mime.h" | 157 #include "audacious/mime.h" |
| 158 #include "audacious/custom_uri.h" | 158 #include "audacious/custom_uri.h" |
| 159 #include "audacious/hook.h" | 159 #include "audacious/hook.h" |
| 160 #include "audacious/formatter.h" | |
| 161 #include "audacious/flow.h" | 160 #include "audacious/flow.h" |
| 162 | 161 |
| 163 #define PLUGIN_COMMON_FIELDS \ | 162 #define PLUGIN_COMMON_FIELDS \ |
| 164 gpointer handle; \ | 163 gpointer handle; \ |
| 165 gchar *filename; \ | 164 gchar *filename; \ |
| 590 void (*drct_pq_remove)( gint pos ); | 589 void (*drct_pq_remove)( gint pos ); |
| 591 void (*drct_pq_clear)( void ); | 590 void (*drct_pq_clear)( void ); |
| 592 gboolean (*drct_pq_is_queued)( gint pos ); | 591 gboolean (*drct_pq_is_queued)( gint pos ); |
| 593 gint (*drct_pq_get_position)( gint pos ); | 592 gint (*drct_pq_get_position)( gint pos ); |
| 594 gint (*drct_pq_get_queue_position)( gint pos ); | 593 gint (*drct_pq_get_queue_position)( gint pos ); |
| 595 | |
| 596 /* Formatter API */ | |
| 597 Formatter *(*formatter_new)(void); | |
| 598 void (*formatter_destroy)(Formatter * formatter); | |
| 599 void (*formatter_associate)(Formatter * formatter, guchar id, | |
| 600 gchar * value); | |
| 601 void (*formatter_dissociate)(Formatter * formatter, guchar id); | |
| 602 gchar *(*formatter_format)(Formatter * formatter, gchar * format); | |
| 603 | 594 |
| 604 gint (*prefswin_page_new)(GtkWidget *container, gchar *name, gchar *imgurl); | 595 gint (*prefswin_page_new)(GtkWidget *container, gchar *name, gchar *imgurl); |
| 605 void (*prefswin_page_destroy)(GtkWidget *container); | 596 void (*prefswin_page_destroy)(GtkWidget *container); |
| 606 | 597 |
| 607 /* FileInfoPopup API */ | 598 /* FileInfoPopup API */ |
| 952 #define audacious_drct_pq_clear _audvt->drct_pq_clear | 943 #define audacious_drct_pq_clear _audvt->drct_pq_clear |
| 953 #define audacious_drct_pq_is_queued _audvt->drct_pq_is_queued | 944 #define audacious_drct_pq_is_queued _audvt->drct_pq_is_queued |
| 954 #define audacious_drct_pq_get_position _audvt->drct_pq_get_position | 945 #define audacious_drct_pq_get_position _audvt->drct_pq_get_position |
| 955 #define audacious_drct_pq_get_queue_position _audvt->drct_pq_get_queue_position | 946 #define audacious_drct_pq_get_queue_position _audvt->drct_pq_get_queue_position |
| 956 | 947 |
| 957 #define aud_formatter_new _audvt->formatter_new | |
| 958 #define aud_formatter_destroy _audvt->formatter_destroy | |
| 959 #define aud_formatter_associate _audvt->formatter_associate | |
| 960 #define aud_formatter_dissociate _audvt->formatter_dissociate | |
| 961 #define aud_formatter_format _audvt->formatter_format | |
| 962 | |
| 963 #define aud_prefswin_page_new _audvt->prefswin_page_new | 948 #define aud_prefswin_page_new _audvt->prefswin_page_new |
| 964 #define aud_prefswin_page_destroy _audvt->prefswin_page_destroy | 949 #define aud_prefswin_page_destroy _audvt->prefswin_page_destroy |
| 965 | 950 |
| 966 #define audacious_fileinfopopup_create _audvt->fileinfopopup_create | 951 #define audacious_fileinfopopup_create _audvt->fileinfopopup_create |
| 967 #define audacious_fileinfopopup_destroy _audvt->fileinfopopup_destroy | 952 #define audacious_fileinfopopup_destroy _audvt->fileinfopopup_destroy |
