25 #ifndef __GNC_BACKEND_PROV_HPP__ 26 #define __GNC_BACKEND_PROV_HPP__ 70 using QofBackendProvider_ptr = std::unique_ptr<QofBackendProvider>;
81 void qof_backend_unregister_all_providers ();
83 #endif // __GNC_BACKEND_PROV_HPP__ void qof_backend_register_provider(QofBackendProvider_ptr &&prov)
Let the system know about a new provider of backends.
virtual QofBackend * create_backend(void)=0
Return a new, fully initialized backend.
virtual bool type_check(const char *)=0
Distinguish two providers with same access method.
const char * provider_name
Some arbitrary name given for this particular backend provider.
const char * access_method
The access method that this provider provides, for example, file:// http:// postgres:// or sqlite://...