chore: remove unused member App::configSection
This commit is contained in:
parent
88c0c49ba3
commit
eed4b49ea0
5 changed files with 0 additions and 45 deletions
|
|
@ -55,7 +55,6 @@ public:
|
||||||
virtual void loadConfig() = 0;
|
virtual void loadConfig() = 0;
|
||||||
virtual bool loadConfig(const std::string &pathname) = 0;
|
virtual bool loadConfig(const std::string &pathname) = 0;
|
||||||
virtual const char *daemonInfo() const = 0;
|
virtual const char *daemonInfo() const = 0;
|
||||||
virtual std::string configSection() const = 0;
|
|
||||||
|
|
||||||
void setByeFunc(void (*bye)(int)) override
|
void setByeFunc(void (*bye)(int)) override
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -48,15 +48,6 @@ public:
|
||||||
int mainLoop() override;
|
int mainLoop() override;
|
||||||
void startNode() override;
|
void startNode() override;
|
||||||
|
|
||||||
//
|
|
||||||
// App overrides
|
|
||||||
//
|
|
||||||
|
|
||||||
std::string configSection() const override
|
|
||||||
{
|
|
||||||
return "client";
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Regular functions
|
// Regular functions
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -66,15 +66,6 @@ public:
|
||||||
int start() override;
|
int start() override;
|
||||||
void startNode() override;
|
void startNode() override;
|
||||||
|
|
||||||
//
|
|
||||||
// App overrides
|
|
||||||
//
|
|
||||||
|
|
||||||
std::string configSection() const override
|
|
||||||
{
|
|
||||||
return "server";
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Regular functions
|
// Regular functions
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -56,14 +56,6 @@ create_test(
|
||||||
|
|
||||||
if(UNIX AND NOT APPLE)
|
if(UNIX AND NOT APPLE)
|
||||||
#this test does not work properly on windows / mac os
|
#this test does not work properly on windows / mac os
|
||||||
create_test(
|
|
||||||
NAME ServerAppTests
|
|
||||||
DEPENDS app
|
|
||||||
LIBS arch base
|
|
||||||
SOURCE ServerAppTests.cpp
|
|
||||||
WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/src/lib/deskflow"
|
|
||||||
)
|
|
||||||
|
|
||||||
create_test(
|
create_test(
|
||||||
NAME X11LayoutParserTests
|
NAME X11LayoutParserTests
|
||||||
DEPENDS app
|
DEPENDS app
|
||||||
|
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
/*
|
|
||||||
* Deskflow -- mouse and keyboard sharing utility
|
|
||||||
* SPDX-FileCopyrightText: (C) 2025 Chris Rizzitello <sithlord48@gmail.com>
|
|
||||||
* SPDX-FileCopyrightText: (C) 2014 - 2016 Symless Ltd.
|
|
||||||
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "ServerAppTests.h"
|
|
||||||
|
|
||||||
#include "deskflow/ServerApp.h"
|
|
||||||
|
|
||||||
void ServerAppTests::section()
|
|
||||||
{
|
|
||||||
ServerApp app(nullptr);
|
|
||||||
QCOMPARE(app.configSection(), "server");
|
|
||||||
}
|
|
||||||
|
|
||||||
QTEST_MAIN(ServerAppTests)
|
|
||||||
Loading…
Reference in a new issue