summaryrefslogtreecommitdiffstats
path: root/mtp/MtpServer.h
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2015-01-30 17:08:48 +0100
committerDees Troy <dees_troy@teamw.in>2015-02-02 15:45:51 +0100
commit1b03920ca7d576c8400dd006ac1bbdecc1664231 (patch)
treef00558bafaa42a3bcd212ac1ac98b4b4c51f600b /mtp/MtpServer.h
parentgui: simplify code in GUIKeyboard (diff)
downloadandroid_bootable_recovery-1b03920ca7d576c8400dd006ac1bbdecc1664231.tar
android_bootable_recovery-1b03920ca7d576c8400dd006ac1bbdecc1664231.tar.gz
android_bootable_recovery-1b03920ca7d576c8400dd006ac1bbdecc1664231.tar.bz2
android_bootable_recovery-1b03920ca7d576c8400dd006ac1bbdecc1664231.tar.lz
android_bootable_recovery-1b03920ca7d576c8400dd006ac1bbdecc1664231.tar.xz
android_bootable_recovery-1b03920ca7d576c8400dd006ac1bbdecc1664231.tar.zst
android_bootable_recovery-1b03920ca7d576c8400dd006ac1bbdecc1664231.zip
Diffstat (limited to 'mtp/MtpServer.h')
-rwxr-xr-xmtp/MtpServer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mtp/MtpServer.h b/mtp/MtpServer.h
index 61f5ccfac..944331134 100755
--- a/mtp/MtpServer.h
+++ b/mtp/MtpServer.h
@@ -92,7 +92,7 @@ private:
android::Vector<ObjectEdit*> mObjectEditList;
public:
- MtpServer(int fd, MtpDatabase* database, bool ptp,
+ MtpServer(MtpDatabase* database, bool ptp,
int fileGroup, int filePerm, int directoryPerm);
virtual ~MtpServer();
@@ -102,7 +102,7 @@ public:
void addStorage(MtpStorage* storage);
void removeStorage(MtpStorage* storage);
- void run();
+ void run(int fd);
void sendObjectAdded(MtpObjectHandle handle);
void sendObjectRemoved(MtpObjectHandle handle);