ViewController.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. - (void)_updateDateCheck;
  22. - (NSString *)_lastCheckDate;
  23. -(BOOL)_shouldCheckUpdate;
  24. - (void)checkForUpdate;
  25. + (instancetype)currentViewController;
  26. - (void)removingLiberiOS;
  27. - (void)removingElectraBeta;
  28. - (void)installingNitoTV;
  29. - (void)nitoTVDone;
  30. - (void)displaySnapshotNotice;
  31. - (void)displaySnapshotWarning;
  32. - (void)writeText:(NSString *)message;
  33. - (void)writeTextPlain:(NSString *)message, ...;
  34. @end
  35. task_t tfp0;
  36. kptr_t kslide;
  37. kptr_t kernel_base;
  38. kptr_t kern_ucred;
  39. kptr_t kernprocaddr;
  40. void log_message(NSString *message);