CommonConfig.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. //
  2. // CommonConfig.h
  3. // FunSDKDemo
  4. //
  5. // Created by XM on 2018/5/8.
  6. // Copyright © 2018年 XM. All rights reserved.
  7. //
  8. /***
  9. 通用的一些配置
  10. *****/
  11. #import "Header.h"
  12. @protocol General_LocationConfigDelegate <NSObject>
  13. //获取本地化配置代理回调
  14. - (void)getGeneral_LocationConfigResult:(NSInteger)result;
  15. //保存本地化配置代理回调
  16. - (void)setGeneral_LocationConfigResult:(NSInteger)result;
  17. @end
  18. #import "ConfigControllerBase.h"
  19. @interface CommonConfig : ConfigControllerBase
  20. @property (nonatomic, assign) id <General_LocationConfigDelegate> locationDelegate;
  21. #pragma mark - 获取本地化配置 GeneralLocation
  22. - (void)getGeneralLocationConfig;
  23. #pragma mark - 保存本地化配置 GeneralLocation
  24. - (void)setGeneralLocationConfig;
  25. #pragma mark - 读取各项配置的属性值 - General_Location
  26. - (NSString *)getVideoFormat; //获取视频制式
  27. - (NSString*)getDSTRule; //获取夏令时开关
  28. #pragma mark - 设置各项配置的属性值 - General_Location
  29. - (void)setDSTRule:(NSString*)enable ; //设置夏令时开关
  30. - (void)setmDSTStartYear:(int)year ; //设置夏令时开始年份
  31. - (void)setmDSTStartMonth:(int)month ;//开始月份
  32. - (void)setmDSTStartDay:(int)day;//开始日期
  33. - (void)setmDSTEndYear:(int)year;//结束年份
  34. - (void)setmDSTEndMonth:(int)month ;//月份
  35. - (void)setmDSTEndDay:(int)day;//日期
  36. @end