kopete/protocols/messenger/libpapillon
bytestreambase.cpp
Go to the documentation of this file.00001 // 00002 // ByteStream 00003 // 00004 // Authors: 00005 // Gregg Edghill (Gregg.Edghill@gmail.com) 00006 // 00007 // Copyright (C) 2007, Kopete (http://kopete.kde.org) 00008 // 00009 // The above copyright notice and this permission notice shall be 00010 // included in all copies or substantial portions of this software. 00011 // 00012 // THIS LIBRARY IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR 00013 // MODIFY IT UNDER THE TERMS OF THE GNU LESSER GENERAL PUBLIC 00014 // LICENSE AS PUBLISHED BY THE FREE SOFTWARE FOUNDATION; EITHER 00015 // VERSION 2 OF THE LICENSE, OR (AT YOUR OPTION) ANY LATER VERSION. 00016 // 00017 00018 #include "Papillon/Base/ByteStreamBase" 00019 00020 namespace Papillon 00021 { 00022 00023 ByteStreamBase::ByteStreamBase(QObject *parent) : QObject(parent) 00024 { 00025 } 00026 00027 ByteStreamBase::~ByteStreamBase() 00028 { 00029 } 00030 00031 qint64 ByteStreamBase::bytesAvailable() const 00032 { 00033 return 0l; 00034 } 00035 00036 qint64 ByteStreamBase::bytesToWrite() const 00037 { 00038 return 0l; 00039 } 00040 00041 void ByteStreamBase::close() 00042 {} 00043 00044 } 00045 00046 #include "bytestreambase.moc"
KDE 4.0 API Reference