PathMacros.h
1.4 KB
//
// PathMacros.h
// Yohoboys
//
// Created by Zhou Rongjun on 14-9-29.
// Copyright (c) 2014年 YOHO. All rights reserved.
//
#ifndef M16_PathMacros_h
#define M16_PathMacros_h
//文件目录
#define kPathTemp NSTemporaryDirectory()
#define kPathDocument [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0]
#define kPathCache [NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES) objectAtIndex:0]
#define kPathSearch [kPathDocument stringByAppendingPathComponent:@"Search.plist"]
//#define kPathMagazine [kPathDocument stringByAppendingPathComponent:@"magazine"]
#define kPathDownloadedMgzs [kPathMagazine stringByAppendingPathComponent:@"DownloadedMgz.plist"]
//#define kPathDownloadURLs [kPathMagazine stringByAppendingPathComponent:@"DownloadURLs.plist"]
//#define kPathOperation [kPathMagazine stringByAppendingPathComponent:@"Operation.plist"]
#define kPathMagazine [kPathDocument stringByAppendingPathComponent:@"magazine"]
#define kPathMagazines [kPathMagazine stringByAppendingPathComponent:@"magazines"]
#define kPathMagazineMagazinesPlist [kPathMagazine stringByAppendingPathComponent:@"magazines.plist"]
#define kPathSplashScreen [kPathCache stringByAppendingPathComponent:@"splashScreen"]
#endif