/*
- 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:
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
- LogEntry (int type);
+ explicit LogEntry (int type);
virtual ~LogEntry () {}
virtual std::string message () const = 0;
int _type;
};
+
#endif