mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
Ref T149, return number of removed elements
This commit is contained in:
committed by
Mathew Sutcliffe
parent
f8e672b04f
commit
815cf75f66
@@ -78,13 +78,13 @@ namespace BlackMisc
|
||||
OBJ oldestObject() const;
|
||||
|
||||
//! Remove objects with timestamp before dateTime
|
||||
void removeBefore(const QDateTime &dateTime);
|
||||
int removeBefore(const QDateTime &dateTime);
|
||||
|
||||
//! Remove objects with timestamp before dateTime
|
||||
void removeBefore(qint64 msSinceEpoch);
|
||||
int removeBefore(qint64 msSinceEpoch);
|
||||
|
||||
//! Remove objects older than seconds
|
||||
void removeOlderThanNowMinusOffset(qint64 offsetMs);
|
||||
int removeOlderThanNowMinusOffset(qint64 offsetMs);
|
||||
|
||||
//! Sort by timestamp
|
||||
void sortLatestFirst();
|
||||
|
||||
Reference in New Issue
Block a user