KIMAP Library
sessionlogger_p.h
00001 /* 00002 Copyright (c) 2010 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com> 00003 Author: Kevin Ottens <kevin@kdab.com> 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 #ifndef KIMAP_SESSIONLOGGER_P_H 00022 #define KIMAP_SESSIONLOGGER_P_H 00023 00024 #include <QtCore/QObject> 00025 #include <QtCore/QFile> 00026 00027 namespace KIMAP { 00028 00029 class SessionLoggerPrivate; 00030 00031 class SessionLogger 00032 { 00033 public: 00034 SessionLogger(); 00035 ~SessionLogger(); 00036 00037 void dataSent( const QByteArray &data ); 00038 void dataReceived( const QByteArray &data ); 00039 void disconnectionOccured(); 00040 00041 private: 00042 qint64 m_id; 00043 QFile m_file; 00044 }; 00045 00046 } 00047 00048 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 7 2012 23:55:09 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 7 2012 23:55:09 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.