VLCHTTPUploaderController.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*****************************************************************************
  2. * VLCHTTPUploaderController.h
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2013-2015 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Authors: Jean-Baptiste Kempf <jb # videolan.org>
  9. * Gleb Pinigin <gpinigin # gmail.com>
  10. * Felix Paul Kühne <fkuehne # videolan.org>
  11. * Carola Nitz <caro # videolan.org>
  12. *
  13. * Refer to the COPYING file of the official project for license.
  14. *****************************************************************************/
  15. #import <UIKit/UIKit.h>
  16. @class MediaLibraryService;
  17. @interface VLCHTTPUploaderController : NSObject
  18. + (instancetype)sharedInstance;
  19. @property (nonatomic, readonly) BOOL isReachable;
  20. @property (nonatomic, readwrite) MediaLibraryService *medialibrary;
  21. - (BOOL)changeHTTPServerState:(BOOL)state;
  22. - (NSString *)httpStatus;
  23. - (BOOL)isServerRunning;
  24. - (NSString *)hostname;
  25. - (NSString *)hostnamePort;
  26. - (void)moveFileFrom:(NSString *)filepath;
  27. - (void)cleanCache;
  28. @end