GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
dialog-account.h
Go to the documentation of this file.
1 /********************************************************************\
2  * dialog-account.h -- window for creating and editing accounts for *
3  * GnuCash *
4  * Copyright (C) 2000 Dave Peticolas <[email protected]> *
5  * *
6  * This program is free software; you can redistribute it and/or *
7  * modify it under the terms of the GNU General Public License as *
8  * published by the Free Software Foundation; either version 2 of *
9  * the License, or (at your option) any later version. *
10  * *
11  * This program is distributed in the hope that it will be useful, *
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14  * GNU General Public License for more details. *
15  * *
16  * You should have received a copy of the GNU General Public License*
17  * along with this program; if not, contact: *
18  * *
19  * Free Software Foundation Voice: +1-617-542-5942 *
20  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
21  * Boston, MA 02110-1301, USA [email protected] *
22 \********************************************************************/
23 
24 #ifndef DIALOG_ACCOUNT_H
25 #define DIALOG_ACCOUNT_H
26 
27 #include "Account.h"
28 
51 void gnc_ui_edit_account_window (Account *account);
52 
53 
66 void gnc_ui_new_account_window (QofBook *book, Account *parent);
67 
68 
81  GList *valid_types);
95 
109 /* Note that the caller owns the valid_types list */
111  GList *valid_types);
112 
113 
133  GList *valid_types,
134  const gnc_commodity * default_commodity,
135  Account * parent);
136 
137 /*
138  * register a callback that get's called when the account has changed
139  * so significantly that you need to destroy yourself. In particular
140  * this is used by the ledger display to destroy ledgers when the
141  * account type has changed.
142  */
143 void gnc_ui_register_account_destroy_callback (void (*cb)(Account *));
146 void gnc_account_renumber_create_dialog (GtkWidget *window, Account *account);
147 
151 #endif
Account * gnc_ui_new_accounts_from_name_window(const char *name)
Account * gnc_ui_new_accounts_from_name_window_with_types(const char *name, GList *valid_types)
void gnc_ui_edit_account_window(Account *account)
Account handling public routines.
void gnc_ui_new_account_with_types(QofBook *book, GList *valid_types)
void gnc_ui_new_account_window(QofBook *book, Account *parent)
Account * gnc_ui_new_accounts_from_name_with_defaults(const char *name, GList *valid_types, const gnc_commodity *default_commodity, Account *parent)