author | erik <erik> | 2007-03-12 18:15:02 (UTC) |
---|---|---|
committer | erik <erik> | 2007-03-12 18:15:02 (UTC) |
commit | 794f3bb9cf973e59a8ca773f42d72a6476b7a4e1 (patch) (unidiff) | |
tree | fea0658b6502e0cd158940069688d8abf6db616c | |
parent | f6b4fc71812aa4db9c7209e28667010d1f04d771 (diff) | |
download | opie-794f3bb9cf973e59a8ca773f42d72a6476b7a4e1.zip opie-794f3bb9cf973e59a8ca773f42d72a6476b7a4e1.tar.gz opie-794f3bb9cf973e59a8ca773f42d72a6476b7a4e1.tar.bz2 |
BUG: W/out a Q_EXPORT macro this class will not work with the GCC visibility
flag.
FIX: Include that macro in the class declaration.
-rw-r--r-- | libopie2/opiecore/ostorageinfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiecore/ostorageinfo.h b/libopie2/opiecore/ostorageinfo.h index 4e1097f..2b9594c 100644 --- a/libopie2/opiecore/ostorageinfo.h +++ b/libopie2/opiecore/ostorageinfo.h | |||
@@ -22,33 +22,33 @@ | |||
22 | -. .:....=;==+<; You should have received a copy of the GNU | 22 | -. .:....=;==+<; You should have received a copy of the GNU |
23 | -_. . . )=. = Library General Public License along with | 23 | -_. . . )=. = Library General Public License along with |
24 | -- :-=` this library; see the file COPYING.LIB. | 24 | -- :-=` this library; see the file COPYING.LIB. |
25 | If not, write to the Free Software Foundation, | 25 | If not, write to the Free Software Foundation, |
26 | Inc., 59 Temple Place - Suite 330, | 26 | Inc., 59 Temple Place - Suite 330, |
27 | Boston, MA 02111-1307, USA. | 27 | Boston, MA 02111-1307, USA. |
28 | */ | 28 | */ |
29 | 29 | ||
30 | #ifndef OSTORAGE_H | 30 | #ifndef OSTORAGE_H |
31 | #define OSTORAGE_H | 31 | #define OSTORAGE_H |
32 | 32 | ||
33 | #include <qpe/storage.h> | 33 | #include <qpe/storage.h> |
34 | 34 | ||
35 | namespace Opie { | 35 | namespace Opie { |
36 | namespace Core { | 36 | namespace Core { |
37 | 37 | ||
38 | class OStorageInfo : public StorageInfo | 38 | class Q_EXPORT OStorageInfo : public StorageInfo |
39 | { | 39 | { |
40 | Q_OBJECT | 40 | Q_OBJECT |
41 | 41 | ||
42 | public: | 42 | public: |
43 | 43 | ||
44 | OStorageInfo( QObject *parent=0 ); | 44 | OStorageInfo( QObject *parent=0 ); |
45 | ~OStorageInfo(); | 45 | ~OStorageInfo(); |
46 | 46 | ||
47 | /** | 47 | /** |
48 | * @returns the mount path of the CF (Compact Flash) card | 48 | * @returns the mount path of the CF (Compact Flash) card |
49 | * | 49 | * |
50 | **/ | 50 | **/ |
51 | QString cfPath() const; | 51 | QString cfPath() const; |
52 | /** | 52 | /** |
53 | * @returns the mount path of the SD (Secure Digital) card | 53 | * @returns the mount path of the SD (Secure Digital) card |
54 | * | 54 | * |