summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/ostorageinfo.cpp11
-rw-r--r--libopie2/opiecore/ostorageinfo.h21
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 @@
1/* 1/*
2                 This file is part of the Opie Project 2                 This file is part of the Opie Project
3              Copyright (C) 2004 Andreas 'ar' Richter <ar@oszine.de> 3              Copyright (C) 2004 Andreas 'ar' Richter <ar@oszine.de>
4 =. 4 =.
5 .=l. 5 .=l.
6           .>+-= 6           .>+-=
7 _;:,     .>    :=|. This program is free software; you can 7 _;:,     .>    :=|. This program is free software; you can
@@ -53,10 +53,6 @@ QString OStorageInfo::cfPath()const
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 = "";
@@ -72,10 +68,6 @@ QString OStorageInfo::sdPath()const
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 = "";
@@ -90,3 +82,4 @@ QString OStorageInfo::mmcPath()const
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
@@ -37,13 +37,26 @@ class OStorageInfo : public StorageInfo
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 QString cfPath()const; 44 /**
45 QString sdPath()const; 45 * @returns the mount path of the CF (Compact Flash) card
46 QString mmcPath()const; 46 *
47 **/
48 QString cfPath() const;
49 /**
50 * @returns the mount path of the SD (Secure Digital) card
51 *
52 **/
53 QString sdPath() const;
54 /**
55 * @returns the mount path of the MMC (MultiMedia) card
56 *
57 **/
58 QString mmcPath() const;
47}; 59};
48 60
49#endif // OSTORAGE_H 61#endif // OSTORAGE_H
62