1
/********************************************************************\
2
* dialog-sx-editor.h : dialog for scheduled transaction editing *
3
* Copyright (C) 2001,2006 Joshua Sled <jsled@asynchronous.org> *
5
* This program is free software; you can redistribute it and/or *
6
* modify it under the terms of version 2 of the GNU General Public *
7
* License as published by the Free Software Foundation. *
9
* This program is distributed in the hope that it will be useful, *
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12
* GNU General Public License for more details. *
14
* You should have received a copy of the GNU General Public License*
15
* along with this program; if not, contact: *
17
* Free Software Foundation Voice: +1-617-542-5942 *
18
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
19
* Boston, MA 02110-1301, USA gnu@gnu.org *
20
\********************************************************************/
22
#ifndef DIALOG_SX_EDITOR_H
23
#define DIALOG_SX_EDITOR_H
25
#include "SchedXaction.h"
27
#define DIALOG_SCHEDXACTION_CM_CLASS "dialog-scheduledtransactions"
28
#define DIALOG_SCHEDXACTION_EDITOR_CM_CLASS "dialog-scheduledtransaction-editor"
30
#define SXED_GCONF_SECTION "dialogs/scheduled_trans/transaction_editor"
31
#define KEY_CREATE_AUTO "create_auto"
32
#define KEY_NOTIFY "notify"
33
#define KEY_CREATE_DAYS "create_days"
34
#define KEY_REMIND_DAYS "remind_days"
36
typedef struct _GncSxEditorDialog GncSxEditorDialog;
38
GncSxEditorDialog* gnc_ui_scheduled_xaction_editor_dialog_create(SchedXaction *sx,
41
void gnc_ui_scheduled_xaction_editor_dialog_destroy(GncSxEditorDialog *sxd);
44
* Sets up a book opened hook. The function called may open a "since
45
* last run" dialog based upon the user's preferences.
47
void gnc_ui_sx_initialize (void);