2014-02-04 19:41:29 +00:00
|
|
|
/*
|
|
|
|
* synergy -- mouse and keyboard sharing utility
|
2014-11-02 12:12:05 +00:00
|
|
|
* Copyright (C) 2014 Synergy Si Ltd.
|
2014-02-04 19:41:29 +00:00
|
|
|
*
|
|
|
|
* This package is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
2015-05-03 02:33:52 +00:00
|
|
|
* found in the file LICENSE that should have accompanied this file.
|
2014-02-04 19:41:29 +00:00
|
|
|
*
|
|
|
|
* This package is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2014-10-27 16:39:18 +00:00
|
|
|
#include "synergy/App.h"
|
|
|
|
#include "synergy/ToolArgs.h"
|
2014-03-20 10:33:33 +00:00
|
|
|
#include "common/basic_types.h"
|
|
|
|
|
2014-11-11 13:51:47 +00:00
|
|
|
class ToolApp : public MinimalApp
|
2014-10-27 16:39:18 +00:00
|
|
|
{
|
2014-02-04 19:41:29 +00:00
|
|
|
public:
|
2014-03-20 10:33:33 +00:00
|
|
|
UInt32 run(int argc, char** argv);
|
2014-10-27 16:39:18 +00:00
|
|
|
void help();
|
2015-02-05 14:17:34 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
void loginAuth();
|
2015-02-06 10:39:58 +00:00
|
|
|
void getPluginList();
|
2015-10-27 23:31:09 +00:00
|
|
|
void notifyActivation();
|
2015-02-05 14:17:34 +00:00
|
|
|
|
2014-03-20 10:33:33 +00:00
|
|
|
private:
|
2014-11-11 14:50:09 +00:00
|
|
|
ToolArgs m_args;
|
2014-02-04 19:41:29 +00:00
|
|
|
};
|