summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2004-01-13 19:19:34 (UTC)
committer mickeyl <mickeyl>2004-01-13 19:19:34 (UTC)
commit399cf645e63e53043975fa2b26768d8db6d83ee4 (patch) (unidiff)
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
50 break; 50 break;
51 } 51 }
52 } 52 }
53 return r; 53 return r;
54} 54}
55 55
56/*!
57* @brief returns the Mount-Path of Sd Card
58*
59*/
60QString OStorageInfo::sdPath()const 56QString OStorageInfo::sdPath()const
61{ 57{
62 QString r = ""; 58 QString r = "";
63 59
64 for (QListIterator<FileSystem> i( fileSystems() ); i.current(); ++i) 60 for (QListIterator<FileSystem> i( fileSystems() ); i.current(); ++i)
65 { 61 {
@@ -69,16 +65,12 @@ QString OStorageInfo::sdPath()const
69 break; 65 break;
70 } 66 }
71 } 67 }
72 return r; 68 return r;
73} 69}
74 70
75/*!
76* @brief returns the Mount-Path of Mmc Card
77*
78*/
79QString OStorageInfo::mmcPath()const 71QString OStorageInfo::mmcPath()const
80{ 72{
81 QString r = ""; 73 QString r = "";
82 74
83 for (QListIterator<FileSystem> i( fileSystems() ); i.current(); ++i) 75 for (QListIterator<FileSystem> i( fileSystems() ); i.current(); ++i)
84 { 76 {
@@ -87,6 +79,7 @@ QString OStorageInfo::mmcPath()const
87 r = (*i)->path(); 79 r = (*i)->path();
88 break; 80 break;
89 } 81 }
90 } 82 }
91 return r; 83 return r;
92} 84}
85
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 @@
34 34
35class OStorageInfo : public StorageInfo 35class OStorageInfo : public StorageInfo
36{ 36{
37 Q_OBJECT 37 Q_OBJECT
38 38
39 public: 39 public:
40public: 40
41 OStorageInfo( QObject *parent=0 ); 41 OStorageInfo( QObject *parent=0 );
42 ~OStorageInfo(); 42 ~OStorageInfo();
43 43
44 /**
45 * @returns the mount path of the CF (Compact Flash) card
46 *
47 **/
44 QString cfPath()const; 48 QString cfPath()const;
49 /**
50 * @returns the mount path of the SD (Secure Digital) card
51 *
52 **/
45 QString sdPath()const; 53 QString sdPath()const;
54 /**
55 * @returns the mount path of the MMC (MultiMedia) card
56 *
57 **/
46 QString mmcPath()const; 58 QString mmcPath()const;
47}; 59};
48 60
49#endif // OSTORAGE_H 61#endif // OSTORAGE_H
62