comparison src/audacious/plugin.h @ 4270:a3d30a174720

Automated merge with ssh://hg.atheme.org//hg/audacious
author Eugene Zagidullin <e.asphyx@gmail.com>
date Sun, 10 Feb 2008 16:03:55 +0300
parents 2b7a74fce100
children 3c673b6803c1
comparison
equal deleted inserted replaced
4269:2a4954d14bfb 4270:a3d30a174720
649 void (*input_get_volume)(gint * l, gint * r); 649 void (*input_get_volume)(gint * l, gint * r);
650 650
651 gchar *(*construct_uri)(gchar *string, const gchar *playlist_name); 651 gchar *(*construct_uri)(gchar *string, const gchar *playlist_name);
652 gchar *(*uri_to_display_basename)(const gchar * uri); 652 gchar *(*uri_to_display_basename)(const gchar * uri);
653 gchar *(*uri_to_display_dirname)(const gchar * uri); 653 gchar *(*uri_to_display_dirname)(const gchar * uri);
654
655 void (*set_pvt_data)(Plugin * plugin, gpointer data);
656 gpointer (*get_pvt_data)(void);
654 657
655 }; 658 };
656 659
657 /* Convenience macros for accessing the public API. */ 660 /* Convenience macros for accessing the public API. */
658 /* public name vtable mapping */ 661 /* public name vtable mapping */
995 998
996 #define aud_construct_uri _audvt->construct_uri 999 #define aud_construct_uri _audvt->construct_uri
997 #define aud_uri_to_display_basename _audvt->uri_to_display_basename 1000 #define aud_uri_to_display_basename _audvt->uri_to_display_basename
998 #define aud_uri_to_display_dirname _audvt->uri_to_display_dirname 1001 #define aud_uri_to_display_dirname _audvt->uri_to_display_dirname
999 1002
1003 #define aud_set_pvt_data _audvt->set_pvt_data
1004 #define aud_get_pvt_data _audvt->get_pvt_data
1005
1000 #include "audacious/auddrct.h" 1006 #include "audacious/auddrct.h"
1001 1007
1002 /* for multi-file plugins :( */ 1008 /* for multi-file plugins :( */
1003 G_BEGIN_DECLS 1009 G_BEGIN_DECLS
1004 extern struct _AudaciousFuncTableV1 *_audvt; 1010 extern struct _AudaciousFuncTableV1 *_audvt;