Blame client/iOS/Controllers/BookmarkEditorController.h

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