mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-23 21:05:44 +03:00
Add starter fileproviderstorageuseenumerationobserver
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
97c963dcab
commit
b83f0a51a9
3 changed files with 44 additions and 3 deletions
|
@ -293,17 +293,19 @@ IF( APPLE )
|
|||
macOS/fileprovider_mac.mm
|
||||
macOS/fileproviderdomainmanager.h
|
||||
macOS/fileproviderdomainmanager_mac.mm
|
||||
macOS/fileprovidersettingscontroller.h
|
||||
macOS/fileprovidersettingscontroller_mac.mm
|
||||
macOS/fileprovidersocketcontroller.h
|
||||
macOS/fileprovidersocketcontroller.cpp
|
||||
macOS/fileprovidersocketserver.h
|
||||
macOS/fileprovidersocketserver.cpp
|
||||
macOS/fileprovidersocketserver_mac.mm
|
||||
macOS/fileproviderstorageuseenumerationobserver.h
|
||||
macOS/fileproviderstorageuseenumerationobserver.m
|
||||
macOS/fileproviderxpc.h
|
||||
macOS/fileproviderxpc_mac.mm
|
||||
macOS/fileproviderxpc_mac_utils.h
|
||||
macOS/fileproviderxpc_mac_utils.mm
|
||||
macOS/fileprovidersettingscontroller.h
|
||||
macOS/fileprovidersettingscontroller_mac.mm)
|
||||
macOS/fileproviderxpc_mac_utils.mm)
|
||||
endif()
|
||||
|
||||
if(SPARKLE_FOUND AND BUILD_UPDATER)
|
||||
|
|
20
src/gui/macOS/fileproviderstorageuseenumerationobserver.h
Normal file
20
src/gui/macOS/fileproviderstorageuseenumerationobserver.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <FileProvider/FileProvider.h>
|
||||
|
||||
@interface FileProviderStorageUseEnumerationObserver : NSObject<NSFileProviderEnumerationObserver>
|
||||
|
||||
@end
|
19
src/gui/macOS/fileproviderstorageuseenumerationobserver.m
Normal file
19
src/gui/macOS/fileproviderstorageuseenumerationobserver.m
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#import "fileproviderstorageuseenumerationobserver.m"
|
||||
|
||||
@implementation FileProviderStorageuseEnumerationObserver
|
||||
|
||||
@end
|
Loading…
Reference in a new issue