|
GnuCash 2.4.99
|
00001 00008 /******************************************************************** 00009 * This program is free software; you can redistribute it and/or * 00010 * modify it under the terms of version 2 and/or version 3 of the GNU General Public * 00011 * License as published by the Free Software Foundation. * 00012 * * 00013 * This program is distributed in the hope that it will be useful, * 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00016 * GNU General Public License for more details. * 00017 * * 00018 * You should have received a copy of the GNU General Public License* 00019 * along with this program; if not, contact: * 00020 * * 00021 * Free Software Foundation Voice: +1-617-542-5942 * 00022 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 * 00023 * Boston, MA 02110-1301, USA gnu@gnu.org * 00024 * * 00025 *******************************************************************/ 00026 00027 00028 #ifndef __GNC_TREE_VIEW_SX_LIST_H 00029 #define __GNC_TREE_VIEW_SX_LIST_H 00030 00031 #include <gtk/gtk.h> 00032 #include "gnc-tree-view.h" 00033 00034 #include "SchedXaction.h" 00035 #include "gnc-sx-instance-model.h" 00036 #include "gnc-ui-util.h" 00037 00038 G_BEGIN_DECLS 00039 00040 #define GNC_TYPE_TREE_VIEW_SX_LIST (gnc_tree_view_sx_list_get_type ()) 00041 #define GNC_TREE_VIEW_SX_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_TREE_VIEW_SX_LIST, GncTreeViewSxList)) 00042 #define GNC_TREE_VIEW_SX_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GNC_TYPE_TREE_VIEW_SX_LIST, GncTreeViewSxListClass)) 00043 #define GNC_IS_TREE_VIEW_SX_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNC_TYPE_TREE_VIEW_SX_LIST)) 00044 #define GNC_IS_TREE_VIEW_SX_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNC_TYPE_TREE_VIEW_SX_LIST)) 00045 #define GNC_TREE_VIEW_SX_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GNC_TYPE_TREE_VIEW_SX_LIST, GncTreeViewSxListClass)) 00046 00047 typedef struct 00048 { 00049 GncTreeView gnc_tree_view; 00050 } GncTreeViewSxList; 00051 00052 typedef struct 00053 { 00054 GncTreeViewClass gnc_tree_view; 00055 } GncTreeViewSxListClass; 00056 00057 GType gnc_tree_view_sx_list_get_type(void); 00058 00059 GtkTreeView* gnc_tree_view_sx_list_new(GncSxInstanceModel *sx_instances); 00060 00061 SchedXaction* gnc_tree_view_sx_list_get_sx_from_path(GncTreeViewSxList *view, GtkTreePath *path); 00062 00065 G_END_DECLS 00066 00067 #endif /* __GNC_TREE_VIEW_SX_LIST_H */
1.7.4