diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index 4a6e4d27f..8f0b9ba8e 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -301,7 +301,9 @@ IF( APPLE ) macOS/fileproviderxpc.h macOS/fileproviderxpc_mac.mm macOS/fileproviderxpc_mac_utils.h - macOS/fileproviderxpc_mac_utils.mm) + macOS/fileproviderxpc_mac_utils.mm + macOS/ui/fileprovidersettingscontroller.h + macOS/ui/fileprovidersettingscontroller.cpp) endif() if(SPARKLE_FOUND AND BUILD_UPDATER) diff --git a/src/gui/macOS/ui/fileprovidersettingscontroller.cpp b/src/gui/macOS/ui/fileprovidersettingscontroller.cpp new file mode 100644 index 000000000..a97d5225f --- /dev/null +++ b/src/gui/macOS/ui/fileprovidersettingscontroller.cpp @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2023 by Claudio Cambra + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program 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. + */ + +#include "fileprovidersettingscontroller.h" + +namespace OCC { + +namespace Mac { + +FileProviderSettingsController::FileProviderSettingsController(QObject *parent) + : QObject{parent} +{ +} + +} // Mac + +} // OCC diff --git a/src/gui/macOS/ui/fileprovidersettingscontroller.h b/src/gui/macOS/ui/fileprovidersettingscontroller.h new file mode 100644 index 000000000..8fae2d49a --- /dev/null +++ b/src/gui/macOS/ui/fileprovidersettingscontroller.h @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2023 by Claudio Cambra + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program 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. + */ + +#pragma once + +#include +#include +#include + +class QQuickView; +class QWidget; + +namespace OCC { + +namespace Mac { + +class FileProviderSettingsController : public QObject +{ + Q_OBJECT + +public: + explicit FileProviderSettingsController(QObject *parent = nullptr); + +}; + +} // Mac + +} // OCC