-rw-r--r-- | library/storage.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/library/storage.h b/library/storage.h index 0a0698f..35a1109 100644 --- a/library/storage.h +++ b/library/storage.h | |||
@@ -23,29 +23,33 @@ | |||
23 | #include <qobject.h> | 23 | #include <qobject.h> |
24 | #include <qlist.h> | 24 | #include <qlist.h> |
25 | 25 | ||
26 | class FileSystem; | 26 | class FileSystem; |
27 | class QCopChannel; | 27 | class QCopChannel; |
28 | 28 | ||
29 | class StorageInfo : public QObject | 29 | class StorageInfo : public QObject |
30 | { | 30 | { |
31 | Q_OBJECT | 31 | Q_OBJECT |
32 | public: | 32 | public: |
33 | StorageInfo( QObject *parent=0 ); | 33 | StorageInfo( QObject *parent=0 ); |
34 | 34 | ||
35 | const QList<FileSystem> &fileSystems() const { return mFileSystems; } | 35 | const QList<FileSystem> &fileSystems() const { return mFileSystems; } |
36 | const FileSystem *fileSystemOf( const QString &filename ); | 36 | const FileSystem *fileSystemOf( const QString &filename ); |
37 | static bool hasCf(); | 37 | static bool hasCf(); |
38 | static bool hasSd(); | 38 | static bool hasSd(); |
39 | static bool hasMmc(); | 39 | static bool hasMmc(); |
40 | |||
41 | QString getCfPath(); | ||
42 | QString getSdPath(); | ||
43 | QString getMmcPath(); | ||
40 | signals: | 44 | signals: |
41 | void disksChanged(); | 45 | void disksChanged(); |
42 | 46 | ||
43 | public slots: | 47 | public slots: |
44 | void update(); | 48 | void update(); |
45 | 49 | ||
46 | private slots: | 50 | private slots: |
47 | void cardMessage( const QCString& msg, const QByteArray& data ); | 51 | void cardMessage( const QCString& msg, const QByteArray& data ); |
48 | private: | 52 | private: |
49 | QList<FileSystem> mFileSystems; | 53 | QList<FileSystem> mFileSystems; |
50 | QCopChannel *channel; | 54 | QCopChannel *channel; |
51 | }; | 55 | }; |