d588620e70bf15da29cc242e4ae8d86977e8f36a from master; fix hang if you cancel a paused...
[dcpomatic.git] / src / lib / log.h
index cee1ce495e1a3f2fc8e5dd3a3a2882fba0b552a6..f83c6a90204ef675c93a89f7b0100f760c7efe01 100644 (file)
  *  @brief A very simple logging class.
  */
 
-#include <string>
+#include <dcp/types.h>
 #include <boost/thread/mutex.hpp>
 #include <boost/filesystem.hpp>
 #include <boost/signals2.hpp>
+#include <string>
 
 /** @class Log
  *  @brief A very simple logging class.
@@ -41,10 +42,12 @@ public:
        static const int TYPE_GENERAL;
        static const int TYPE_WARNING;
        static const int TYPE_ERROR;
+       static const int TYPE_DEBUG;
        static const int TYPE_TIMING;
 
        void log (std::string message, int type);
        void microsecond_log (std::string message, int type);
+       void dcp_log (dcp::NoteType type, std::string message);
 
        void set_types (int types);