forked from Silverfish/proton-bridge
chore: do not use C++ 20 std::ranges.
This commit is contained in:
@ -32,6 +32,10 @@ QString const dateTimeFormat = "yyyyMMdd_hhmmsszzz"; ///< The format string for
|
||||
namespace bridgepp {
|
||||
|
||||
|
||||
QString const sessionIDFlag = "session-id";
|
||||
QString const hyphenatedSessionIDFlag = "--" + sessionIDFlag;
|
||||
|
||||
|
||||
//****************************************************************************************************************************************************
|
||||
/// \return a new session ID based on the current local date/time
|
||||
//****************************************************************************************************************************************************
|
||||
|
||||
@ -23,6 +23,10 @@
|
||||
namespace bridgepp {
|
||||
|
||||
|
||||
extern QString const sessionIDFlag; ///< The sessionID command-line flag (without hyphens)
|
||||
extern QString const hyphenatedSessionIDFlag; ///< The sessionID command-line flag (with two hyphens)
|
||||
|
||||
|
||||
QString newSessionID(); ///< Create a new sessions
|
||||
QDateTime sessionIDToDateTime(QString const &sessionID); ///< Parse the date/time from a sessionID.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user