|
|
@ -168,6 +168,7 @@ public:
|
|
|
|
CPhoneDevice* device;
|
|
|
|
CPhoneDevice* device;
|
|
|
|
unsigned int timerType;
|
|
|
|
unsigned int timerType;
|
|
|
|
unsigned long times;
|
|
|
|
unsigned long times;
|
|
|
|
|
|
|
|
void* data;
|
|
|
|
unsigned long expectedTimes;
|
|
|
|
unsigned long expectedTimes;
|
|
|
|
unsigned long uid;
|
|
|
|
unsigned long uid;
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -187,7 +188,7 @@ public:
|
|
|
|
virtual timer_uid_t RegisterHeartbeat(unsigned int timerType, unsigned int timeout);
|
|
|
|
virtual timer_uid_t RegisterHeartbeat(unsigned int timerType, unsigned int timeout);
|
|
|
|
virtual bool TakePhoto(const IDevice::PHOTO_INFO& photoInfo, const vector<OSD_INFO>& osds, const std::string& path);
|
|
|
|
virtual bool TakePhoto(const IDevice::PHOTO_INFO& photoInfo, const vector<OSD_INFO>& osds, const std::string& path);
|
|
|
|
virtual bool CloseCamera();
|
|
|
|
virtual bool CloseCamera();
|
|
|
|
virtual timer_uid_t RegisterTimer(unsigned int timerType, unsigned int timeout, unsigned long times = 0);
|
|
|
|
virtual timer_uid_t RegisterTimer(unsigned int timerType, unsigned int timeout, void* data, unsigned long times = 0);
|
|
|
|
virtual bool UnregisterTimer(timer_uid_t uid);
|
|
|
|
virtual bool UnregisterTimer(timer_uid_t uid);
|
|
|
|
virtual unsigned long RequestWakelock(unsigned long timeout);
|
|
|
|
virtual unsigned long RequestWakelock(unsigned long timeout);
|
|
|
|
virtual bool ReleaseWakelock(unsigned long wakelock);
|
|
|
|
virtual bool ReleaseWakelock(unsigned long wakelock);
|
|
|
|