diff options
Diffstat (limited to 'media/mtp/MtpServer.h')
-rw-r--r-- | media/mtp/MtpServer.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/media/mtp/MtpServer.h b/media/mtp/MtpServer.h index 25635af..09556b3 100644 --- a/media/mtp/MtpServer.h +++ b/media/mtp/MtpServer.h @@ -26,9 +26,9 @@ namespace android { -class MtpStorage; -class MtpSqliteDatabase; +class MtpDatabase; class MtpProperty; +class MtpStorage; class MtpServer { @@ -36,10 +36,7 @@ private: // file descriptor for MTP kernel driver int mFD; - // path to our sqlite3 database - const char* mDatabasePath; - - MtpSqliteDatabase* mDatabase; + MtpDatabase* mDatabase; // group to own new files and folders int mFileGroup; @@ -67,7 +64,7 @@ private: size_t mSendObjectFileSize; public: - MtpServer(int fd, const char* databasePath, + MtpServer(int fd, MtpDatabase* database, int fileGroup, int filePerm, int directoryPerm); virtual ~MtpServer(); |