Add MMDVM lock file based on an idea by DB1OFH.

This commit is contained in:
Jonathan Naylor
2018-10-10 20:05:24 +01:00
parent 867e1745d8
commit edaf37101a
6 changed files with 93 additions and 4 deletions

8
Conf.h
View File

@@ -262,6 +262,11 @@ public:
bool getLCDprocUTC() const;
bool getLCDprocDimOnIdle() const;
// The Lock File section
bool getLockFileEnabled() const;
std::string getLockFileName() const;
private:
std::string m_file;
std::string m_callsign;
@@ -469,6 +474,9 @@ private:
bool m_lcdprocDisplayClock;
bool m_lcdprocUTC;
bool m_lcdprocDimOnIdle;
bool m_lockFileEnabled;
std::string m_lockFileName;
};
#endif