Config.h 574 B

123456789101112131415161718192021222324
  1. //
  2. // Config.h
  3. // RileyLink
  4. //
  5. // Created by Pete Schwamb on 6/27/15.
  6. // Copyright (c) 2015 Pete Schwamb. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface Config : NSObject {
  10. NSUserDefaults *_defaults;
  11. }
  12. + (nonnull Config *)sharedInstance;
  13. @property (nonatomic, nullable, strong) NSURL *nightscoutURL;
  14. @property (nonatomic, nullable, strong) NSString *nightscoutAPISecret;
  15. @property (nonatomic, nullable, strong) NSSet *autoConnectIds;
  16. @property (nonatomic, assign) BOOL uploadEnabled;
  17. @property (nonatomic, assign) BOOL fetchCGMEnabled;
  18. @end