GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Coding-iOS/Coding_iOS/Models/ProjectFile.h at master · coding/Coding-iOS Expand file tree/ Copy pathProjectFile.hMore file actions executable file ·62 lines (46 loc) · 1.92 KB / Copy pathProjectFile.hFile metadata and controlsexecutable file ·62 lines (46 loc) · 1.92 KB 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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 // // ProjectFile.h // Coding_iOS // // Created by Ease on 14/11/13. // Copyright (c) 2014年 Coding. All rights reserved. // #import <Foundation/Foundation.h> #import "User.h" #import "FileShare.h" typedef NS_ENUM(NSInteger, DownloadState){ DownloadStateDefault = 0, DownloadStateDownloading, DownloadStatePausing, DownloadStateDownloaded }; @class Coding_DownloadTask; @interface ProjectFile : NSObject @property (readwrite, nonatomic, strong) NSDate *created_at, *updated_at; @property (readwrite, nonatomic, strong) NSNumber *id, *file_id, *owner_id, *parent_id, *type, *current_user_role_id, *size, *project_id, *number, *count; @property (readwrite, nonatomic, strong) NSString *name, *owner_name, *fileType, *owner_preview, *preview, *storage_key, *storage_type, *title, *path; @property (readwrite, nonatomic, strong) User *owner; @property (readwrite, nonatomic, strong) FileShare *share, *share_ea; @property (strong, nonatomic, readonly) NSString *diskFileName, *storage_key_for_disk; @property (strong, nonatomic) NSString *next_name; @property (strong, nonatomic) NSString *project_name, *project_owner_name; + (ProjectFile *)fileWithFileId:(NSNumber *)fileId andProjectId:(NSNumber *)project_id; + (instancetype)sharedFolderInProject:(NSString *)project_name ofUser:(NSString *)project_owner_name; - (instancetype)initWithFileId:(NSNumber *)fileId inProject:(NSString *)project_name ofUser:(NSString *)project_owner_name; - (BOOL)isDefaultFolder; - (BOOL)isSharedFolder; - (BOOL)isEmpty; - (DownloadState)downloadState; - (Coding_DownloadTask *)cDownloadTask; - (NSURL *)diskFileUrl; - (NSString *)downloadPath; - (NSString *)toDeletePath; - (NSDictionary *)toDeleteParams; - (NSDictionary *)toMoveToParams; - (NSString *)toDetailPath; - (NSString *)toActivityListPath; - (NSString *)toHistoryListPath; - (NSDictionary *)toShareParams; - (NSString *)toFolderFilesPath; - (NSDictionary *)toFolderFilesParams; @end |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |