GnuCash  5.6-150-g038405b370+
dialog-sx-editor.h
1 /********************************************************************\
2  * dialog-sx-editor.h : dialog for scheduled transaction editing *
3  * Copyright (C) 2001,2006 Joshua Sled <jsled@asynchronous.org> *
4  * *
5  * This program is free software; you can redistribute it and/or *
6  * modify it under the terms of version 2 and/or version 3 of the *
7  * GNU General Public License as published by the Free Software *
8  * Foundation. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public License*
16  * along with this program; if not, contact: *
17  * *
18  * Free Software Foundation Voice: +1-617-542-5942 *
19  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
20  * Boston, MA 02110-1301, USA gnu@gnu.org *
21 \********************************************************************/
22 
23 #ifndef DIALOG_SX_EDITOR_H
24 #define DIALOG_SX_EDITOR_H
25 
26 #include "SchedXaction.h"
27 #include <gtk/gtk.h>
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 #define DIALOG_SCHEDXACTION_CM_CLASS "dialog-scheduledtransactions"
34 #define DIALOG_SCHEDXACTION_EDITOR_CM_CLASS "dialog-scheduledtransaction-editor"
35 
36 #define GNC_PREFS_GROUP_SXED "dialogs.sxs.transaction-editor"
37 #define GNC_PREF_CREATE_DAYS "create-days"
38 #define GNC_PREF_REMIND_DAYS "remind-days"
39 #define GNC_PREF_CREATE_AUTO "create-auto"
40 #define GNC_PREF_NOTIFY "notify"
41 
42 typedef struct _GncSxEditorDialog GncSxEditorDialog;
43 
44 GncSxEditorDialog* gnc_ui_scheduled_xaction_editor_dialog_create(GtkWindow *parent,
45  SchedXaction *sx, gboolean newSX);
46 
47 void gnc_ui_scheduled_xaction_editor_dialog_destroy(GncSxEditorDialog *sxd);
48 
53 void gnc_ui_sx_initialize (void);
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 
59 #endif
Scheduled Transactions public handling routines.