/* * OProfile User Interface * * Copyright (C) 2007 Nokia Corporation. All rights reserved. * * Author: Robert Bradford * * 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., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA * */ #ifndef _CALLER_SYMBOL_INSTANCE #define _CALLER_SYMBOL_INSTANCE #include #include "types.h" #include "caller_symbol_instance.h" #include "symbol_instance.h" G_BEGIN_DECLS #define TYPE_CALLER_SYMBOL_INSTANCE caller_symbol_instance_get_type() #define CALLER_SYMBOL_INSTANCE(obj) \ (G_TYPE_CHECK_INSTANCE_CAST ((obj), \ TYPE_CALLER_SYMBOL_INSTANCE, CallerSymbolInstance)) #define CALLER_SYMBOL_INSTANCE_CLASS(klass) \ (G_TYPE_CHECK_CLASS_CAST ((klass), \ TYPE_CALLER_SYMBOL_INSTANCE, CallerSymbolInstanceClass)) #define IS_CALLER_SYMBOL_INSTANCE(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \ TYPE_CALLER_SYMBOL_INSTANCE)) #define IS_CALLER_SYMBOL_INSTANCE_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE ((klass), \ TYPE_CALLER_SYMBOL_INSTANCE)) #define CALLER_SYMBOL_INSTANCE_GET_CLASS(obj) \ (G_TYPE_INSTANCE_GET_CLASS ((obj), \ TYPE_CALLER_SYMBOL_INSTANCE, CallerSymbolInstanceClass)) struct _CallerSymbolInstance { SymbolInstance parent; gboolean is_self; }; typedef struct { SymbolInstanceClass parent_class; } CallerSymbolInstanceClass; GType caller_symbol_instance_get_type (void); CallerSymbolInstance* caller_symbol_instance_new (void); G_END_DECLS #endif /* _CALLER_SYMBOL_INSTANCE */