-rw-r--r-- | library/storage.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/library/storage.h b/library/storage.h index 66a9f9d..0a0698f 100644 --- a/library/storage.h +++ b/library/storage.h | |||
@@ -23,27 +23,29 @@ | |||
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 | 37 | static bool hasCf(); | |
38 | static bool hasSd(); | ||
39 | static bool hasMmc(); | ||
38 | signals: | 40 | signals: |
39 | void disksChanged(); | 41 | void disksChanged(); |
40 | 42 | ||
41 | public slots: | 43 | public slots: |
42 | void update(); | 44 | void update(); |
43 | 45 | ||
44 | private slots: | 46 | private slots: |
45 | void cardMessage( const QCString& msg, const QByteArray& data ); | 47 | void cardMessage( const QCString& msg, const QByteArray& data ); |
46 | private: | 48 | private: |
47 | QList<FileSystem> mFileSystems; | 49 | QList<FileSystem> mFileSystems; |
48 | QCopChannel *channel; | 50 | QCopChannel *channel; |
49 | }; | 51 | }; |