X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fdcpomatic_log.h;h=2cec0c40558a23661c0c01215ad9b20c274a6de6;hp=b68d41ea918706256b38521498216a86aad8ce56;hb=a5be11a965c2c38442e4e069874e7e21b5b43a5c;hpb=befd7e041724c141f2178aa6646b6425e00c8cc4 diff --git a/src/lib/dcpomatic_log.h b/src/lib/dcpomatic_log.h index b68d41ea9..2cec0c405 100644 --- a/src/lib/dcpomatic_log.h +++ b/src/lib/dcpomatic_log.h @@ -18,10 +18,10 @@ */ +#include "log.h" +#include "compose.hpp" #include -class Log; - /** The current log; set up by the front-ends when they have a Film to log into */ extern boost::shared_ptr dcpomatic_log; @@ -33,3 +33,4 @@ extern boost::shared_ptr dcpomatic_log; #define LOG_WARNING_NC(...) dcpomatic_log->log(__VA_ARGS__, LogEntry::TYPE_WARNING); #define LOG_TIMING(...) dcpomatic_log->log(String::compose(__VA_ARGS__), LogEntry::TYPE_TIMING); #define LOG_DEBUG_ENCODE(...) dcpomatic_log->log(String::compose(__VA_ARGS__), LogEntry::TYPE_DEBUG_ENCODE); +#define LOG_DEBUG_PLAYER(...) dcpomatic_log->log(String::compose(__VA_ARGS__), LogEntry::TYPE_DEBUG_PLAYER);