Last change
on this file since 22603 was 22603, checked in by davidb, 14 years ago |
Initial cut as iOs 3.x version of Greenstone2.app
|
File size:
1.2 KB
|
Line | |
---|
1 | #import <UIKit/CDStructures.h>
|
---|
2 | #import <UIKit/UIKit.h>
|
---|
3 | #import <UIKit/UIPreferencesTable.h>
|
---|
4 | #import <UIKit/UIPreferencesTextTableCell.h>
|
---|
5 | #import <UIKit/UISwitchControl.h>
|
---|
6 | #import <UIKit/UISegmentedControl.h>
|
---|
7 | #import <UIKit/UISliderControl.h>
|
---|
8 |
|
---|
9 | #define NUM_GROUPS 2
|
---|
10 | #define CELLS_PER_GROUP 2
|
---|
11 |
|
---|
12 | @interface PrefTable : UIPreferencesTable
|
---|
13 | {
|
---|
14 | UIPreferencesTableCell *cells[NUM_GROUPS][CELLS_PER_GROUP];
|
---|
15 | UIPreferencesTableCell *groupcell[NUM_GROUPS];
|
---|
16 |
|
---|
17 | UISegmentedControl *langControl;
|
---|
18 |
|
---|
19 | UISwitchControl *stemmingControl;
|
---|
20 | UISwitchControl *caseControl;
|
---|
21 | }
|
---|
22 |
|
---|
23 | - (id)initWithFrame:(CGRect)rect;
|
---|
24 | - (int)numberOfGroupsInPreferencesTable:(UIPreferencesTable *)aTable;
|
---|
25 | - (UIPreferencesTableCell *)preferencesTable:
|
---|
26 | (UIPreferencesTable *)aTable
|
---|
27 | cellForGroup:(int)group;
|
---|
28 | - (float)preferencesTable:(UIPreferencesTable *)aTable
|
---|
29 | heightForRow:(int)row
|
---|
30 | inGroup:(int)group
|
---|
31 | withProposedHeight:(float)proposed;
|
---|
32 | - (BOOL)preferencesTable:(UIPreferencesTable *)aTable
|
---|
33 | isLabelGroup:(int)group;
|
---|
34 | - (UIPreferencesTableCell *)preferencesTable:
|
---|
35 | (UIPreferencesTable *)aTable
|
---|
36 | cellForRow:(int)row
|
---|
37 | inGroup:(int)group;
|
---|
38 |
|
---|
39 | -(NSString*) languagePref;
|
---|
40 |
|
---|
41 | @end
|
---|
42 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.