summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2004-01-13 19:19:34 (UTC)
committer mickeyl <mickeyl>2004-01-13 19:19:34 (UTC)
commit399cf645e63e53043975fa2b26768d8db6d83ee4 (patch) (side-by-side diff)
treed6138ca3bab8edc6b8fd02b134ae2d8e395cee33
parent061ccf5b9d384b1f24d203e96f1f04ccf1dcf133 (diff)
downloadopie-399cf645e63e53043975fa2b26768d8db6d83ee4.zip
opie-399cf645e63e53043975fa2b26768d8db6d83ee4.tar.gz
opie-399cf645e63e53043975fa2b26768d8db6d83ee4.tar.bz2
comments should go into the header file
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiecore/ostorageinfo.cpp9
-rw-r--r--libopie2/opiecore/ostorageinfo.h15
2 files changed, 15 insertions, 9 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
@@ -50,16 +50,12 @@ QString OStorageInfo::cfPath()const
break;
}
}
return r;
}
-/*!
-* @brief returns the Mount-Path of Sd Card
-*
-*/
QString OStorageInfo::sdPath()const
{
QString r = "";
for (QListIterator<FileSystem> i( fileSystems() ); i.current(); ++i)
{
@@ -69,16 +65,12 @@ QString OStorageInfo::sdPath()const
break;
}
}
return r;
}
-/*!
-* @brief returns the Mount-Path of Mmc Card
-*
-*/
QString OStorageInfo::mmcPath()const
{
QString r = "";
for (QListIterator<FileSystem> i( fileSystems() ); i.current(); ++i)
{
@@ -87,6 +79,7 @@ QString OStorageInfo::mmcPath()const
r = (*i)->path();
break;
}
}
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
@@ -34,16 +34,29 @@
class OStorageInfo : public StorageInfo
{
Q_OBJECT
public:
-public:
+
OStorageInfo( QObject *parent=0 );
~OStorageInfo();
+ /**
+ * @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
+