~ubuntu-branches/debian/lenny/italc/lenny

« back to all changes in this revision

Viewing changes to ica/win32/src/VNCHooks/SharedData.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Winnertz
  • Date: 2008-06-17 13:46:54 UTC
  • mfrom: (1.2.1 upstream) (4.1.1 gutsy)
  • Revision ID: james.westby@ubuntu.com-20080617134654-cl0gi4u524cv1ici
Tags: 1:1.0.9~rc3-1
* Package new upstream version
  - upstream ported the code to qt4.4 (Closes: #481974)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//  Copyright (C) 2001 Constantin Kaplinsky. All Rights Reserved.
 
2
//  Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved.
 
3
//
 
4
//  This file is part of the VNC system.
 
5
//
 
6
//  This program is free software; you can redistribute it and/or modify
 
7
//  it under the terms of the GNU General Public License as published by
 
8
//  the Free Software Foundation; either version 2 of the License, or
 
9
//  (at your option) any later version.
 
10
//
 
11
//  This program is distributed in the hope that it will be useful,
 
12
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
//  GNU General Public License for more details.
 
15
//
 
16
//  You should have received a copy of the GNU General Public License
 
17
//  along with this program; if not, write to the Free Software
 
18
//  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
 
19
//  USA.
 
20
//
 
21
// TightVNC distribution homepage on the Web: http://www.tightvnc.com/
 
22
 
 
23
// SharedData.cpp : Storage for the global data in the DLL
 
24
// This file is used only when your compiler is Borland C++.
 
25
 
 
26
// Change default data segment and data class names
 
27
#define SHARED __attribute__((section(".shr"), shared))
 
28
 
 
29
#include "windows.h"
 
30
 
 
31
SHARED HWND hVeneto = NULL;
 
32
SHARED UINT UpdateRectMessage = 0;
 
33
SHARED UINT CopyRectMessage = 0;
 
34
SHARED UINT MouseMoveMessage = 0;
 
35
SHARED UINT LocalMouseMessage = 0;
 
36
SHARED UINT LocalKeyboardMessage = 0;
 
37
SHARED HHOOK hCallWndHook = NULL;                                                       // Handle to the CallWnd hook
 
38
SHARED HHOOK hGetMsgHook = NULL;                                                        // Handle to the GetMsg hook
 
39
SHARED HHOOK hDialogMsgHook = NULL;                                             // Handle to the DialogMsg hook
 
40
SHARED HHOOK hLLKeyboardHook = NULL;                                            // Handle to LowLevel kbd hook
 
41
SHARED HHOOK hLLMouseHook = NULL;                                                       // Handle to LowLevel mouse hook
 
42
SHARED HHOOK hLLKeyboardPrHook = NULL;                                          // Handle to LowLevel kbd hook for local event priority
 
43
SHARED HHOOK hLLMousePrHook = NULL;                                             // Handle to LowLevel mouse hook for local event priority
 
44
SHARED HHOOK hKeyboardHook = NULL;                                                      // Handle to kbd hook
 
45
SHARED HHOOK hMouseHook = NULL;                                                 // Handle to mouse hook
 
46
SHARED HWND hKeyboardPriorityWindow = NULL;
 
47
SHARED HWND hMousePriorityWindow = NULL;
 
48
__declspec(dllexport) BOOL __localInputsDisabled = false;
 
49