~walkerlee/totem/pre-interview

« back to all changes in this revision

Viewing changes to src/plugins/totem-plugin.c

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2009-02-20 15:10:35 UTC
  • mto: (1.1.4 upstream)
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: james.westby@ubuntu.com-20090220151035-84jb7eshz90nv8zx
Tags: upstream-2.25.91
ImportĀ upstreamĀ versionĀ 2.25.91

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 *
26
26
 */
27
27
 
 
28
/**
 
29
 * SECTION:totem-plugin
 
30
 * @short_description: base plugin class and loading/unloading functions
 
31
 * @stability: Unstable
 
32
 * @include: totem-plugin.h
 
33
 *
 
34
 * #TotemPlugin is a general-purpose architecture for adding plugins to Totem, with
 
35
 * derived support for different programming languages.
 
36
 **/
 
37
 
28
38
#ifdef HAVE_CONFIG_H
29
39
#include <config.h>
30
40
#endif
50
60
                                       GValue *value,
51
61
                                       GParamSpec *pspec);
52
62
 
53
 
typedef struct {
 
63
struct TotemPluginPrivate {
54
64
        char *name;
55
 
} TotemPluginPrivate;
 
65
};
56
66
 
57
67
enum
58
68
{
91
101
        klass->create_configure_dialog = NULL;
92
102
        klass->is_configurable = is_configurable;
93
103
 
94
 
        /* this should be a construction property, but due to the python plugin hack can't be */
 
104
        /* FIXME: this should be a construction property, but due to the python plugin hack can't be */
 
105
        /**
 
106
         * TotemPlugin:name:
 
107
         *
 
108
         * The plugin's name. It should be a construction property, but due to the Python plugin hack, it
 
109
         * can't be: do not change the name after construction. Should be the same as used for naming plugin-
 
110
         * specific resources.
 
111
         **/
95
112
        g_object_class_install_property (object_class,
96
113
                                         PROP_NAME,
97
114
                                         g_param_spec_string ("name",