projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update audiographer GPL boilerplate and (C) from git log
[ardour.git]
/
libs
/
audiographer
/
audiographer
/
debuggable.h
diff --git
a/libs/audiographer/audiographer/debuggable.h
b/libs/audiographer/audiographer/debuggable.h
index 7835849f277a75a816c5f2eb721b68ab82e8a70a..6ca544a87e46d888ae314df8df848a9479fca703 100644
(file)
--- a/
libs/audiographer/audiographer/debuggable.h
+++ b/
libs/audiographer/audiographer/debuggable.h
@@
-7,11
+7,13
@@
#include <iostream>
#include <iostream>
+#include "audiographer/visibility.h"
+
namespace AudioGrapher
{
/// Compile time defined debug level
namespace AudioGrapher
{
/// Compile time defined debug level
-enum DebugLevel
+enum
LIBAUDIOGRAPHER_API
DebugLevel
{
DebugNone, ///< Disabled
DebugObject, ///< Object level stuff, ctors, initalizers etc.
{
DebugNone, ///< Disabled
DebugObject, ///< Object level stuff, ctors, initalizers etc.
@@
-22,7
+24,7
@@
enum DebugLevel
};
/** Class that allows optimizing out debugging code during compile time.
};
/** Class that allows optimizing out debugging code during compile time.
- * Usage: to take all advantage of this class you should wrap all
+ * Usage: to take all advantage of this class you should wrap all
* debugging statemets like this:
* \code
* if (debug_level (SomeDebugLevel) && other_optional_conditionals) {
* debugging statemets like this:
* \code
* if (debug_level (SomeDebugLevel) && other_optional_conditionals) {
@@
-36,7
+38,7
@@
enum DebugLevel
* logical and (short-circuiting).
*/
template<DebugLevel L = DEFAULT_DEBUG_LEVEL>
* logical and (short-circuiting).
*/
template<DebugLevel L = DEFAULT_DEBUG_LEVEL>
-class Debuggable
+class
/*LIBAUDIOGRAPHER_API*/
Debuggable
{
protected:
Debuggable(std::ostream & debug_stream = std::cerr)
{
protected:
Debuggable(std::ostream & debug_stream = std::cerr)