summaryrefslogtreecommitdiff
path: root/p2pvr/daemon/si.h
blob: dd48d779377381f13176dbe8df176a126711f0ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef P2PVR_SI_H
#define P2PVR_SI_H

#include <p2pvr.h>
#include "dbClient.h"

class SI : public P2PVR::SI, public DatabaseClient {
	public:
		P2PVR::Deliveries GetAllDeliveries(short type, const Ice::Current &);
		DVBSI::DeliveryPtr GetDeliveryForService(int id, const Ice::Current &);
		DVBSI::DeliveryPtr GetDeliveryForTransport(int id, const Ice::Current &);
		DVBSI::DeliveryPtr GetDeliveryForSi(const Ice::Current &);

		DVBSI::ServiceList GetServices(const Ice::Current &);
		DVBSI::ServicePtr GetService(int id, const Ice::Current &);

		DVBSI::EventPtr GetEvent(int serviceId, int eventId, const Ice::Current &);
		DVBSI::Events EventsOnNow(const Ice::Current &);
		DVBSI::Events EventsInSchedules(const Ice::Current &);
		DVBSI::Events EventsInSchedule(int scheduleId, const Ice::Current &);
		DVBSI::Events EventsInRange(const Common::DateTime &, const Common::DateTime &, const Ice::Current &);
    DVBSI::Events EventSearch(const IceUtil::Optional<std::string> & keywords, const IceUtil::Optional<Ice::Int> & serviceId, const IceUtil::Optional<Common::DateTime> & from, const IceUtil::Optional<Common::DateTime> & to, const Ice::Current &);
};

#endif