2014-07-09 14:45:53 +04:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or modify it under
|
|
|
|
* the terms of the GNU Lesser General Public License as published by the Free
|
|
|
|
* Software Foundation; either version 2.1 of the License, or (at your option)
|
|
|
|
* any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
|
|
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
|
|
|
|
* details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#import "RequestManager.h"
|
2015-06-15 15:51:11 +03:00
|
|
|
#import "SyncClientProxy.h"
|
2014-07-09 14:45:53 +04:00
|
|
|
|
2015-06-22 14:53:05 +03:00
|
|
|
@interface OwnCloudFinderRequestManager : NSObject <SyncClientProxyDelegate>
|
2014-07-09 14:45:53 +04:00
|
|
|
{
|
2015-06-15 15:51:11 +03:00
|
|
|
SyncClientProxy *_syncClientProxy;
|
2014-07-09 14:45:53 +04:00
|
|
|
|
|
|
|
NSMutableArray* _requestQueue;
|
2014-07-17 21:29:02 +04:00
|
|
|
NSMutableDictionary* _registeredPathes;
|
2015-05-06 13:50:53 +03:00
|
|
|
NSMutableSet* _requestedPaths;
|
2015-01-23 13:59:50 +03:00
|
|
|
|
|
|
|
NSString *_shareMenuTitle;
|
2014-07-09 14:45:53 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
@property (nonatomic, retain) NSString* filterFolder;
|
|
|
|
|
2015-06-22 14:53:05 +03:00
|
|
|
+ (OwnCloudFinderRequestManager*)sharedInstance;
|
2014-07-09 14:45:53 +04:00
|
|
|
|
2014-09-23 12:22:40 +04:00
|
|
|
- (BOOL)isRegisteredPath:(NSString*)path isDirectory:(BOOL)isDir;
|
2015-05-06 13:49:04 +03:00
|
|
|
- (void)askForIcon:(NSString*)path isDirectory:(BOOL)isDir;
|
2014-07-09 14:45:53 +04:00
|
|
|
- (void)menuItemClicked:(NSDictionary*)actionDictionary;
|
|
|
|
|
2015-01-23 13:59:50 +03:00
|
|
|
- (NSString*) shareItemTitle;
|
|
|
|
|
2014-07-09 14:45:53 +04:00
|
|
|
@end
|