summaryrefslogtreecommitdiffstats
path: root/media/mtp/MtpServer.h
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2010-07-02 14:03:31 -0400
committerMike Lockwood <lockwood@android.com>2010-07-02 14:14:06 -0400
commit0250361b110267a139cc0865ff7d2f13b4d63bdf (patch)
treea2a5f01424d963c2b24d2fca8e2c59095ce404f8 /media/mtp/MtpServer.h
parentfc20aab463f527ab3b0664986f0381a86b375884 (diff)
downloadframeworks_av-0250361b110267a139cc0865ff7d2f13b4d63bdf.zip
frameworks_av-0250361b110267a139cc0865ff7d2f13b4d63bdf.tar.gz
frameworks_av-0250361b110267a139cc0865ff7d2f13b4d63bdf.tar.bz2
MTP: Make MtpDatabase class abstract so we can have multiple implementations
Rename existing test database to MtpSqliteDatabase This is the first step in transitioning to using the media provider database Change-Id: I5f36c854c6e76a79137c267b000a52ced803776c Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'media/mtp/MtpServer.h')
-rw-r--r--media/mtp/MtpServer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/mtp/MtpServer.h b/media/mtp/MtpServer.h
index 40329c5..42261a9 100644
--- a/media/mtp/MtpServer.h
+++ b/media/mtp/MtpServer.h
@@ -27,7 +27,7 @@
namespace android {
class MtpStorage;
-class MtpDatabase;
+class MtpSqliteDatabase;
class MtpProperty;
class MtpServer {
@@ -39,7 +39,7 @@ private:
// path to our sqlite3 database
const char* mDatabasePath;
- MtpDatabase* mDatabase;
+ MtpSqliteDatabase* mDatabase;
// current session ID
MtpSessionID mSessionID;