Some AudioGrapher classes need to be exportable now, to support newly introduced...
[ardour.git] / libs / audiographer / audiographer / flag_debuggable.h
index b70480cd91a2bfa75cbda9e632dcc233eb4c8387..5816fe8243a7ca5e6760690e50539a6b848be63d 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef AUDIOGRAPHER_FLAG_DEBUGGABLE_H
 #define AUDIOGRAPHER_FLAG_DEBUGGABLE_H
 
+#include "audiographer/visibility.h"
 #include "debuggable.h"
 #include "debug_utils.h"
 #include "process_context.h"
@@ -13,7 +14,7 @@ namespace AudioGrapher
 
 /// A debugging class for nodes that support a certain set of flags.
 template<DebugLevel L = DEFAULT_DEBUG_LEVEL>
-class FlagDebuggable : public Debuggable<L>
+class LIBAUDIOGRAPHER_API FlagDebuggable : public Debuggable<L>
 {
   public:
        typedef FlagField::Flag Flag;
@@ -25,14 +26,14 @@ class FlagDebuggable : public Debuggable<L>
        {
                flags.set (flag);
        }
-       
+
        /// Prints debug output if \a context contains flags that are not supported by this class
        template<typename SelfType, typename ContextType>
        void check_flags (SelfType & self, ProcessContext<ContextType> context)
        {
                if (!Debuggable<L>::debug_level (DebugFlags)) { return; }
                FlagField unsupported = flags.unsupported_flags_of (context.flags());
-               
+
                for (FlagField::iterator it = unsupported.begin(); it != unsupported.end(); ++it) {
                        Debuggable<L>::debug_stream() << boost::str (boost::format
                                ("%1% does not support flag %2%")