source: trunk/synergy/cmd/launcher/CInfo.h@ 3232

Last change on this file since 3232 was 2749, checked in by bird, 19 years ago

synergy v1.3.1 sources (zip).

File size: 1.1 KB
Line 
1/*
2 * synergy -- mouse and keyboard sharing utility
3 * Copyright (C) 2006 Chris Schoeneman
4 *
5 * This package is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * found in the file COPYING that should have accompanied this file.
8 *
9 * This package is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 */
14
15#ifndef CINFO_H
16#define CINFO_H
17
18#include "CString.h"
19
20#define WINDOWS_LEAN_AND_MEAN
21#include <windows.h>
22
23//! Info dialog for Microsoft Windows launcher
24class CInfo {
25public:
26 CInfo(HWND parent);
27 ~CInfo();
28
29 //! @name manipulators
30 //@{
31
32 //! Run dialog
33 /*!
34 Display and handle the dialog until closed by the user.
35 */
36 void doModal();
37
38 //@}
39 //! @name accessors
40 //@{
41
42 //@}
43
44private:
45 void init(HWND hwnd);
46
47 // message handling
48 BOOL doDlgProc(HWND, UINT, WPARAM, LPARAM);
49 static BOOL CALLBACK dlgProc(HWND, UINT, WPARAM, LPARAM);
50
51private:
52 static CInfo* s_singleton;
53
54 HWND m_parent;
55};
56
57#endif
Note: See TracBrowser for help on using the repository browser.