author | erik <erik> | 2007-03-12 18:15:02 (UTC) |
---|---|---|
committer | erik <erik> | 2007-03-12 18:15:02 (UTC) |
commit | 794f3bb9cf973e59a8ca773f42d72a6476b7a4e1 (patch) (side-by-side diff) | |
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 @@ -1,70 +1,70 @@ /* This file is part of the Opie Project Copyright (C) 2004 Andreas 'ar' Richter <ar@oszine.de> =. .=l. .>+-= _;:, .> :=|. This program is free software; you can .> <`_, > . <= redistribute it and/or modify it under :`=1 )Y*s>-.-- : the terms of the GNU Library General Public .="- .-=="i, .._ License as published by the Free Software - . .-<_> .<> Foundation; either version 2 of the License, ._= =} : or (at your option) any later version. .%`+i> _;_. .i_,=:_. -<s. This program is distributed in the hope that + . -:. = it will be useful, but WITHOUT ANY WARRANTY; : .. .:, . . . without even the implied warranty of =_ + =;=|` MERCHANTABILITY or FITNESS FOR A _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU ..}^=.= = ; Library General Public License for more ++= -. .` .: details. : = ...= . :.=- -. .:....=;==+<; You should have received a copy of the GNU -_. . . )=. = Library General Public License along with -- :-=` this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef OSTORAGE_H #define OSTORAGE_H #include <qpe/storage.h> namespace Opie { namespace Core { -class OStorageInfo : public StorageInfo +class Q_EXPORT OStorageInfo : public StorageInfo { Q_OBJECT 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; private: class Private; Private *d; }; } } #endif // OSTORAGE_H |