version bump
[profile/ivi/wrt-plugins-ivi.git] / Vehicle.h
1 #ifndef VEHICLE_H
2 #define VEHICLE_H
3
4 #include <list>
5 #include <string>
6 #include <dpl/mutex.h>
7 #include <dpl/shared_ptr.h>
8
9 #include "EventVehiclePropertyChanged.h"
10
11 class AbstractPropertyType;
12
13 namespace DeviceAPI {
14 namespace Vehicle {
15
16 class VehicleMaster: public WrtDeviceApis::Commons::EventRequestReceiver<EventVehiclePropertyChanged>   
17 {
18 public:
19         
20         VehicleMaster();
21
22         std::list<AbstractPropertyType*> get(std::string property);
23         
24         void addEventListener(std::string property, EventVehiclePropertyChangedPtr& event);
25
26         
27         void OnRequestReceived(const EventVehiclePropertyChangedPtr &event)
28         {
29         }
30 };
31
32 typedef DPL::SharedPtr<VehicleMaster> VehiclePtr;
33
34
35 }
36 }
37 #endif // VEHICLE_H