27dd5fdf |
1 | /* This file is part of the Linux Trace Toolkit viewer |
2 | * Copyright (C) 2006 Mathieu Desnoyers |
3 | * |
4 | * This program is free software; you can redistribute it and/or modify |
5 | * it under the terms of the GNU General Public License Version 2 as |
6 | * published by the Free Software Foundation; |
7 | * |
8 | * This program is distributed in the hope that it will be useful, |
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
11 | * GNU General Public License for more details. |
12 | * |
13 | * You should have received a copy of the GNU General Public License |
14 | * along with this program; if not, write to the Free Software |
15 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, |
16 | * MA 02111-1307, USA. |
17 | */ |
18 | |
19 | #ifndef LTTV_PLUGIN_CFV_H |
20 | #define LTTV_PLUGIN_CFV_H |
21 | |
22 | #include <lttvwindow/lttv_plugin.h> |
23 | #include <lttvwindow/mainwindow-private.h> |
24 | #include "cfv.h" |
25 | |
26 | /* |
27 | * Type macros. |
28 | */ |
29 | |
30 | #define LTTV_TYPE_PLUGIN_CFV (lttv_plugin_cfv_get_type ()) |
31 | #define LTTV_PLUGIN_CFV(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LTTV_TYPE_PLUGIN_CFV, LttvPluginCFV)) |
32 | #define LTTV_PLUGIN_CFV_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LTTV_TYPE_PLUGIN_CFV, LttvPluginCFVClass)) |
33 | #define LTTV_IS_PLUGIN_CFV(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LTTV_TYPE_PLUGIN_CFV)) |
34 | #define LTTV_IS_PLUGIN_CFV_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LTTV_TYPE_PLUGIN_CFV)) |
35 | #define LTTV_PLUGIN_CFV_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LTTV_TYPE_PLUGIN_CFV, LttvPluginCFVClass)) |
36 | |
37 | typedef struct _LttvPluginCFV LttvPluginCFV; |
38 | typedef struct _LttvPluginCFVClass LttvPluginCFVClass; |
39 | |
40 | struct _LttvPluginCFV { |
41 | LttvPlugin parent; |
42 | |
43 | /* instance members */ |
44 | ControlFlowData *cfd; |
45 | |
46 | /* private */ |
47 | }; |
48 | |
49 | struct _LttvPluginCFVClass { |
50 | LttvPluginClass parent; |
51 | |
52 | /* class members */ |
53 | }; |
54 | |
55 | /* used by LTTV_PLUGIN_TAB_TYPE */ |
56 | GType lttv_plugin_cfv_get_type (void); |
57 | |
58 | /* |
59 | * Method definitions. |
60 | */ |
61 | |
62 | |
63 | #endif |