GnuCash  4.8a-80-g9825132ea+
Functions
gnc-features.h File Reference

Utility functions for file access. More...

#include "qof.h"

Go to the source code of this file.

Macros

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"
 

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_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)
 

Detailed Description

Utility functions for file access.

Author
Copyright (C) 2011 Derek Atkins derek.nosp@m.@iht.nosp@m.fp.co.nosp@m.m
Copyright (C) 2012 Geert Janssens geert.nosp@m.@kob.nosp@m.altwi.nosp@m.t.be

These functions help you to manage features that GnuCash supports. This is mainly used to prevent older GnuCash versions from opening book with data they aren't capable of processing properly.

Definition in file gnc-features.h.