-rw-r--r-- | libopie2/opiecore/ostorageinfo.cpp | 11 | ||||
-rw-r--r-- | libopie2/opiecore/ostorageinfo.h | 21 |
2 files changed, 19 insertions, 13 deletions
diff --git a/libopie2/opiecore/ostorageinfo.cpp b/libopie2/opiecore/ostorageinfo.cpp index a45fcb6..aa8d2fc 100644 --- a/libopie2/opiecore/ostorageinfo.cpp +++ b/libopie2/opiecore/ostorageinfo.cpp @@ -1,7 +1,7 @@ /* This file is part of the Opie Project Copyright (C) 2004 Andreas 'ar' Richter <ar@oszine.de> - =. + =. .=l. .>+-= _;:, .> :=|. This program is free software; you can @@ -53,10 +53,6 @@ QString OStorageInfo::cfPath()const return r; } -/*! -* @brief returns the Mount-Path of Sd Card -* -*/ QString OStorageInfo::sdPath()const { QString r = ""; @@ -72,10 +68,6 @@ QString OStorageInfo::sdPath()const return r; } -/*! -* @brief returns the Mount-Path of Mmc Card -* -*/ QString OStorageInfo::mmcPath()const { QString r = ""; @@ -90,3 +82,4 @@ QString OStorageInfo::mmcPath()const } return r; } + diff --git a/libopie2/opiecore/ostorageinfo.h b/libopie2/opiecore/ostorageinfo.h index 9b61a2e..740fa85 100644 --- a/libopie2/opiecore/ostorageinfo.h +++ b/libopie2/opiecore/ostorageinfo.h @@ -37,13 +37,26 @@ class OStorageInfo : public StorageInfo Q_OBJECT public: -public: + OStorageInfo( QObject *parent=0 ); ~OStorageInfo(); - QString cfPath()const; - QString sdPath()const; - QString mmcPath()const; + /** + * @returns the mount path of the CF (Compact Flash) card + * + **/ + QString cfPath() const; + /** + * @returns the mount path of the SD (Secure Digital) card + * + **/ + QString sdPath() const; + /** + * @returns the mount path of the MMC (MultiMedia) card + * + **/ + QString mmcPath() const; }; #endif // OSTORAGE_H + |