Make sure that BaseWorker deletes the thread when is finished.
Implemented ClientManager so it can manage the usb and wireless threads. Impelmented better mutex logic on CmaClient. Execute the cma events in a different thread so the event listener is available. Code refactoring. Fix memory leaks in threads. Updated readme.
This commit is contained in:
18
capability.h
18
capability.h
@@ -20,9 +20,7 @@
|
||||
#ifndef CAPABILITY_H
|
||||
#define CAPABILITY_H
|
||||
|
||||
extern "C" {
|
||||
#include <vitamtp.h>
|
||||
}
|
||||
|
||||
class DeviceCapability
|
||||
{
|
||||
@@ -31,10 +29,18 @@ public:
|
||||
bool exchangeInfo(vita_device_t *device);
|
||||
|
||||
//TODO: vita_info_t doesn't retrieve this info, update vitamtp to get it
|
||||
const char *getVersion() { return ""; }
|
||||
const char *getProtocol() { return ""; }
|
||||
const char *getOnlineId() { return "PS Vita"; }
|
||||
const char *getModelInfo() { return ""; }
|
||||
const char *getVersion() {
|
||||
return "";
|
||||
}
|
||||
const char *getProtocol() {
|
||||
return "";
|
||||
}
|
||||
const char *getOnlineId() {
|
||||
return "PS Vita";
|
||||
}
|
||||
const char *getModelInfo() {
|
||||
return "";
|
||||
}
|
||||
|
||||
private:
|
||||
capability_info_t *generate_pc_capability_info();
|
||||
|
Reference in New Issue
Block a user