GnuCash  5.6-150-g038405b370+
dialog-date-close.h
1 /*
2  * dialog-date-close.h -- Dialog to ask a question and request a date
3  * Copyright (C) 2002 Derek Atkins
4  * Author: Derek Atkins <warlord@MIT.EDU>
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 gnu@gnu.org
22  */
23 
24 #ifndef _DIALOG_DATE_CLOSE_H
25 #define _DIALOG_DATE_CLOSE_H
26 
27 #include "Account.h"
28 #include "qof.h"
29 #include "gncBillTerm.h"
30 
31 gboolean
32 gnc_dialog_date_close_parented (GtkWidget *parent, const char *message,
33  const char *label_message,
34  gboolean ok_is_default,
35  /* Returned data ... */
36  time64 *date);
37 
38 
39 /*
40  * Note that the dialog will "own" (and free) the acct_types list.
41  * it should be a list of GNCAccountTypes. If memo is non-NULL,
42  * it will g_malloc() a string. The caller should g_free() it.
43  * The value of *acct will be used as preselection of the account
44  * selection widget.
45  */
46 
47 gboolean
48 gnc_dialog_dates_acct_question_parented (GtkWidget *parent, const char *message,
49  const char *ddue_label_message,
50  const char *post_label_message,
51  const char *acct_label_message,
52  const char *question_check_message,
53  gboolean ok_is_default,
54  gboolean set_default_acct,
55  GList * acct_types, GList * acct_commodities,
56  QofBook *book, GncBillTerm *terms,
57  /* Returned Data... */
58  time64 *ddue, time64 *post,
59  char **memo, Account **acct, gboolean *answer);
60 
61 
62 gboolean
63 gnc_dialog_date_acct_parented (GtkWidget *parent, const char *message,
64  const char *date_label_message,
65  const char *acct_label_message,
66  gboolean ok_is_default,
67  GList * acct_types, QofBook *book,
68  /* Returned Data... */
69  time64 *date, Account **acct);
70 
71 #endif /* _DIALOG_DATE_CLOSE_H */
STRUCTS.
Account handling public routines.
gint64 time64
Most systems that are currently maintained, including Microsoft Windows, BSD-derived Unixes and Linux...
Definition: gnc-date.h:87
Billing Term interface.