LASettingsViewController.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #import <UIKit/UIKit.h>
  2. // Settings View Controllers represent view controllers that can be displayed the Activator app, Activator's settings pane, and possibly in other Activator-integrated apps
  3. #ifndef LA_SETTINGS_CONTROLLER
  4. #define LA_SETTINGS_CONTROLLER(superclass) : superclass
  5. #endif
  6. @interface LASettingsViewController LA_SETTINGS_CONTROLLER(UIViewController)
  7. + (id)controller;
  8. - (id)init;
  9. @end
  10. @interface LARootSettingsController LA_SETTINGS_CONTROLLER(LASettingsViewController)
  11. @end
  12. @interface LAModeSettingsController LA_SETTINGS_CONTROLLER(LASettingsViewController)
  13. - (id)initWithMode:(NSString *)mode;
  14. @end
  15. @interface LAEventSettingsController LA_SETTINGS_CONTROLLER(LASettingsViewController)
  16. - (id)initWithModes:(NSArray *)modes eventName:(NSString *)eventName;
  17. @end
  18. @interface LAListenerSettingsViewController LA_SETTINGS_CONTROLLER(LASettingsViewController)
  19. @property (nonatomic, copy) NSString *listenerName;
  20. @end
  21. @interface LAEventConfigurationViewController LA_SETTINGS_CONTROLLER(LASettingsViewController)
  22. - (id)initWithEventName:(NSString *)eventName;
  23. @property (nonatomic, readonly, copy) NSString *eventName;
  24. @property (nonatomic, assign) BOOL showsSaveButton;
  25. - (BOOL)performSave;
  26. @end
  27. @interface LAListenerConfigurationViewController LA_SETTINGS_CONTROLLER(LASettingsViewController)
  28. - (id)initWithListenerName:(NSString *)listenerName;
  29. @property (nonatomic, readonly, copy) NSString *listenerName;
  30. @property (nonatomic, assign) BOOL showsSaveButton;
  31. - (BOOL)performSave;
  32. @end