mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 19:58:56 +03:00
Add a start fileprovidersettingscontroller
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
e547ae22b7
commit
8643acfdaa
3 changed files with 70 additions and 1 deletions
|
@ -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)
|
||||
|
|
28
src/gui/macOS/ui/fileprovidersettingscontroller.cpp
Normal file
28
src/gui/macOS/ui/fileprovidersettingscontroller.cpp
Normal 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
|
39
src/gui/macOS/ui/fileprovidersettingscontroller.h
Normal file
39
src/gui/macOS/ui/fileprovidersettingscontroller.h
Normal 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
|
Loading…
Reference in a new issue