author | ar <ar> | 2004-01-07 20:22:49 (UTC) |
---|---|---|
committer | ar <ar> | 2004-01-07 20:22:49 (UTC) |
commit | dd56d03c7a07ad1cf4f715ba22cbbf6b3d8392e8 (patch) (unidiff) | |
tree | 92c625add3c9d24e65c1550bc5449420a85342ce /library/storage.h | |
parent | 24a62e8789083f446138aebfa11409b73886aa88 (diff) | |
download | opie-dd56d03c7a07ad1cf4f715ba22cbbf6b3d8392e8.zip opie-dd56d03c7a07ad1cf4f715ba22cbbf6b3d8392e8.tar.gz opie-dd56d03c7a07ad1cf4f715ba22cbbf6b3d8392e8.tar.bz2 |
new functions getCfPath, getSdPath, getMmcPath returns mountpoints
-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 | |||
@@ -29,17 +29,21 @@ class QCopChannel; | |||
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 | ||