dialog-account.h (gnucash-5.0.tar.bz2) | : | dialog-account.h (gnucash-5.1.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 29 | skipping to change at line 29 | |||
* Free Software Foundation Voice: +1-617-542-5942 * | * Free Software Foundation Voice: +1-617-542-5942 * | |||
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 * | * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 * | |||
* Boston, MA 02110-1301, USA gnu@gnu.org * | * Boston, MA 02110-1301, USA gnu@gnu.org * | |||
\********************************************************************/ | \********************************************************************/ | |||
#ifndef DIALOG_ACCOUNT_H | #ifndef DIALOG_ACCOUNT_H | |||
#define DIALOG_ACCOUNT_H | #define DIALOG_ACCOUNT_H | |||
#include "Account.h" | #include "Account.h" | |||
#ifdef __cplusplus | ||||
extern "C" { | ||||
#endif | ||||
/* Note: make sure to update the help text for this in prefs.scm if these | /* Note: make sure to update the help text for this in prefs.scm if these | |||
* change! These macros define the account types for which an auto interest | * change! These macros define the account types for which an auto interest | |||
* xfer dialog could pop up, if the user's preferences allow it. | * xfer dialog could pop up, if the user's preferences allow it. | |||
*/ | */ | |||
#define account_type_has_auto_interest_charge(type) (((type) == ACCT_TYPE_CREDI T) || \ | #define account_type_has_auto_interest_charge(type) (((type) == ACCT_TYPE_CREDI T) || \ | |||
((type) == ACCT_TYPE_LIABILITY) ||\ | ((type) == ACCT_TYPE_LIABILITY) ||\ | |||
((type) == ACCT_TYPE_PAYABLE)) | ((type) == ACCT_TYPE_PAYABLE)) | |||
#define account_type_has_auto_interest_payment(type) (((type) == ACCT_TYPE_BANK) || \ | #define account_type_has_auto_interest_payment(type) (((type) == ACCT_TYPE_BANK) || \ | |||
((type) == ACCT_TYPE_ASSET) || \ | ((type) == ACCT_TYPE_ASSET) || \ | |||
skipping to change at line 178 | skipping to change at line 182 | |||
* this is used by the ledger display to destroy ledgers when the | * this is used by the ledger display to destroy ledgers when the | |||
* account type has changed. | * account type has changed. | |||
*/ | */ | |||
void gnc_ui_register_account_destroy_callback (void (*cb)(Account *)); | void gnc_ui_register_account_destroy_callback (void (*cb)(Account *)); | |||
/** @} */ | /** @} */ | |||
void gnc_account_renumber_create_dialog (GtkWidget *window, Account *account); | void gnc_account_renumber_create_dialog (GtkWidget *window, Account *account); | |||
void gnc_account_cascade_properties_dialog (GtkWidget *window, Account *account) ; | void gnc_account_cascade_properties_dialog (GtkWidget *window, Account *account) ; | |||
#ifdef __cplusplus | ||||
} | ||||
#endif | ||||
/** @} */ | /** @} */ | |||
/** @} */ | /** @} */ | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 8 lines changed or added |