CInfo.h

00001 /*
00002  * synergy -- mouse and keyboard sharing utility
00003  * Copyright (C) 2006 Chris Schoeneman
00004  * 
00005  * This package is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU General Public License
00007  * found in the file COPYING that should have accompanied this file.
00008  * 
00009  * This package is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  */
00014 
00015 #ifndef CINFO_H
00016 #define CINFO_H
00017 
00018 #include "CString.h"
00019 
00020 #define WINDOWS_LEAN_AND_MEAN
00021 #include <windows.h>
00022 
00024 class CInfo {
00025 public:
00026     CInfo(HWND parent);
00027     ~CInfo();
00028 
00030 
00031 
00033 
00036     void                doModal();
00037 
00039 
00040 
00041 
00043 
00044 private:
00045     void                init(HWND hwnd);
00046 
00047     // message handling
00048     BOOL                doDlgProc(HWND, UINT, WPARAM, LPARAM);
00049     static BOOL CALLBACK dlgProc(HWND, UINT, WPARAM, LPARAM);
00050 
00051 private:
00052     static CInfo*       s_singleton;
00053 
00054     HWND                m_parent;
00055 };
00056 
00057 #endif

Generated on Fri Nov 6 00:18:45 2009 for synergy-plus by  doxygen 1.4.7