summaryrefslogtreecommitdiff
path: root/p2pvr/lib/tuner.h
diff options
context:
space:
mode:
Diffstat (limited to 'p2pvr/lib/tuner.h')
-rw-r--r--p2pvr/lib/tuner.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/p2pvr/lib/tuner.h b/p2pvr/lib/tuner.h
index 4efde20..08701eb 100644
--- a/p2pvr/lib/tuner.h
+++ b/p2pvr/lib/tuner.h
@@ -29,6 +29,8 @@ class Tuner : public P2PVR::PrivateTuner {
int StartSendingTS(const P2PVR::PacketIds & pids, const P2PVR::RawDataClientPrx & client, const Ice::Current &);
void StopSendingTS(int handle, const Ice::Current &);
+ Ice::Long GetLastUsedTime(const Ice::Current&);
+
private:
static bool crc32(const P2PVR::Data &);
int OpenDemux() const;
@@ -45,6 +47,7 @@ class Tuner : public P2PVR::PrivateTuner {
std::thread * backgroundThread;
std::mutex lock;
+ mutable time_t lastUsedTime;
FrontendPtr frontend;
};