summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLListFilesOperation.h
blob: 9107ef758a908d27ef18bb4f724a639dd8005bd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
//  SDLListFilesOperation.h
//  SmartDeviceLink-iOS
//
//  Created by Joel Fischer on 5/25/16.
//  Copyright © 2016 smartdevicelink. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "SDLAsynchronousOperation.h"
#import "SDLFileManagerConstants.h"

@protocol SDLConnectionManagerType;


NS_ASSUME_NONNULL_BEGIN

@interface SDLListFilesOperation : SDLAsynchronousOperation

/**
 *  Create an instance of a list files operation which will ask the remote system which files it has on its system already.
 *
 *  @param connectionManager The connection manager which will handle transporting the request to the remote system.
 *  @param completionHandler A completion handler for when the response returns.
 *
 *  @return An instance of SDLListFilesOperation
 */
- (instancetype)initWithConnectionManager:(id<SDLConnectionManagerType>)connectionManager completionHandler:(nullable SDLFileManagerListFilesCompletionHandler)completionHandler;

@end

NS_ASSUME_NONNULL_END