2013-02-14 17:59:12 +04:00
|
|
|
/*
|
|
|
|
Bookmark editor controller
|
|
|
|
|
2013-12-04 14:37:57 +04:00
|
|
|
Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz
|
2013-02-14 17:59:12 +04: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
|
|
|
|
- (void)commitBookmark:(ComputerBookmark*)bookmark;
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
2013-04-08 15:25:00 +04:00
|
|
|
@interface BookmarkEditorController : EditorBaseController
|
2013-02-14 17:59:12 +04:00
|
|
|
{
|
|
|
|
@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
|