VLCHTTPUploaderController.h 970 B

123456789101112131415161718192021222324252627282930313233
  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. @interface VLCHTTPUploaderController : NSObject
  17. + (instancetype)sharedInstance;
  18. @property (nonatomic, readonly) BOOL isReachable;
  19. - (BOOL)changeHTTPServerState:(BOOL)state;
  20. - (NSString *)httpStatus;
  21. - (BOOL)isServerRunning;
  22. - (NSString *)hostname;
  23. - (void)moveFileFrom:(NSString *)filepath;
  24. - (void)cleanCache;
  25. @end