search-account.h

00001 /*
00002  *  Copyright (C) 2002 Derek Atkins
00003  *
00004  *  Authors: Derek Atkins <warlord@MIT.EDU>
00005  *
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of version 2 of the GNU General Public
00008  * License as published by the Free Software Foundation.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public
00016  * License along with this program; if not, write to the
00017  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018  * Boston, MA 02110-1301, USA.
00019  */
00020 
00021 #ifndef _GNCSEARCH_ACCOUNT_H
00022 #define _GNCSEARCH_ACCOUNT_H
00023 
00024 #include "search-core-type.h"
00025 #include "QueryNew.h"
00026 
00027 #define GNC_TYPE_SEARCH_ACCOUNT         (gnc_search_account_get_type ())
00028 #define GNCSEARCH_ACCOUNT(obj)          GTK_CHECK_CAST (obj, GNC_TYPE_SEARCH_ACCOUNT, GNCSearchAccount)
00029 #define GNCSEARCH_ACCOUNT_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, GNC_TYPE_SEARCH_ACCOUNT, GNCSearchAccountClass)
00030 #define IS_GNCSEARCH_ACCOUNT(obj)       GTK_CHECK_TYPE (obj, GNC_TYPE_SEARCH_ACCOUNT)
00031 
00032 typedef struct _GNCSearchAccount        GNCSearchAccount;
00033 typedef struct _GNCSearchAccountClass   GNCSearchAccountClass;
00034 
00035 struct _GNCSearchAccount {
00036   GNCSearchCoreType parent;
00037 
00038   guid_match_t  how;
00039 };
00040 
00041 struct _GNCSearchAccountClass {
00042   GNCSearchCoreTypeClass parent_class;
00043 
00044   /* virtual methods */
00045 
00046   /* signals */
00047 };
00048 
00049 GType           gnc_search_account_get_type     (void);
00050 GNCSearchAccount        *gnc_search_account_new (void);
00051 GNCSearchAccount        *gnc_search_account_matchall_new        (void);
00052 
00053 /* methods */
00054 
00055 #endif /* ! _GNCSEARCH_ACCOUNT_H */
00056 

Generated on Mon Sep 8 05:04:23 2008 for GnuCash by  doxygen 1.5.2