X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Fdetailedevents%2Flttv_plugin_evd.c;fp=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Fdetailedevents%2Flttv_plugin_evd.c;h=0000000000000000000000000000000000000000;hb=3d6e46e15a388687ca1c5b7e2eec831eccd59d2d;hp=ae93579a352be74a383789bab2254c66d079c841;hpb=ec7a5af61127aa50a1839eee5be99ce53494c57b;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/detailedevents/lttv_plugin_evd.c b/ltt/branches/poly/lttv/modules/gui/detailedevents/lttv_plugin_evd.c deleted file mode 100644 index ae93579a..00000000 --- a/ltt/branches/poly/lttv/modules/gui/detailedevents/lttv_plugin_evd.c +++ /dev/null @@ -1,84 +0,0 @@ -/* This file is part of the Linux Trace Toolkit viewer - * Copyright (C) 2006 Mathieu Desnoyers - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License Version 2 as - * published by the Free Software Foundation; - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, - * MA 02111-1307, USA. - */ - - -#include "lttv_plugin_evd.h" -#include -#include "events.h" - -/* - * forward definitions - */ - -/* - * Implementation - */ - -static void evd_update_filter(LttvPlugin *parent, LttvFilter *filter) -{ - LttvPluginEVD *self = LTTV_PLUGIN_EVD(parent); - g_message("In EVD update filter."); - lttv_filter_destroy(self->evd->filter); - self->evd->filter = filter; - evd_redraw_notify(self->evd, NULL); -} - - -static void -lttv_plugin_evd_class_init (LttvPluginEVDClass *klass) -{ - LttvPluginClass *parent_klass; - parent_klass = &klass->parent; - parent_klass->update_filter = evd_update_filter; - g_type_class_add_private (klass, sizeof (EventViewerData)); -} - - -static void -lttv_plugin_evd_init (GTypeInstance *instance, gpointer g_class) -{ - LttvPluginEVD *self = LTTV_PLUGIN_EVD (instance); - self->evd = G_TYPE_INSTANCE_GET_PRIVATE (self, - LTTV_TYPE_PLUGIN_EVD, EventViewerData); -} - - -GType -lttv_plugin_evd_get_type (void) -{ - static GType type = 0; - if (type == 0) { - static const GTypeInfo info = { - sizeof (LttvPluginEVDClass), - NULL, /* base_init */ - NULL, /* base_finalize */ - lttv_plugin_evd_class_init, /* class_init */ - NULL, /* class_finalize */ - NULL, /* class_data */ - sizeof (LttvPluginEVD), - 0, /* n_preallocs */ - lttv_plugin_evd_init /* instance_init */ - }; - type = g_type_register_static (G_TYPE_OBJECT, - "LttvPluginEVDType", - &info, 0); - } - return type; -} - -