VLCBaseInterfaceController.h 1.0 KB

1234567891011121314151617181920212223242526272829303132
  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. extern NSString *const VLCDBUpdateNotification;
  14. @interface VLCBaseInterfaceController : WKInterfaceController
  15. @property (nonatomic, assign, readonly, getter=isActivated) BOOL activated;
  16. - (void)addNowPlayingMenu;
  17. - (void)showNowPlaying:(id)sender;
  18. // calls updataData if interface is currenlty active
  19. // otherwise it sets a flag so update data when the interface is activated
  20. - (void)setNeedsUpdateData;
  21. // actual update logic should be overwritten by subclasses that needs an update logic
  22. - (void)updateData;
  23. @end