2013-02-14 17:59:12 +04:00
|
|
|
/*
|
|
|
|
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
|
2013-02-14 17:59:12 +04:00
|
|
|
|
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/.
|
|
|
|
*/
|
2013-02-14 17:59:12 +04:00
|
|
|
|
|
|
|
#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;
|
2013-02-14 17:59:12 +04:00
|
|
|
@end
|
|
|
|
|
2013-04-08 15:25:00 +04:00
|
|
|
@interface BookmarkEditorController : EditorBaseController
|
2013-02-14 17:59:12 +04:00
|
|
|
{
|
2019-11-06 17:24:51 +03:00
|
|
|
@private
|
|
|
|
ComputerBookmark *_bookmark;
|
|
|
|
ConnectionParams *_params;
|
|
|
|
|
|
|
|
BOOL _display_server_settings;
|
|
|
|
|
|
|
|
id<BookmarkEditorDelegate> delegate;
|
2013-02-14 17:59:12 +04:00
|
|
|
}
|
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
@property(nonatomic, assign) id<BookmarkEditorDelegate> delegate;
|
2013-02-14 17:59:12 +04:00
|
|
|
|
|
|
|
// init for the given bookmark
|
2019-11-06 17:24:51 +03:00
|
|
|
- (id)initWithBookmark:(ComputerBookmark *)bookmark;
|
2013-02-14 17:59:12 +04:00
|
|
|
|
|
|
|
@end
|