summaryrefslogtreecommitdiffstats
path: root/mtp/mtp_MtpServer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'mtp/mtp_MtpServer.hpp')
-rwxr-xr-xmtp/mtp_MtpServer.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/mtp/mtp_MtpServer.hpp b/mtp/mtp_MtpServer.hpp
index 3153e80bf..622ed6d6f 100755
--- a/mtp/mtp_MtpServer.hpp
+++ b/mtp/mtp_MtpServer.hpp
@@ -52,11 +52,16 @@ class twmtp_MtpServer {
void add_storage();
void remove_storage(int storageId);
void set_storages(storages* mtpstorages);
+ void set_read_pipe(int pipe);
storages *stores;
private:
+ typedef int (twmtp_MtpServer::*ThreadPtr)(void);
+ typedef void* (*PThreadPtr)(void *);
+ int mtppipe_thread(void);
bool usePtp;
MtpServer* server;
MtpServer* refserver;
+ int mtp_read_pipe;
};
#endif