• Main Page
  • Classes
  • Files
  • File List

IArchTaskBarReceiver.h

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 #ifndef IARCHTASKBARRECEIVER_H
00020 #define IARCHTASKBARRECEIVER_H
00021 
00022 #include "IInterface.h"
00023 #include "stdstring.h"
00024 
00025 class IScreen;
00026 class INode;
00027 
00029 
00034 class IArchTaskBarReceiver : public IInterface {
00035 public:
00036     // Icon data is architecture dependent
00037     typedef void* Icon;
00038 
00040 
00041 
00043 
00047     virtual void        showStatus() = 0;
00048 
00050 
00054     virtual void        runMenu(int x, int y) = 0;
00055 
00057 
00060     virtual void        primaryAction() = 0;
00061 
00063 
00064 
00065 
00067 
00073     virtual void        lock() const = 0;
00074 
00076     virtual void        unlock() const = 0;
00077 
00079 
00084     virtual const Icon  getIcon() const = 0;
00085 
00087 
00092     virtual std::string getToolTip() const = 0;
00093 
00094     virtual void updateStatus(INode*, const CString& errorMsg) = 0;
00095 
00096     virtual void cleanup() {}
00097 
00099 };
00100 
00101 #endif

Generated on Thu Jun 20 2013 00:00:05 for Synergy by  doxygen 1.7.1