~ubuntu-branches/ubuntu/trusty/kvirc/trusty

« back to all changes in this revision

Viewing changes to src/kvirc/kernel/kvi_ipc.h

  • Committer: Bazaar Package Importer
  • Author(s): Kai Wasserbäch, Kai Wasserbäch, Raúl Sánchez Siles
  • Date: 2011-02-12 10:40:21 UTC
  • mfrom: (14.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20110212104021-5mh4f75jlku20mnt
The combined "Twisted Experiment" and "Nocturnal Raid" release.

[ Kai Wasserbäch ]
* Synced to upstream's SVN revision 5467.
* debian/rules:
  - Added .PHONY line.
  - Resurrect -DMANUAL_REVISION, got lost somewhere and we build SVN
    revisions again.
  - Replace "-DWITH_NO_EMBEDDED_CODE=YES" with "-DWANT_CRYPTOPP=YES".
  - Change the remaining -DWITH/-DWITHOUT to the new -DWANT syntax.
* debian/control:
  - Removed DMUA, I'm a DD now.
  - Changed my e-mail address.
  - Removed unneeded relationships (no upgrades over two releases are
    supported).
  - Fix Suggests for kvirc-dbg.
  - kvirc-data: Make the "Suggests: kvirc" a Recommends, doesn't make much
    sense to install the -data package without the program.
* debian/source/local-options: Added with "unapply-patches".
* debian/kvirc.lintian-overrides: Updated to work for 4.1.1.
* debian/patches/21_make_shared-mime-info_B-D_superfluous.patch: Updated.
* debian/kvirc-data.install: Added .notifyrc.

[ Raúl Sánchez Siles ]
* Stating the right version where kvirc-data break and replace should happen.
* Fixing link to license file.
* Added French and Portuguese man pages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _KVI_IPC_H_
2
 
#define _KVI_IPC_H_
3
 
//=============================================================================
4
 
//
5
 
//   File : kvi_ipc.h
6
 
//   Creation date : Tue Apr 10 2001 15:04:45 by Szymon Stefanek
7
 
//
8
 
//   This file is part of the KVirc irc client distribution
9
 
//   Copyright (C) 2001-2008 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 opinion) 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 "kvi_settings.h"
28
 
 
29
 
 
30
 
#ifndef COMPILE_NO_IPC
31
 
 
32
 
        #include "kvi_string.h"
33
 
 
34
 
        #include <QWidget>
35
 
 
36
 
#if defined(COMPILE_ON_WINDOWS) || defined(COMPILE_ON_MINGW)
37
 
 #include <winsock2.h>
38
 
        #include <windows.h>
39
 
#else
40
 
        #ifdef COMPILE_X11_SUPPORT
41
 
                #include <qcoreevent.h>
42
 
                #include "kvi_xlib.h" // for XEvent
43
 
        #endif //!COMPILE_X11_SUPPORT
44
 
#endif
45
 
 
46
 
        //////////////////////////////////////////////////////////////////////
47
 
        // class KviIpcSentinel
48
 
        //
49
 
        //////////////////////////////////////////////////////////////////////
50
 
 
51
 
        class KVIRC_API KviIpcSentinel : public QWidget
52
 
        {
53
 
                Q_OBJECT
54
 
        public:
55
 
                KviIpcSentinel();
56
 
                ~KviIpcSentinel();
57
 
        protected: // protected members
58
 
#if defined(COMPILE_ON_WINDOWS) || defined(COMPILE_ON_MINGW)
59
 
                virtual bool winEvent(MSG * msg);
60
 
#else
61
 
        #ifdef COMPILE_X11_SUPPORT
62
 
                virtual bool x11Event(XEvent *e);
63
 
        #endif //!COMPILE_X11_SUPPORT
64
 
#endif
65
 
        };
66
 
#endif //!COMPILE_NO_IPC
67
 
 
68
 
#endif //_KVI_IPC_H_