ActiveViewController.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. //
  2. // ActiveViewController.h
  3. // RedAnt ERP Mobile
  4. //
  5. // Created by Ray on 12/15/15.
  6. // Copyright © 2015 United Software Applications, Inc. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. //#import "TouchLabel.h"
  10. #import "NotificationNameCenter.h"
  11. //#import "ScanApiHelper.h"
  12. #import "AppDelegateBase.h"
  13. @protocol ActiveViewController
  14. @required
  15. -(void) showHidePrice;
  16. @end
  17. #ifdef RA_NOTIFICATION
  18. @interface ActiveViewController : UIViewController <ActiveViewController,ScannerEventsFeedback>
  19. #else
  20. @interface ActiveViewController : UIViewController <ActiveViewController>
  21. -(void) reload_container_getdata:(bool) update_data;
  22. #endif
  23. -(void) logout;
  24. -(void) refresh_on_login;
  25. @property int refresh_type;
  26. @property bool isrefreshing;
  27. -(void)refresh_btn_click:(UILongPressGestureRecognizer*)gestureRecognizer;
  28. //-(void) showHidePrice;
  29. @property bool disable_refresh;
  30. #ifndef RA_NOTIFICATION
  31. //support scanner
  32. -(void) OnUpdateDevicesList;
  33. -(void) onDecodedData:(NSString*) value;
  34. -(void) onErrorInfo:(NSString*) errorInfo;
  35. -(void) onStatusChanged:(NSString*) status;
  36. -(void) onLogUpdate;
  37. #else
  38. @property bool support_scanner;
  39. #endif
  40. - (void)reRefreshView;
  41. @property NotificationRefreshLevel notification_refreshLevel;
  42. #pragma mark - child class response notification
  43. -(void) refresh_ui;
  44. -(void) reload_data;
  45. -(void) clear_data;
  46. -(void) refresh_price;
  47. +(void) Notify:(NSString*) arr_receiver Message:(NSString*)notification_msg ;
  48. @end