element-ios/matrixConsole/View/SettingsTableViewCell.h
ylecollen 129f592ed4 The user country can now be set in the settings (it is already retrieved if there is a valid simcard)
The country is used to internationalize the phonenumbers (because they can defined 3PIDs)
2015-01-29 18:33:39 +01:00

59 lines
2.1 KiB
Objective-C

/*
Copyright 2014 OpenMarket Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#import <UIKit/UIKit.h>
@interface SettingsTableViewCell : UITableViewCell
@end
@interface SettingsCellWithSwitch : SettingsTableViewCell
@property (strong, nonatomic) IBOutlet UILabel *settingLabel;
@property (strong, nonatomic) IBOutlet UISwitch *settingSwitch;
@end
@interface SettingsCellWithTextView : SettingsTableViewCell
@property (strong, nonatomic) IBOutlet UITextView *settingTextView;
@end
@interface SettingsCellWithLabelAndTextField : SettingsTableViewCell
@property (strong, nonatomic) IBOutlet UILabel *settingLabel;
@property (strong, nonatomic) IBOutlet UITextField *settingTextField;
@end
@interface SettingsCellWithLabelAndSlider : SettingsTableViewCell
@property (strong, nonatomic) IBOutlet UILabel *settingLabel;
@property (strong, nonatomic) IBOutlet UISlider *settingSlider;
@end
@interface SettingsCellWithTextFieldAndButton : SettingsTableViewCell
@property (strong, nonatomic) IBOutlet UITextField *settingTextField;
@property (strong, nonatomic) IBOutlet UIButton *settingButton;
@end
@interface SettingsCellWithLabelTextFieldAndButton : SettingsTableViewCell
@property (strong, nonatomic) IBOutlet UILabel *settingLabel;
@property (strong, nonatomic) IBOutlet UITextField *settingTextField;
@property (strong, nonatomic) IBOutlet UIButton *settingButton;
@end
@interface SettingsCellWithPicker : SettingsTableViewCell
@property (strong, nonatomic) IBOutlet UIPickerView* pickerView;
@end
@interface SettingsCellWithLabelAndSubLabel : SettingsTableViewCell
@property (strong, nonatomic) IBOutlet UILabel* label;
@property (strong, nonatomic) IBOutlet UILabel* sublabel;
@end