00001 /* 00002 * synergy -- mouse and keyboard sharing utility 00003 * Copyright (C) 2012 Bolton Software Ltd. 00004 * Copyright (C) 2003 Chris Schoeneman 00005 * 00006 * This package is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public License 00008 * found in the file COPYING that should have accompanied this file. 00009 * 00010 * This package is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00017 */ 00018 00019 #include "CXWindowsServerTaskBarReceiver.h" 00020 #include "CArch.h" 00021 00022 // 00023 // CXWindowsServerTaskBarReceiver 00024 // 00025 00026 CXWindowsServerTaskBarReceiver::CXWindowsServerTaskBarReceiver( 00027 const CBufferedLogOutputter*) 00028 { 00029 // add ourself to the task bar 00030 ARCH->addReceiver(this); 00031 } 00032 00033 CXWindowsServerTaskBarReceiver::~CXWindowsServerTaskBarReceiver() 00034 { 00035 ARCH->removeReceiver(this); 00036 } 00037 00038 void 00039 CXWindowsServerTaskBarReceiver::showStatus() 00040 { 00041 // do nothing 00042 } 00043 00044 void 00045 CXWindowsServerTaskBarReceiver::runMenu(int, int) 00046 { 00047 // do nothing 00048 } 00049 00050 void 00051 CXWindowsServerTaskBarReceiver::primaryAction() 00052 { 00053 // do nothing 00054 } 00055 00056 const IArchTaskBarReceiver::Icon 00057 CXWindowsServerTaskBarReceiver::getIcon() const 00058 { 00059 return NULL; 00060 } 00061 00062 IArchTaskBarReceiver* 00063 createTaskBarReceiver(const CBufferedLogOutputter* logBuffer) 00064 { 00065 return new CXWindowsServerTaskBarReceiver(logBuffer); 00066 }
1.7.1