VLCBaseInterfaceController.h 979 B

123456789101112131415161718192021222324252627282930
  1. /*****************************************************************************
  2. * VLCBaseInterfaceController.h
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2015 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Author: Tobias Conradi <videolan # tobias-conradi.de>
  9. *
  10. * Refer to the COPYING file of the official project for license.
  11. *****************************************************************************/
  12. #import <WatchKit/WatchKit.h>
  13. @interface VLCBaseInterfaceController : WKInterfaceController
  14. @property (nonatomic, assign, readonly, getter=isActivated) BOOL activated;
  15. - (void)addNowPlayingMenu;
  16. - (void)showNowPlaying:(id)sender;
  17. // calls updataData if interface is currenlty active
  18. // otherwise it sets a flag so update data when the interface is activated
  19. - (void)setNeedsUpdateData;
  20. // actual update logic should be overwritten by subclasses that needs an update logic
  21. - (void)updateData;
  22. @end