RecordControlApplication/Constant.h

31 lines
1.2 KiB
C
Raw Normal View History

2024-03-04 16:22:40 +08:00
#ifndef CONSTANT_H
#define CONSTANT_H
class Constant {
public:
Constant() { }
enum RecordMode {
NoChannelRecord,
OneChannelRecord,
TwoChannelRecord
};
enum PlaybackMode {
OneChannelPlayback = 1,
TwoChannelPlayback = 2
};
static constexpr char* LogPath = "/opt/RecordControlApplication/logs/log.txt";
static constexpr char* ConfigurationPath = "/opt/RecordControlApplication/configuration/config.json";
static constexpr char* NetConfigPath = "/opt/RecordControlApplication/configuration/net.json";
static constexpr char* NetScriptPath = "/opt/RecordControlApplication/scripts/setNetwork.sh";
static constexpr char* VideoPath = "/root/usb/videos";
static constexpr char* MountedPath = "/root/usb";
static constexpr char* ErrorImagePath = "/opt/RecordControlApplication/images/error.jpeg";
static constexpr char* EmptyImagePath = "/opt/RecordControlApplication/images/empty.jpeg";
static constexpr char* FinishImagePath = "/opt/RecordControlApplication/images/finish.jpeg";
static constexpr char* MainChannel = "HDMI-C";
static constexpr char* SecondaryChannel = "HDMI-D";
2024-03-04 16:22:40 +08:00
};
#endif // CONSTANT_H