X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Fmodules%2Fgui%2Flttvwindow%2Flttvwindow%2Flttv_plugin_tab.h;fp=lttv%2Fmodules%2Fgui%2Flttvwindow%2Flttvwindow%2Flttv_plugin_tab.h;h=6acbec43d955067ccb77428f1a0450571de8b297;hb=f61f4dca50e13aa52b1ca3941c8f420848f4353f;hp=0000000000000000000000000000000000000000;hpb=a219d12930979a81f43a3a3f5499b2bd00141a84;p=lttv.git diff --git a/lttv/modules/gui/lttvwindow/lttvwindow/lttv_plugin_tab.h b/lttv/modules/gui/lttvwindow/lttvwindow/lttv_plugin_tab.h new file mode 100644 index 00000000..6acbec43 --- /dev/null +++ b/lttv/modules/gui/lttvwindow/lttvwindow/lttv_plugin_tab.h @@ -0,0 +1,62 @@ +/* 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. + */ + +#ifndef LTTV_PLUGIN_TAB_H +#define LTTV_PLUGIN_TAB_H + +#include +#include + +/* + * Type macros. + */ + +#define LTTV_TYPE_PLUGIN_TAB (lttv_plugin_tab_get_type ()) +#define LTTV_PLUGIN_TAB(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LTTV_TYPE_PLUGIN_TAB, LttvPluginTab)) +#define LTTV_PLUGIN_TAB_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LTTV_TYPE_PLUGIN_TAB, LttvPluginTabClass)) +#define LTTV_IS_PLUGIN_TAB(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LTTV_TYPE_PLUGIN_TAB)) +#define LTTV_IS_PLUGIN_TAB_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LTTV_TYPE_PLUGIN_TAB)) +#define LTTV_PLUGIN_TAB_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LTTV_TYPE_PLUGIN_TAB, LttvPluginTabClass)) + +typedef struct _LttvPluginTab LttvPluginTab; +typedef struct _LttvPluginTabClass LttvPluginTabClass; + +struct _LttvPluginTab { + LttvPlugin parent; + + /* instance members */ + Tab *tab; + + /* private */ +}; + +struct _LttvPluginTabClass { + LttvPluginClass parent; + + /* class members */ +}; + +/* used by LTTV_PLUGIN_TAB_TYPE */ +GType lttv_plugin_tab_get_type (void); + +/* + * Method definitions. + */ + + +#endif