summaryrefslogtreecommitdiff
path: root/library/storage.h
Unidiff
Diffstat (limited to 'library/storage.h') (more/less context) (ignore whitespace changes)
-rw-r--r--library/storage.h14
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
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 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();
40signals: 44signals:
41 void disksChanged(); 45 void disksChanged();
42 46
43public slots: 47public slots:
44 void update(); 48 void update();
45 49
46private slots: 50private slots:
47 void cardMessage( const QCString& msg, const QByteArray& data ); 51 void cardMessage( const QCString& msg, const QByteArray& data );
48private: 52private:
49 QList<FileSystem> mFileSystems; 53 QList<FileSystem> mFileSystems;
50 QCopChannel *channel; 54 QCopChannel *channel;
51}; 55};