FreeRDP
BookmarkEditorController.h
1 /*
2  Bookmark editor controller
3 
4  Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz
5 
6  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
7  If a copy of the MPL was not distributed with this file, You can obtain one at
8  http://mozilla.org/MPL/2.0/.
9  */
10 
11 #import <UIKit/UIKit.h>
12 #import "EditorBaseController.h"
13 
14 @class ComputerBookmark;
15 @class ConnectionParams;
16 
17 @protocol BookmarkEditorDelegate <NSObject>
18 // bookmark editing finsihed
19 - (void)commitBookmark:(ComputerBookmark *)bookmark;
20 @end
21 
23 {
24  @private
25  ComputerBookmark *_bookmark;
26  ConnectionParams *_params;
27 
28  BOOL _display_server_settings;
29 
30  id<BookmarkEditorDelegate> delegate;
31 }
32 
33 @property(nonatomic, assign) id<BookmarkEditorDelegate> delegate;
34 
35 // init for the given bookmark
36 - (id)initWithBookmark:(ComputerBookmark *)bookmark;
37 
38 @end