mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[app-utils/gnc-ui-balances.cpp] convert to cpp
This commit is contained in:
parent
c956aa16c7
commit
688032b590
@ -32,7 +32,7 @@ set (app_utils_SOURCES
|
||||
gnc-quotes.cpp
|
||||
gnc-state.c
|
||||
gnc-ui-util.cpp
|
||||
gnc-ui-balances.c
|
||||
gnc-ui-balances.cpp
|
||||
)
|
||||
|
||||
set_source_files_properties (${app_utils_SOURCES} PROPERTIES OBJECT_DEPENDS ${CONFIG_H})
|
||||
|
@ -212,7 +212,7 @@ account_get_balance_as_of_date (Account *account,
|
||||
gnc_commodity *child_currency;
|
||||
gnc_numeric child_balance;
|
||||
|
||||
child = node->data;
|
||||
child = static_cast<Account*>(node->data);
|
||||
child_currency = xaccAccountGetCommodity (child);
|
||||
child_balance = fn (child, date);
|
||||
child_balance =
|
@ -34,6 +34,10 @@
|
||||
#include "gncOwner.h"
|
||||
#include "qof.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/********************************************************************
|
||||
* Balance calculations related to accounts
|
||||
********************************************************************/
|
||||
@ -197,4 +201,8 @@ gchar * gnc_ui_account_get_balance_limit_icon_name (const Account *account);
|
||||
*/
|
||||
gchar * gnc_ui_account_get_balance_limit_explanation (const Account *account);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* GNC_UI_BALANCES_H_ */
|
||||
|
@ -543,7 +543,7 @@ libgnucash/app-utils/gnc-prefs-utils.c
|
||||
libgnucash/app-utils/gnc-quotes.cpp
|
||||
libgnucash/app-utils/gnc-state.c
|
||||
libgnucash/app-utils/gnc-sx-instance-model.c
|
||||
libgnucash/app-utils/gnc-ui-balances.c
|
||||
libgnucash/app-utils/gnc-ui-balances.cpp
|
||||
libgnucash/app-utils/gnc-ui-util.cpp
|
||||
libgnucash/app-utils/QuickFill.c
|
||||
libgnucash/backend/dbi/gnc-backend-dbi.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user