ViewController.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. //
  2. // ViewController.h
  3. // meridianTV
  4. //
  5. // Created by Kevin Bradley on 6/24/18.
  6. // Copyright © 2018 Ben Sparkes. All rights reserved.
  7. //
  8. #define SYSTEM_VERSION_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedSame)
  9. #define SYSTEM_VERSION_GREATER_THAN(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedDescending)
  10. #define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending)
  11. #define SYSTEM_VERSION_LESS_THAN(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedAscending)
  12. #define SYSTEM_VERSION_LESS_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedDescending)
  13. #import "v0rtex.h"
  14. #import <UIKit/UIKit.h>
  15. @interface FocusedButton : UIButton
  16. @property(nonatomic, strong) UIColor *focusColor;
  17. @property(nonatomic, strong) UIColor *unfocusedColor;
  18. - (void)buttonColors:(UIColor *)focusedColor andUnfocused:(UIColor *)unfocusedColor;
  19. @end
  20. @interface ViewController : UIViewController
  21. + (instancetype)currentViewController;
  22. - (void)removingLiberiOS;
  23. - (void)removingElectraBeta;
  24. - (void)installingNitoTV;
  25. - (void)nitoTVDone;
  26. - (void)displaySnapshotNotice;
  27. - (void)displaySnapshotWarning;
  28. - (void)writeText:(NSString *)message;
  29. - (void)writeTextPlain:(NSString *)message, ...;
  30. @end
  31. task_t tfp0;
  32. kptr_t kslide;
  33. kptr_t kernel_base;
  34. kptr_t kern_ucred;
  35. kptr_t kernprocaddr;
  36. void log_message(NSString *message);