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 /libopie2/opiecore | |
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 | |||
@@ -6,65 +6,65 @@ | |||
6 | .>+-= | 6 | .>+-= |
7 | _;:, .> :=|. This program is free software; you can | 7 | _;:, .> :=|. This program is free software; you can |
8 | .> <`_, > . <= redistribute it and/or modify it under | 8 | .> <`_, > . <= redistribute it and/or modify it under |
9 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public | 9 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public |
10 | .="- .-=="i, .._ License as published by the Free Software | 10 | .="- .-=="i, .._ License as published by the Free Software |
11 | - . .-<_> .<> Foundation; either version 2 of the License, | 11 | - . .-<_> .<> Foundation; either version 2 of the License, |
12 | ._= =} : or (at your option) any later version. | 12 | ._= =} : or (at your option) any later version. |
13 | .%`+i> _;_. | 13 | .%`+i> _;_. |
14 | .i_,=:_. -<s. This program is distributed in the hope that | 14 | .i_,=:_. -<s. This program is distributed in the hope that |
15 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 15 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
16 | : .. .:, . . . without even the implied warranty of | 16 | : .. .:, . . . without even the implied warranty of |
17 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 17 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
18 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | 18 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
19 | ..}^=.= = ; Library General Public License for more | 19 | ..}^=.= = ; Library General Public License for more |
20 | ++= -. .` .: details. | 20 | ++= -. .` .: details. |
21 | : = ...= . :.=- | 21 | : = ...= . :.=- |
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 | * |
55 | **/ | 55 | **/ |
56 | QString sdPath() const; | 56 | QString sdPath() const; |
57 | /** | 57 | /** |
58 | * @returns the mount path of the MMC (MultiMedia) card | 58 | * @returns the mount path of the MMC (MultiMedia) card |
59 | * | 59 | * |
60 | **/ | 60 | **/ |
61 | QString mmcPath() const; | 61 | QString mmcPath() const; |
62 | private: | 62 | private: |
63 | class Private; | 63 | class Private; |
64 | Private *d; | 64 | Private *d; |
65 | }; | 65 | }; |
66 | 66 | ||
67 | } | 67 | } |
68 | } | 68 | } |
69 | #endif // OSTORAGE_H | 69 | #endif // OSTORAGE_H |
70 | 70 | ||