ActiveViewController.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. #endif
  22. -(void) reload_container_getdata:(bool) update_data;
  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