Use dcp::file_to_string().
[dcpomatic.git] / src / lib / log_entry.h
index 3d6a9f371990387e8c1d5bc8f7eb6399a3c9a4a9..95c4e4f1f851e31a57230722a1239ce62b1838a8 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2015 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2015-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
 #ifndef DCPOMATIC_LOG_ENTRY_H
 #define DCPOMATIC_LOG_ENTRY_H
 
+
 #include <sys/time.h>
 #include <string>
 
+
 class LogEntry
 {
 public:
@@ -31,10 +34,14 @@ public:
        static const int TYPE_GENERAL;
        static const int TYPE_WARNING;
        static const int TYPE_ERROR;
-       static const int TYPE_DEBUG_DECODE;
+       static const int TYPE_DEBUG_THREE_D;
        static const int TYPE_DEBUG_ENCODE;
        static const int TYPE_TIMING;
        static const int TYPE_DEBUG_EMAIL;
+       static const int TYPE_DEBUG_VIDEO_VIEW; ///< real-time video viewing (i.e. "playback")
+       static const int TYPE_DISK;
+       static const int TYPE_DEBUG_PLAYER;     ///< the Player class
+       static const int TYPE_DEBUG_AUDIO_ANALYSIS; ///< audio analysis job
 
        explicit LogEntry (int type);
        virtual ~LogEntry () {}
@@ -52,4 +59,5 @@ private:
        int _type;
 };
 
+
 #endif