freerdp/client/iOS/Controllers/BookmarkEditorController.h

39 lines
903 B
C
Raw Normal View History

2023-05-09 21:29:50 +00:00
/*
Bookmark editor controller
Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
If a copy of the MPL was not distributed with this file, You can obtain one at
http://mozilla.org/MPL/2.0/.
*/
#import <UIKit/UIKit.h>
#import "EditorBaseController.h"
@class ComputerBookmark;
@class ConnectionParams;
@protocol BookmarkEditorDelegate <NSObject>
// bookmark editing finsihed
- (void)commitBookmark:(ComputerBookmark *)bookmark;
@end
@interface BookmarkEditorController : EditorBaseController
{
@private
ComputerBookmark *_bookmark;
ConnectionParams *_params;
BOOL _display_server_settings;
id<BookmarkEditorDelegate> delegate;
}
@property(nonatomic, assign) id<BookmarkEditorDelegate> delegate;
// init for the given bookmark
- (id)initWithBookmark:(ComputerBookmark *)bookmark;
@end