kmobiletools
akonadi_serializer_sms.h
Go to the documentation of this file.00001 /* 00002 Copyright (c) 2007 Till Adam <adam@kde.org> 00003 Copyright (c) 2007 Marco Gulino <marco@kmobiletools.org> (adapted to kmobiletools) 00004 00005 This library is free software; you can redistribute it and/or modify it 00006 under the terms of the GNU Library General Public License as published by 00007 the Free Software Foundation; either version 2 of the License, or (at your 00008 option) any later version. 00009 00010 This library is distributed in the hope that it will be useful, but WITHOUT 00011 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00012 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public 00013 License for more details. 00014 00015 You should have received a copy of the GNU Library General Public License 00016 along with this library; see the file COPYING.LIB. If not, write to the 00017 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 00018 02110-1301, USA. 00019 */ 00020 00021 00022 #ifndef __AKONADI_SERIALIZER_SMS_H__ 00023 #define __AKONADI_SERIALIZER_SMS_H__ 00024 00025 #include <akonadi/itemserializerplugin.h> 00026 00027 namespace Akonadi { 00028 00029 class SerializerPluginSMS : public ItemSerializerPlugin 00030 { 00031 public: 00032 bool deserialize( Item& item, const QByteArray& label, QIODevice& data, int version ); 00033 void serialize( const Item& item, const QByteArray& label, QIODevice& data, int &version ); 00034 }; 00035 00036 00037 } 00038 00039 #endif
KDE 4.2 API Reference