GnuCash
5.6-150-g038405b370+
|
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. More... | |
void | gnc_features_set_unused (QofBook *book, const gchar *feature) |
Indicate that the current book does not use the given feature. More... | |
void | gnc_features_set_used (QofBook *book, const gchar *feature) |
Indicate that the current book uses the given feature. More... | |
gboolean | gnc_features_check_used (QofBook *, char const *feature) |
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.