summaryrefslogtreecommitdiff
path: root/library/storage.h
Unidiff
Diffstat (limited to 'library/storage.h') (more/less context) (ignore whitespace changes)
-rw-r--r--library/storage.h8
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
26class FileSystem; 26class FileSystem;
27class QCopChannel; 27class QCopChannel;
28 28
29class StorageInfo : public QObject 29class StorageInfo : public QObject
30{ 30{
31 Q_OBJECT 31 Q_OBJECT
32public: 32public:
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();
38signals: 40signals:
39 void disksChanged(); 41 void disksChanged();
40 42
41public slots: 43public slots:
42 void update(); 44 void update();
43 45
44private slots: 46private slots:
45 void cardMessage( const QCString& msg, const QByteArray& data ); 47 void cardMessage( const QCString& msg, const QByteArray& data );
46private: 48private:
47 QList<FileSystem> mFileSystems; 49 QList<FileSystem> mFileSystems;
48 QCopChannel *channel; 50 QCopChannel *channel;
49}; 51};