chore: remove unused member App::configSection

This commit is contained in:
sithlord48
2025-10-12 09:32:59 -04:00
committed by Nick Bolton
parent 88c0c49ba3
commit eed4b49ea0
5 changed files with 0 additions and 45 deletions

View File

@ -55,7 +55,6 @@ public:
virtual void loadConfig() = 0;
virtual bool loadConfig(const std::string &pathname) = 0;
virtual const char *daemonInfo() const = 0;
virtual std::string configSection() const = 0;
void setByeFunc(void (*bye)(int)) override
{

View File

@ -48,15 +48,6 @@ public:
int mainLoop() override;
void startNode() override;
//
// App overrides
//
std::string configSection() const override
{
return "client";
}
//
// Regular functions
//

View File

@ -66,15 +66,6 @@ public:
int start() override;
void startNode() override;
//
// App overrides
//
std::string configSection() const override
{
return "server";
}
//
// Regular functions
//

View File

@ -56,14 +56,6 @@ create_test(
if(UNIX AND NOT APPLE)
#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(
NAME X11LayoutParserTests
DEPENDS app

View File

@ -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)