Add a start fileprovidersettingscontroller

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2023-05-17 17:01:48 +08:00
parent e547ae22b7
commit 8643acfdaa
No known key found for this signature in database
GPG key ID: C839200C384636B0
3 changed files with 70 additions and 1 deletions

View file

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

View file

@ -0,0 +1,28 @@
/*
* Copyright (C) 2023 by Claudio Cambra <claudio.cambra@nextcloud.com>
*
* 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

View file

@ -0,0 +1,39 @@
/*
* Copyright (C) 2023 by Claudio Cambra <claudio.cambra@nextcloud.com>
*
* 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 <QObject>
#include <QQuickView>
#include <QWidget>
class QQuickView;
class QWidget;
namespace OCC {
namespace Mac {
class FileProviderSettingsController : public QObject
{
Q_OBJECT
public:
explicit FileProviderSettingsController(QObject *parent = nullptr);
};
} // Mac
} // OCC