KVIrc 5.2.6
Developer APIs
DccWindow.h
Go to the documentation of this file.
1#ifndef _WINDOW_H_
2#define _WINDOW_H_
3//=============================================================================
4//
5// File : DccWindow.h
6// Creation date : Fri Jul 26 02:04:39 2002 GMT by Szymon Stefanek
7//
8// This file is part of the KVIrc IRC client distribution
9// Copyright (C) 2002-2010 Szymon Stefanek (pragma at kvirc dot net)
10//
11// This program is FREE software. You can redistribute it and/or
12// modify it under the terms of the GNU General Public License
13// as published by the Free Software Foundation; either version 2
14// of the License, or (at your option) any later version.
15//
16// This program is distributed in the HOPE that it will be USEFUL,
17// but WITHOUT ANY WARRANTY; without even the implied warranty of
18// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19// See the GNU General Public License for more details.
20//
21// You should have received a copy of the GNU General Public License
22// along with this program. If not, write to the Free Software Foundation,
23// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24//
25//=============================================================================
26
27#include "DccDescriptor.h"
28#include "DccMarshal.h"
29
30#include "KviWindow.h"
31
32class DccThread;
33
35{
36 Q_OBJECT
37public:
38 DccWindow(KviWindow::Type eType, const char * name, DccDescriptor * d);
39 ~DccWindow();
40
41protected:
44
45public:
47 const DccMarshal * marshal() { return m_pMarshal; };
48 virtual DccThread * getSlaveThread() { return nullptr; }
50 virtual const char * dccMarshalOutputContextString();
51};
52
53#endif //_WINDOW_H_
Contains the KviWindow class.
Definition DccDescriptor.h:34
Definition DccMarshal.h:44
Definition DccMarshal.h:57
Definition DccThread.h:56
Definition DccWindow.h:35
virtual DccThread * getSlaveThread()
Definition DccWindow.h:48
virtual const char * dccMarshalOutputContextString()
Definition DccWindow.cpp:52
DccWindow(KviWindow::Type eType, const char *name, DccDescriptor *d)
Definition DccWindow.cpp:29
~DccWindow()
Definition DccWindow.cpp:39
const DccMarshal * marshal()
Definition DccWindow.h:47
DccMarshal * m_pMarshal
Definition DccWindow.h:43
virtual KviWindow * dccMarshalOutputWindow()
Definition DccWindow.cpp:47
DccDescriptor * descriptor()
Definition DccWindow.h:46
DccDescriptor * m_pDescriptor
Definition DccWindow.h:42
Base class for all windows in KVIrc.
Definition KviWindow.h:75
Type
Holds the types of a window; these are used by the KVIrc core and distributed modules.
Definition KviWindow.h:131
#define d
Definition detector.cpp:69