Mercurial > audlegacy
comparison src/audacious/plugin.h @ 4754:b136f202ebfa
export functions to make libSAD usage in plugins more easy
| author | Andrew O. Shadoura <bugzilla@tut.by> |
|---|---|
| date | Thu, 07 Aug 2008 03:54:15 +0300 |
| parents | 22b7212eb3f9 |
| children | f084f639e962 |
comparison
equal
deleted
inserted
replaced
| 4753:4eb812a53716 | 4754:b136f202ebfa |
|---|---|
| 45 #include "audacious/playlist_container.h" | 45 #include "audacious/playlist_container.h" |
| 46 #include "audacious/main.h" | 46 #include "audacious/main.h" |
| 47 #include "audacious/preferences.h" | 47 #include "audacious/preferences.h" |
| 48 #include "audacious/interface.h" | 48 #include "audacious/interface.h" |
| 49 #include "audacious/equalizer_preset.h" | 49 #include "audacious/equalizer_preset.h" |
| 50 #include "libSAD/libSAD.h" | |
| 50 | 51 |
| 51 #define PLUGIN(x) ((Plugin *)(x)) | 52 #define PLUGIN(x) ((Plugin *)(x)) |
| 52 #define INPUT_PLUGIN(x) ((InputPlugin *)(x)) | 53 #define INPUT_PLUGIN(x) ((InputPlugin *)(x)) |
| 53 #define OUTPUT_PLUGIN(x) ((OutputPlugin *)(x)) | 54 #define OUTPUT_PLUGIN(x) ((OutputPlugin *)(x)) |
| 54 #define EFFECT_PLUGIN(x) ((EffectPlugin *)(x)) | 55 #define EFFECT_PLUGIN(x) ((EffectPlugin *)(x)) |
| 360 GCallback button_action, | 361 GCallback button_action, |
| 361 gpointer action_data); | 362 gpointer action_data); |
| 362 const gchar *(*get_gentitle_format)(void); | 363 const gchar *(*get_gentitle_format)(void); |
| 363 gchar *(*util_get_localdir)(void); | 364 gchar *(*util_get_localdir)(void); |
| 364 void (*util_menu_main_show)(gint x, gint y, guint button, guint time); | 365 void (*util_menu_main_show)(gint x, gint y, guint button, guint time); |
| 366 | |
| 367 gpointer (*smart_realloc)(gpointer ptr, gsize *size); | |
| 368 SAD_sample_format (*sadfmt_from_afmt)(AFormat fmt); | |
| 365 | 369 |
| 366 /* INI funcs */ | 370 /* INI funcs */ |
| 367 INIFile *(*open_ini_file)(const gchar *filename); | 371 INIFile *(*open_ini_file)(const gchar *filename); |
| 368 void (*close_ini_file)(INIFile *key_file); | 372 void (*close_ini_file)(INIFile *key_file); |
| 369 gchar *(*read_ini_string)(INIFile *key_file, const gchar *section, | 373 gchar *(*read_ini_string)(INIFile *key_file, const gchar *section, |
| 748 #define aud_uri_set_plugin _audvt->uri_set_plugin | 752 #define aud_uri_set_plugin _audvt->uri_set_plugin |
| 749 | 753 |
| 750 #define aud_info_dialog _audvt->util_info_dialog | 754 #define aud_info_dialog _audvt->util_info_dialog |
| 751 #define audacious_info_dialog _audvt->util_info_dialog | 755 #define audacious_info_dialog _audvt->util_info_dialog |
| 752 #define aud_get_gentitle_format _audvt->get_gentitle_format | 756 #define aud_get_gentitle_format _audvt->get_gentitle_format |
| 757 #define aud_smart_realloc _audvt->smart_realloc | |
| 758 #define aud_sadfmt_from_afmt _audvt->sadfmt_from_afmt | |
| 753 | 759 |
| 754 #define aud_escape_shell_chars _audvt->escape_shell_chars | 760 #define aud_escape_shell_chars _audvt->escape_shell_chars |
| 755 #define aud_str_append _audvt->str_append | 761 #define aud_str_append _audvt->str_append |
| 756 #define aud_str_replace _audvt->str_replace | 762 #define aud_str_replace _audvt->str_replace |
| 757 #define aud_str_replace_in _audvt->str_replace_in | 763 #define aud_str_replace_in _audvt->str_replace_in |
