]>
Dogcows Code - chaz/yoink/blob - src/moof/backend.hh
b25e53ae7fbf14c382a93c3b1c6646724a7b26f8
2 /*] Copyright (c) 2009-2011, Charles McGarvey [*****************************
3 **] All rights reserved.
5 * Distributable under the terms and conditions of the 2-clause BSD license;
6 * see the file COPYING for a complete text of the license.
8 *****************************************************************************/
10 #ifndef _MOOF_BACKEND_HH_
11 #define _MOOF_BACKEND_HH_
15 * Initialize the backend libraries and subsystems.
23 * Some classes and subsystems require certain backend libraries to be
24 * initialized. This is the mechanism to accomplish that. Classes which rely
25 * on any backend libraries just need to instantiate this class as a member.
26 * Backend cleanup will occur automagically when there are no more instances.
33 * Construct a backend reference, initializing the backend if it
34 * hasn't already been initialized.
39 * Get whether or not the backend has been initialized.
40 * \return True if the backend is initialized, false otherwise.
42 static bool is_initialized();
44 /* The rest of this stuff is to implement the reference counting. */
46 backend(const backend
& backend
);
47 backend
& operator = (const backend
& backend
);
54 #endif // _MOOF_BACKEND_HH_
This page took 0.032653 seconds and 3 git commands to generate.