FreeRDP/client/iOS/Controllers/BookmarkEditorController.h

39 lines
903 B
C
Raw Normal View History

/*
Bookmark editor controller
2019-11-06 17:24:51 +03:00
2013-12-04 14:37:57 +04:00
Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz
2019-11-06 17:24:51 +03:00
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
2019-11-06 17:24:51 +03:00
- (void)commitBookmark:(ComputerBookmark *)bookmark;
@end
@interface BookmarkEditorController : EditorBaseController
{
2019-11-06 17:24:51 +03:00
@private
ComputerBookmark *_bookmark;
ConnectionParams *_params;
BOOL _display_server_settings;
id<BookmarkEditorDelegate> delegate;
}
2019-11-06 17:24:51 +03:00
@property(nonatomic, assign) id<BookmarkEditorDelegate> delegate;
// init for the given bookmark
2019-11-06 17:24:51 +03:00
- (id)initWithBookmark:(ComputerBookmark *)bookmark;
@end