Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

IScreen.cpp

00001 /*
00002  * synergy -- mouse and keyboard sharing utility
00003  * Copyright (C) 2004 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 #include "IScreen.h"
00016 
00017 //
00018 // IScreen
00019 //
00020 
00021 CEvent::Type            IScreen::s_errorEvent            = CEvent::kUnknown;
00022 CEvent::Type            IScreen::s_shapeChangedEvent     = CEvent::kUnknown;
00023 CEvent::Type            IScreen::s_clipboardGrabbedEvent = CEvent::kUnknown;
00024 CEvent::Type            IScreen::s_suspendEvent          = CEvent::kUnknown;
00025 CEvent::Type            IScreen::s_resumeEvent           = CEvent::kUnknown;
00026 
00027 CEvent::Type
00028 IScreen::getErrorEvent()
00029 {
00030     return CEvent::registerTypeOnce(s_errorEvent,
00031                             "IScreen::error");
00032 }
00033 
00034 CEvent::Type
00035 IScreen::getShapeChangedEvent()
00036 {
00037     return CEvent::registerTypeOnce(s_shapeChangedEvent,
00038                             "IScreen::shapeChanged");
00039 }
00040 
00041 CEvent::Type
00042 IScreen::getClipboardGrabbedEvent()
00043 {
00044     return CEvent::registerTypeOnce(s_clipboardGrabbedEvent,
00045                             "IScreen::clipboardGrabbed");
00046 }
00047 
00048 CEvent::Type
00049 IScreen::getSuspendEvent()
00050 {
00051     return CEvent::registerTypeOnce(s_suspendEvent,
00052                                     "IScreen::suspend");
00053 }
00054 
00055 CEvent::Type
00056 IScreen::getResumeEvent()
00057 {
00058     return CEvent::registerTypeOnce(s_resumeEvent,
00059                                     "IScreen::resume");
00060 }

Generated on Fri Nov 6 00:21:15 2009 for synergy-plus by  doxygen 1.3.9.1