|
GnuCash c935c2f+
|
Files | |
| file | gnc-features.h |
| Utility functions for file access. | |
Functions | |
| gchar * | gnc_features_test_unknown (QofBook *book) |
| Test if the current book relies on features only introduced in a more recent version of GnuCash. | |
| void | gnc_features_set_unused (QofBook *book, const gchar *feature) |
| Indicate that the current book does not use the given feature. | |
| void | gnc_features_set_used (QofBook *book, const gchar *feature) |
| Indicate that the current book uses the given feature. | |
| gboolean | gnc_features_check_used (QofBook *, char const *feature) |
Defined features | |
| #define | GNC_FEATURE_CREDIT_NOTES "Credit Notes" |
| #define | GNC_FEATURE_NUM_FIELD_SOURCE "Number Field Source" |
| #define | GNC_FEATURE_KVP_EXTRA_DATA "Extra data in addresses, jobs or invoice entries" |
| #define | GNC_FEATURE_BOOK_CURRENCY "Use a Book-Currency" |
| #define | GNC_FEATURE_GUID_BAYESIAN "Account GUID based Bayesian data" |
| #define | GNC_FEATURE_GUID_FLAT_BAYESIAN "Account GUID based bayesian with flat KVP" |
| #define | GNC_FEATURE_SQLITE3_ISO_DATES "ISO-8601 formatted date strings in SQLite3 databases." |
| #define | GNC_FEATURE_REG_SORT_FILTER "Register sort and filter settings stored in .gcm file" |
| #define | GNC_FEATURE_BUDGET_UNREVERSED "Use natural signs in budget amounts" |
| #define | GNC_FEATURE_BUDGET_SHOW_EXTRA_ACCOUNT_COLS "Show extra account columns in the Budget View" |
| #define | GNC_FEATURE_EQUITY_TYPE_OPENING_BALANCE "Use a dedicated opening balance account identified by an 'equity-type' slot" |
| #define GNC_FEATURE_BOOK_CURRENCY "Use a Book-Currency" |
Definition at line 57 of file gnc-features.h.
| #define GNC_FEATURE_BUDGET_SHOW_EXTRA_ACCOUNT_COLS "Show extra account columns in the Budget View" |
Definition at line 63 of file gnc-features.h.
| #define GNC_FEATURE_BUDGET_UNREVERSED "Use natural signs in budget amounts" |
Definition at line 62 of file gnc-features.h.
| #define GNC_FEATURE_CREDIT_NOTES "Credit Notes" |
Definition at line 54 of file gnc-features.h.
| #define GNC_FEATURE_EQUITY_TYPE_OPENING_BALANCE "Use a dedicated opening balance account identified by an 'equity-type' slot" |
Definition at line 64 of file gnc-features.h.
| #define GNC_FEATURE_GUID_BAYESIAN "Account GUID based Bayesian data" |
Definition at line 58 of file gnc-features.h.
| #define GNC_FEATURE_GUID_FLAT_BAYESIAN "Account GUID based bayesian with flat KVP" |
Definition at line 59 of file gnc-features.h.
| #define GNC_FEATURE_KVP_EXTRA_DATA "Extra data in addresses, jobs or invoice entries" |
Definition at line 56 of file gnc-features.h.
| #define GNC_FEATURE_NUM_FIELD_SOURCE "Number Field Source" |
Definition at line 55 of file gnc-features.h.
| #define GNC_FEATURE_REG_SORT_FILTER "Register sort and filter settings stored in .gcm file" |
Definition at line 61 of file gnc-features.h.
| #define GNC_FEATURE_SQLITE3_ISO_DATES "ISO-8601 formatted date strings in SQLite3 databases." |
Definition at line 60 of file gnc-features.h.
| void gnc_features_set_unused | ( | QofBook * | book, |
| const gchar * | feature | ||
| ) |
Indicate that the current book does not use the given feature.
This will allow older versions of GnuCash that don't support this feature to load this book.
Definition at line 124 of file gnc-features.cpp.
| void gnc_features_set_used | ( | QofBook * | book, |
| const gchar * | feature | ||
| ) |
Indicate that the current book uses the given feature.
This will prevent older versions of GnuCash that don't support this feature to refuse to load this book.
Definition at line 107 of file gnc-features.cpp.
| gchar * gnc_features_test_unknown | ( | QofBook * | book | ) |
Test if the current book relies on features only introduced in a more recent version of GnuCash.
Returns a message to display if we found unknown features, NULL if we're okay.
Definition at line 82 of file gnc-features.cpp.