Blame client/iOS/Controllers/BookmarkListController.h

Packit 1fb8d4
/*
Packit 1fb8d4
 bookmarks and active session view controller
Packit 1fb8d4
 
Packit 1fb8d4
 Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz
Packit 1fb8d4
 
Packit 1fb8d4
 This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. 
Packit 1fb8d4
 If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Packit 1fb8d4
 */
Packit 1fb8d4
Packit 1fb8d4
#import <UIKit/UIKit.h>
Packit 1fb8d4
#import "Bookmark.h"
Packit 1fb8d4
#import "BookmarkTableCell.h"
Packit 1fb8d4
#import "SessionTableCell.h"
Packit 1fb8d4
#import "BookmarkEditorController.h"
Packit 1fb8d4
#import "Reachability.h"
Packit 1fb8d4
Packit 1fb8d4
@interface BookmarkListController : UIViewController <UISearchBarDelegate, UITableViewDelegate, UITableViewDataSource, BookmarkEditorDelegate>
Packit 1fb8d4
{	
Packit 1fb8d4
	// custom bookmark and session table cells
Packit 1fb8d4
	BookmarkTableCell* _bmTableCell;
Packit 1fb8d4
    SessionTableCell* _sessTableCell;
Packit 1fb8d4
Packit 1fb8d4
	// child views
Packit 1fb8d4
	UISearchBar* _searchBar;
Packit 1fb8d4
	UITableView* _tableView;
Packit 1fb8d4
   
Packit 1fb8d4
	// array with search results (or nil if no search active)
Packit 1fb8d4
	NSMutableArray* _manual_search_result;
Packit 1fb8d4
    NSMutableArray* _history_search_result;
Packit 1fb8d4
Packit 1fb8d4
    // bookmark arrays
Packit 1fb8d4
    NSMutableArray* _manual_bookmarks;
Packit 1fb8d4
    
Packit 1fb8d4
    // bookmark star images
Packit 1fb8d4
    UIImage* _star_on_img;
Packit 1fb8d4
    UIImage* _star_off_img;
Packit 1fb8d4
    
Packit 1fb8d4
    // array with active sessions
Packit 1fb8d4
    NSMutableArray* _active_sessions;
Packit 1fb8d4
    
Packit 1fb8d4
    // array with connection history entries
Packit 1fb8d4
    NSMutableArray* _connection_history;
Packit 1fb8d4
    
Packit 1fb8d4
    // temporary bookmark when asking if the user wants to store a bookmark for a session initiated by a quick connect
Packit 1fb8d4
    ComputerBookmark* _temporary_bookmark;
Packit 1fb8d4
}
Packit 1fb8d4
Packit 1fb8d4
@property (nonatomic, retain) IBOutlet UISearchBar* searchBar;
Packit 1fb8d4
@property (nonatomic, retain) IBOutlet UITableView* tableView;
Packit 1fb8d4
@property (nonatomic, retain) IBOutlet BookmarkTableCell* bmTableCell;
Packit 1fb8d4
@property (nonatomic, retain) IBOutlet SessionTableCell* sessTableCell;
Packit 1fb8d4
Packit 1fb8d4
Packit 1fb8d4
@end