2012-06-10 16:50:54 +00:00
|
|
|
/*
|
|
|
|
|
* synergy -- mouse and keyboard sharing utility
|
2016-09-07 14:24:00 +00:00
|
|
|
* Copyright (C) 2012-2016 Symless Ltd.
|
2012-06-10 16:50:54 +00:00
|
|
|
* Copyright (C) 2012 Nick Bolton
|
|
|
|
|
*
|
|
|
|
|
* 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.
|
2012-06-10 16:50:54 +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/>.
|
|
|
|
|
*/
|
|
|
|
|
|
2014-02-28 12:36:45 +00:00
|
|
|
#include "synergy/ArgsBase.h"
|
2012-06-10 16:50:54 +00:00
|
|
|
|
2014-11-11 13:51:47 +00:00
|
|
|
ArgsBase::ArgsBase() :
|
2012-06-10 16:50:54 +00:00
|
|
|
#if SYSAPI_WIN32
|
|
|
|
|
m_daemon(false), // daemon mode not supported on windows (use --service)
|
|
|
|
|
m_debugServiceWait(false),
|
|
|
|
|
m_pauseOnExit(false),
|
2012-07-28 13:34:35 +00:00
|
|
|
m_stopOnDeskSwitch(false),
|
2012-06-10 16:50:54 +00:00
|
|
|
#else
|
|
|
|
|
m_daemon(true), // backward compatibility for unix (daemon by default)
|
|
|
|
|
#endif
|
|
|
|
|
#if WINAPI_XWINDOWS
|
|
|
|
|
m_disableXInitThreads(false),
|
|
|
|
|
#endif
|
|
|
|
|
m_backend(false),
|
|
|
|
|
m_restartable(true),
|
|
|
|
|
m_noHooks(false),
|
|
|
|
|
m_pname(NULL),
|
|
|
|
|
m_logFilter(NULL),
|
|
|
|
|
m_logFile(NULL),
|
|
|
|
|
m_display(NULL),
|
2014-02-25 15:03:43 +00:00
|
|
|
m_disableTray(false),
|
2013-09-18 08:34:32 +00:00
|
|
|
m_enableIpc(false),
|
2014-10-22 15:27:38 +00:00
|
|
|
m_enableDragDrop(false),
|
2014-10-22 15:35:28 +00:00
|
|
|
m_shouldExit(false),
|
2015-02-12 15:50:08 +00:00
|
|
|
m_synergyAddress(),
|
2015-03-04 11:15:07 +00:00
|
|
|
m_enableCrypto(false),
|
|
|
|
|
m_profileDirectory(""),
|
|
|
|
|
m_pluginDirectory("")
|
2012-06-10 16:50:54 +00:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2014-11-11 13:51:47 +00:00
|
|
|
ArgsBase::~ArgsBase()
|
2012-06-10 16:50:54 +00:00
|
|
|
{
|
|
|
|
|
}
|