mirror of
https://github.com/zhigang1992/transshift.git
synced 2026-06-11 16:50:01 +08:00
28 lines
645 B
Objective-C
28 lines
645 B
Objective-C
//
|
|
// FileListTouchAreaView.h
|
|
// TransmissionRPCClient
|
|
//
|
|
// Created by Alexey Chechetkin on 26.09.15.
|
|
// Copyright (c) 2015 Alexey Chechetkin. All rights reserved.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@protocol FileListTouchAreaDelegate <NSObject>
|
|
|
|
@optional - (void)renameFileOrFolder:(BOOL)isFile fromOldName:(NSString *)oldname toNewName:(NSString *)newName;
|
|
|
|
@end
|
|
|
|
@interface FileListTouchAreaView : UIView
|
|
|
|
@property( weak, nonatomic ) id<FileListTouchAreaDelegate> delegate;
|
|
|
|
@property( nonatomic ) BOOL isFile;
|
|
@property( nonatomic ) NSString *itemName;
|
|
@property( nonatomic ) NSString *itemPath;
|
|
|
|
- (void)renameAction:(id)sender;
|
|
|
|
@end
|