diff options
author | Andy Wingo <wingo@pobox.com> | 2003-12-04 10:02:41 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2003-12-04 10:02:41 +0000 |
commit | 8ca1b1fe7fc43fbeb7be12735f3f1cbd29a84b64 (patch) | |
tree | 0ec944ca892e91a7aad0b43b28d6d407f559b55f /gst/gstplugin.h | |
parent | 28de073c2618362a8c4bbf11aabbac332154540a (diff) |
remove copyright field from plugin structs
Original commit message from CVS:
remove copyright field from plugin structs
Diffstat (limited to 'gst/gstplugin.h')
-rw-r--r-- | gst/gstplugin.h | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/gst/gstplugin.h b/gst/gstplugin.h index ae54425c7..f1626c0da 100644 --- a/gst/gstplugin.h +++ b/gst/gstplugin.h @@ -61,7 +61,6 @@ struct _GstPluginDesc { GstPluginExitFunc plugin_exit; /* pointer to exiting function */ gchar *version; /* version of the plugin */ gchar *license; /* effective license of plugin */ - gchar *copyright; /* informal copyright notice */ gchar *package; /* package plugin belongs to */ gchar *origin; /* URL to provider of plugin */ @@ -82,7 +81,7 @@ struct _GstPlugin { }; #ifndef GST_PLUGIN_STATIC -#define GST_PLUGIN_DEFINE_DYNAMIC(major,minor,name,description,init,version,license,copyright,package,origin) \ +#define GST_PLUGIN_DEFINE_DYNAMIC(major,minor,name,description,init,version,license,package,origin) \ GstPluginDesc gst_plugin_desc = { \ major, \ minor, \ @@ -92,15 +91,14 @@ GstPluginDesc gst_plugin_desc = { \ NULL, \ version, \ license, \ - copyright, \ package, \ origin, \ GST_STRUCT_PADDING_INIT \ }; -#define GST_PLUGIN_DEFINE_STATIC(major,minor,name,description,init,version,license,copyright,package,origin) +#define GST_PLUGIN_DEFINE_STATIC(major,minor,name,description,init,version,license,package,origin) #else -#define GST_PLUGIN_DEFINE_DYNAMIC(major,minor,name,description,init,version,license,copyright,package,origin) -#define GST_PLUGIN_DEFINE_STATIC(major,minor,name,description,init,version,license,copyright,package,origin) \ +#define GST_PLUGIN_DEFINE_DYNAMIC(major,minor,name,description,init,version,license,package,origin) +#define GST_PLUGIN_DEFINE_STATIC(major,minor,name,description,init,version,license,package,origin) \ static void GST_GNUC_CONSTRUCTOR \ _gst_plugin_static_init__ ##init (void) \ { \ @@ -113,7 +111,6 @@ _gst_plugin_static_init__ ##init (void) \ NULL, \ version, \ license, \ - copyright, \ package, \ origin, \ GST_STRUCT_PADDING_INIT \ @@ -122,9 +119,9 @@ _gst_plugin_static_init__ ##init (void) \ } #endif -#define GST_PLUGIN_DEFINE(major,minor,name,description,init,version,license,copyright,package,origin)\ - GST_PLUGIN_DEFINE_STATIC(major,minor,name,description,init,version,license,copyright,package,origin)\ - GST_PLUGIN_DEFINE_DYNAMIC(major,minor,name,description,init,version,license,copyright,package,origin) +#define GST_PLUGIN_DEFINE(major,minor,name,description,init,version,license,package,origin)\ + GST_PLUGIN_DEFINE_STATIC(major,minor,name,description,init,version,license,package,origin)\ + GST_PLUGIN_DEFINE_DYNAMIC(major,minor,name,description,init,version,license,package,origin) #define GST_LICENSE_UNKNOWN "unknown" @@ -143,7 +140,6 @@ void gst_plugin_set_name (GstPlugin *plugin, const gchar *name); G_CONST_RETURN gchar* gst_plugin_get_longname (GstPlugin *plugin); G_CONST_RETURN gchar* gst_plugin_get_filename (GstPlugin *plugin); G_CONST_RETURN gchar* gst_plugin_get_license (GstPlugin *plugin); -G_CONST_RETURN gchar* gst_plugin_get_copyright (GstPlugin *plugin); G_CONST_RETURN gchar* gst_plugin_get_package (GstPlugin *plugin); G_CONST_RETURN gchar* gst_plugin_get_origin (GstPlugin *plugin); GModule * gst_plugin_get_module (GstPlugin *plugin); |