KVIrc  4.9.2
DeveloperAPIs
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 
32 class DccThread;
33 
35 {
36  Q_OBJECT
37 public:
38  DccWindow(KviWindow::Type eType, const char * name, DccDescriptor * d);
39  ~DccWindow();
40 
41 protected:
44 
45 public:
47  const DccMarshal * marshal() { return m_pMarshal; };
48  virtual DccThread * getSlaveThread() { return 0; };
50  virtual const char * dccMarshalOutputContextString();
51 };
52 
53 #endif //_WINDOW_H_
virtual KviWindow * dccMarshalOutputWindow()
Definition: DccWindow.cpp:47
Definition: DccWindow.h:34
~DccWindow()
Definition: DccWindow.cpp:39
virtual DccThread * getSlaveThread()
Definition: DccWindow.h:48
Definition: DccMarshal.h:43
virtual const char * dccMarshalOutputContextString()
Definition: DccWindow.cpp:52
Definition: DccMarshal.h:56
DccWindow(KviWindow::Type eType, const char *name, DccDescriptor *d)
Definition: DccWindow.cpp:29
Definition: DccDescriptor.h:33
DccDescriptor * descriptor()
Definition: DccWindow.h:46
Definition: DccThread.h:55
char s d
Definition: KviIrcNumericCodes.h:391
DccMarshal * m_pMarshal
Definition: DccWindow.h:43
Type
Holds the types of a window; these are used by the KVIrc core and distributed modules.
Definition: KviWindow.h:130
Base class for all windows in KVIrc.
Definition: KviWindow.h:74
QString name()
Definition: KviRuntimeInfo.cpp:655
Contains the KviWindow class.
DccDescriptor * m_pDescriptor
Definition: DccWindow.h:42
const DccMarshal * marshal()
Definition: DccWindow.h:47