RecordControlApplication/Constant.h

36 lines
1.5 KiB
C
Raw Normal View History

2024-03-04 16:22:40 +08:00
#ifndef CONSTANT_H
#define CONSTANT_H
class Constant {
public:
Constant() { }
2024-03-04 16:22:40 +08:00
enum RecordMode {
NoChannelRecord,
OneChannelRecord,
TwoChannelRecord
};
enum PlaybackMode {
OneChannelPlayback = 1,
TwoChannelPlayback = 2
};
2024-08-12 11:26:42 +08:00
2024-03-04 16:22:40 +08:00
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* TimeSciptPath = "/opt/RecordControlApplication/scripts/rtc";
2024-08-12 11:26:42 +08:00
static constexpr char* DatabasePath = "/opt/RecordControlApplication/database/data.db";
2024-03-04 16:22:40 +08:00
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";
2024-08-12 11:26:42 +08:00
static constexpr char* MainChannel = "HDMI-A";
static constexpr char* SecondaryChannel = "HDMI-B";
static constexpr char* RecordOverlay = "/opt/RecordControlApplication/overlay/record.json";
static constexpr char* NoRecordOverlay = "/opt/RecordControlApplication/overlay/no-record.json";
2024-03-04 16:22:40 +08:00
};
#endif // CONSTANT_H