示例#1
0
static void sjcd_plugin_class_init(GObjectClass *klass) {
    AnjutaPluginClass *plugin_class = ANJUTA_PLUGIN_CLASS (klass);

    parent_class = g_type_class_peek_parent(klass);

    plugin_class->activate = activate_plugin;
    plugin_class->deactivate = deactivate_plugin;
}
示例#2
0
文件: plugin.c 项目: VujinovM/anjuta
static void
quick_open_plugin_class_init(GObjectClass *klass)
{
    AnjutaPluginClass *plugin_class = ANJUTA_PLUGIN_CLASS(klass);

    parent_class = g_type_class_peek_parent(klass);

    plugin_class->activate = quick_open_plugin_activate;
    plugin_class->deactivate = quick_open_plugin_deactivate;
    klass->finalize = quick_open_plugin_finalize;
}
示例#3
0
文件: plugin.c 项目: rosedu/anjuta
static void
code_analyzer_class_init (GObjectClass *klass) 
{
	AnjutaPluginClass *plugin_class = ANJUTA_PLUGIN_CLASS (klass);

	parent_class = g_type_class_peek_parent (klass);

	plugin_class->activate = code_analyzer_activate;
	plugin_class->deactivate = code_analyzer_deactivate;
	klass->finalize = code_analyzer_finalize;
	klass->dispose = code_analyzer_dispose;
}
示例#4
0
文件: plugin.c 项目: GNOME/anjuta
static void
amp_plugin_class_init (GObjectClass *klass) 
{
	AnjutaPluginClass *plugin_class = ANJUTA_PLUGIN_CLASS (klass);

	parent_class = g_type_class_peek_parent (klass);

	plugin_class->activate = activate_plugin;
	plugin_class->deactivate = deactivate_plugin;
	klass->dispose = dispose;
	klass->finalize = finalize;
}
示例#5
0
文件: plugin.c 项目: VujinovM/anjuta
static void
starter_plugin_class_init (GObjectClass *klass) 
{
	AnjutaPluginClass *plugin_class;

	g_type_class_add_private (klass, sizeof (StarterPluginPrivate));
	plugin_class = ANJUTA_PLUGIN_CLASS (klass);
	plugin_class->activate = activate_plugin;
	plugin_class->deactivate = deactivate_plugin;
	klass->dispose = dispose;
	klass->finalize = finalize;
}
示例#6
0
static void
sourceview_plugin_class_init (GObjectClass *klass)
{
	AnjutaPluginClass *plugin_class = ANJUTA_PLUGIN_CLASS (klass);

	parent_class = g_type_class_peek_parent (klass);

	plugin_class->activate = sourceview_plugin_activate;
	plugin_class->deactivate = sourceview_plugin_deactivate;
	klass->finalize = sourceview_plugin_finalize;
	klass->dispose = sourceview_plugin_dispose;
}
示例#7
0
static void
editor_plugin_class_init (GObjectClass *klass) 
{
	GObjectClass *object_class = G_OBJECT_CLASS (klass);
	AnjutaPluginClass *plugin_class = ANJUTA_PLUGIN_CLASS (klass);

	parent_class = g_type_class_peek_parent (klass);

	plugin_class->activate = activate_plugin;
	plugin_class->deactivate = deactivate_plugin;
	klass->dispose = dispose;
	klass->finalize = finalize;
	
	signals[STYLE_CHANGED] = g_signal_new ("style-changed",
                                                G_OBJECT_CLASS_TYPE (object_class),
                                                G_SIGNAL_RUN_FIRST,
                                                G_STRUCT_OFFSET (EditorPluginClass, style_changed),
                                                NULL, NULL,
                                                g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
}