-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 @@ -27,21 +27,25 @@ class FileSystem; class QCopChannel; class StorageInfo : public QObject { Q_OBJECT public: StorageInfo( QObject *parent=0 ); - const QList<FileSystem> &fileSystems() const { return mFileSystems; } - const FileSystem *fileSystemOf( const QString &filename ); - static bool hasCf(); - static bool hasSd(); - static bool hasMmc(); + const QList<FileSystem> &fileSystems() const { return mFileSystems; } + const FileSystem *fileSystemOf( const QString &filename ); + static bool hasCf(); + static bool hasSd(); + static bool hasMmc(); + + QString getCfPath(); + QString getSdPath(); + QString getMmcPath(); signals: void disksChanged(); public slots: void update(); private slots: void cardMessage( const QCString& msg, const QByteArray& data ); |