FreeRDP
Loading...
Searching...
No Matches
BookmarkListController.h
1/*
2 bookmarks and active session view 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 "Bookmark.h"
13#import "BookmarkTableCell.h"
14#import "SessionTableCell.h"
15#import "BookmarkEditorController.h"
16#import "Reachability.h"
17
18@interface BookmarkListController : UIViewController <UISearchBarDelegate, UITableViewDelegate,
19 UITableViewDataSource, BookmarkEditorDelegate>
20{
21 // custom session table cell
22 SessionTableCell *_sessTableCell;
23
24 // child views
25 UISearchBar *_searchBar;
26 UITableView *_tableView;
27
28 // array with search results (or nil if no search active)
29 NSMutableArray *_manual_search_result;
30 NSMutableArray *_history_search_result;
31
32 // bookmark arrays
33 NSMutableArray *_manual_bookmarks;
34
35 // array with active sessions
36 NSMutableArray *_active_sessions;
37
38 // array with connection history entries
39 NSMutableArray *_connection_history;
40
41 // temporary bookmark when asking if the user wants to store a bookmark for a session initiated
42 // by a quick connect
43 ComputerBookmark *_temporary_bookmark;
44}
45
46@property(nonatomic, retain) IBOutlet UISearchBar *searchBar;
47@property(nonatomic, retain) IBOutlet UITableView *tableView;
48@property(nonatomic, retain) IBOutlet SessionTableCell *sessTableCell;
49
50@end