2
0

VMConfigSystemViewController.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. //
  2. // Copyright © 2019 Halts. All rights reserved.
  3. //
  4. // Licensed under the Apache License, Version 2.0 (the "License");
  5. // you may not use this file except in compliance with the License.
  6. // You may obtain a copy of the License at
  7. //
  8. // http://www.apache.org/licenses/LICENSE-2.0
  9. //
  10. // Unless required by applicable law or agreed to in writing, software
  11. // distributed under the License is distributed on an "AS IS" BASIS,
  12. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. // See the License for the specific language governing permissions and
  14. // limitations under the License.
  15. //
  16. #import <UIKit/UIKit.h>
  17. #import "VMConfigViewController.h"
  18. NS_ASSUME_NONNULL_BEGIN
  19. @interface VMConfigSystemViewController : VMConfigViewController<UIPickerViewDelegate, UIPickerViewDataSource>
  20. @property (weak, nonatomic) IBOutlet UITableViewCell *architectureCell;
  21. @property (weak, nonatomic) IBOutlet UILabel *architectureLabel;
  22. @property (weak, nonatomic) IBOutlet UITableViewCell *architecturePickerCell;
  23. @property (weak, nonatomic) IBOutlet UIPickerView *architecturePicker;
  24. @property (nonatomic, assign) BOOL architecturePickerActive;
  25. @property (weak, nonatomic) IBOutlet UITextField *memorySizeField;
  26. @property (weak, nonatomic) IBOutlet UITextField *cpuCountField;
  27. @property (weak, nonatomic) IBOutlet UITableViewCell *bootCell;
  28. @property (weak, nonatomic) IBOutlet UILabel *bootLabel;
  29. @property (weak, nonatomic) IBOutlet UITableViewCell *bootPickerCell;
  30. @property (weak, nonatomic) IBOutlet UIPickerView *bootPicker;
  31. @property (nonatomic, assign) BOOL bootPickerActive;
  32. @property (weak, nonatomic) IBOutlet UITableViewCell *systemCell;
  33. @property (weak, nonatomic) IBOutlet UILabel *systemLabel;
  34. @property (weak, nonatomic) IBOutlet UITableViewCell *systemPickerCell;
  35. @property (weak, nonatomic) IBOutlet UIPickerView *systemPicker;
  36. @property (nonatomic, assign) BOOL systemPickerActive;
  37. @property (weak, nonatomic) IBOutlet UITextField *additionalArgsField;
  38. @property (nonatomic) NSNumber *memorySize;
  39. @property (nonatomic) NSNumber *cpuCount;
  40. - (IBAction)memorySizeFieldEdited:(UITextField *)sender;
  41. - (IBAction)cpuCountFieldEdited:(UITextField *)sender;
  42. - (IBAction)additionalArgsFieldEdited:(UITextField *)sender;
  43. @end
  44. NS_ASSUME_NONNULL_END