FreeRDP
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
EditorSelectionController.h
1/*
2 Generic controller to select a single item from a list of options
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 "EditorBaseController.h"
12
13@class ConnectionParams;
14
16{
17 ConnectionParams *_params;
18
19 // array with entries in connection parameters that are altered
20 NSArray *_entries;
21
22 // array with dictionaries containing label/value pairs that represent the available values for
23 // each entry
24 NSArray *_selections;
25
26 // current selections
27 NSMutableArray *_cur_selections;
28}
29
30- (id)initWithConnectionParams:(ConnectionParams *)params
31 entries:(NSArray *)entries
32 selections:(NSArray *)selections;
33
34@end