ActiveViewController.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. @protocol ActiveViewController
  12. @required
  13. -(void) showHidePrice;
  14. @end
  15. @interface ActiveViewController : UIViewController <ActiveViewController>
  16. -(void) reload_container_getdata:(bool) update_data;
  17. -(void) logout;
  18. -(void) refresh_on_login;
  19. @property int refresh_type;
  20. @property bool isrefreshing;
  21. -(void)refresh_btn_click:(UILongPressGestureRecognizer*)gestureRecognizer;
  22. //-(void) showHidePrice;
  23. @property bool disable_refresh;
  24. //support scanner
  25. -(void) OnUpdateDevicesList;
  26. -(void) onDecodedData:(NSString*) value;
  27. -(void) onErrorInfo:(NSString*) errorInfo;
  28. -(void) onStatusChanged:(NSString*) status;
  29. -(void) onLogUpdate;
  30. - (void)reRefreshView;
  31. @property NotificationRefreshLevel notification_refreshLevel;
  32. #pragma mark - child class response notification
  33. -(void) refresh_ui;
  34. -(void) reload_data;
  35. -(void) clear_data;
  36. -(void) refresh_price;
  37. +(void) Notify:(NSString*) arr_receiver Message:(NSString*)notification_msg ;
  38. @end