Removed speaker and system hard coded locations from code #4696
Removed previously commended out code that is unnecessary #4696
This commit is contained in:
parent
4a7fdabd65
commit
c1158ea7f9
|
@ -18,16 +18,6 @@
|
||||||
#include "Plugin.h"
|
#include "Plugin.h"
|
||||||
|
|
||||||
#include "CoreInterface.h"
|
#include "CoreInterface.h"
|
||||||
//#include "CommandProcess.h"
|
|
||||||
//#include "DataDownloader.h"
|
|
||||||
//#include "QUtility.h"
|
|
||||||
//#include "ProcessorArch.h"
|
|
||||||
//#include "Fingerprint.h"
|
|
||||||
|
|
||||||
//#include <QFile>
|
|
||||||
//#include <QDir>
|
|
||||||
//#include <QProcess>
|
|
||||||
//#include <QCoreApplication>
|
|
||||||
|
|
||||||
static const char kBaseUrl[] = "http://synergy-project.org/files";
|
static const char kBaseUrl[] = "http://synergy-project.org/files";
|
||||||
static const char kDefaultVersion[] = "1.1";
|
static const char kDefaultVersion[] = "1.1";
|
||||||
|
@ -41,15 +31,15 @@ static const char kLinuxPackagePlatformRpm64[] = "Linux-x86_64-rpm";
|
||||||
|
|
||||||
#if defined(Q_OS_WIN)
|
#if defined(Q_OS_WIN)
|
||||||
static const char kWinPluginExt[] = ".dll";
|
static const char kWinPluginExt[] = ".dll";
|
||||||
static const char kInstallerPluginLocation[] = "C:/Program Files/Synergy/Plugins/"; //TODO: needs proper windows %X% notation
|
static const char kInstallerPluginLocation[] = "Plugins";
|
||||||
#elif defined(Q_OS_MAC)
|
#elif defined(Q_OS_MAC)
|
||||||
static const char kMacPluginPrefix[] = "lib";
|
static const char kMacPluginPrefix[] = "lib";
|
||||||
static const char kMacPluginExt[] = ".dylib";
|
static const char kMacPluginExt[] = ".dylib";
|
||||||
static const char kInstallerPluginLocation[] = "/usr/lib/synergy/plugins";
|
static const char kInstallerPluginLocation[] = "plugins";
|
||||||
#else
|
#else
|
||||||
static const char kLinuxPluginPrefix[] = "lib";
|
static const char kLinuxPluginPrefix[] = "lib";
|
||||||
static const char kLinuxPluginExt[] = ".so";
|
static const char kLinuxPluginExt[] = ".so";
|
||||||
static const char kInstallerPluginLocation[] = "/usr/lib/synergy/plugins";
|
static const char kInstallerPluginLocation[] = "plugins";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
QString Plugin::getOsSpecificExt()
|
QString Plugin::getOsSpecificExt()
|
||||||
|
|
Loading…
Reference in New Issue