summaryrefslogtreecommitdiffstats
path: root/media/mtp/MtpDatabase.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/mtp/MtpDatabase.h')
-rw-r--r--media/mtp/MtpDatabase.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/media/mtp/MtpDatabase.h b/media/mtp/MtpDatabase.h
index 0c70d9f..a6aaf0f 100644
--- a/media/mtp/MtpDatabase.h
+++ b/media/mtp/MtpDatabase.h
@@ -26,9 +26,7 @@ class MtpDataPacket;
class MtpDatabase {
public:
- virtual ~MtpDatabase();
-
- static uint32_t getTableForFile(MtpObjectFormat format);
+ virtual ~MtpDatabase() {}
virtual MtpObjectHandle getObjectHandle(const char* path) = 0;
virtual MtpObjectHandle addFile(const char* path,
@@ -38,20 +36,6 @@ public:
uint64_t size,
time_t modified) = 0;
- virtual MtpObjectHandle addAudioFile(MtpObjectHandle id) = 0;
-
- virtual MtpObjectHandle addAudioFile(MtpObjectHandle id,
- const char* title,
- const char* artist,
- const char* album,
- const char* albumArtist,
- const char* genre,
- const char* composer,
- const char* mimeType,
- int track,
- int year,
- int duration) = 0;
-
virtual MtpObjectHandleList* getObjectList(MtpStorageID storageID,
MtpObjectFormat format,
MtpObjectHandle parent) = 0;