CPDFUtilities.h 1.0 KB

12345678910111213141516171819202122
  1. //
  2. // CPDFUtilities.h
  3. // ComPDFKit
  4. //
  5. // Copyright © 2014-2022 PDF Technologies, Inc. All Rights Reserved.
  6. //
  7. // THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
  8. // AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
  9. // UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
  10. // This notice may not be removed from this file.
  11. //
  12. #ifndef CPDFUtilities_h
  13. #define CPDFUtilities_h
  14. #define C_Cache_Folder [NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES) firstObject]
  15. #define CPDFKiC_Cache_Folder [C_Cache_Folder stringByAppendingPathComponent:@"CPDFKitCache"]
  16. #define CPDFKit_Cache_Image_Folder [CPDFKiC_Cache_Folder stringByAppendingPathComponent:@"Image"]
  17. #define CPDFKit_Cache_PDF_Folder [CPDFKiC_Cache_Folder stringByAppendingPathComponent:@"PDF"]
  18. #define CPDFKit_Cache_Media_Folder [CPDFKiC_Cache_Folder stringByAppendingPathComponent:@"Media"]
  19. #endif /* CPDFUtilities_h */