CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/external/source/vncdll/winvnc/InputHandlingControls.h
Views: 11780
1
// Copyright (C) 2004 TightVNC Development Team. All Rights Reserved.
2
//
3
// TightVNC is free software; you can redistribute it and/or modify
4
// it under the terms of the GNU General Public License as published by
5
// the Free Software Foundation; either version 2 of the License, or
6
// (at your option) any later version.
7
//
8
// This program is distributed in the hope that it will be useful,
9
// but WITHOUT ANY WARRANTY; without even the implied warranty of
10
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
// GNU General Public License for more details.
12
//
13
// You should have received a copy of the GNU General Public License
14
// along with this program; if not, write to the Free Software
15
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
16
// USA.
17
//
18
// TightVNC homepage on the Web: http://www.tightvnc.com/
19
20
// InputHandlingControls.h: interface for the InputHandlingControls class.
21
22
23
#ifndef INPUTHANDLINGCONTROLS_H__
24
#define INPUTHANDLINGCONTROLS_H__
25
26
27
#pragma once
28
29
#include "resource.h"
30
#include "vncServer.h"
31
32
class InputHandlingControls
33
{
34
public:
35
InputHandlingControls(HWND hwnd, vncServer *server);
36
void ApplyInputsControlsContents(HWND hwnd);
37
void EnableInputs(HWND hwnd);
38
void EnableRemote(HWND hwnd, bool mayMoveFocus = true);
39
virtual ~InputHandlingControls();
40
private:
41
void EnableTime(HWND hwnd, bool enable);
42
vncServer * m_server;
43
};
44
45
#endif
46
47