Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 54 lines (48 sloc) 2.14 kb
dc5be1c Initial check-in.
uli authored
1 //
2 // UKPathUtilities.h
3 // Shovel
4 //
5 // Created by Uli Kusterer on Thu Mar 25 2004.
720b0e7 @uliwitness Added licensing information to the source files.
authored
6 // Copyright (c) Uli Kusterer.
7 //
8 // This software is provided 'as-is', without any express or implied
9 // warranty. In no event will the authors be held liable for any damages
10 // arising from the use of this software.
11 //
12 // Permission is granted to anyone to use this software for any purpose,
13 // including commercial applications, and to alter it and redistribute it
14 // freely, subject to the following restrictions:
15 //
16 // 1. The origin of this software must not be misrepresented; you must not
17 // claim that you wrote the original software. If you use this software
18 // in a product, an acknowledgment in the product documentation would be
19 // appreciated but is not required.
20 //
21 // 2. Altered source versions must be plainly marked as such, and must not be
22 // misrepresented as being the original software.
23 //
24 // 3. This notice may not be removed or altered from any source
25 // distribution.
dc5be1c Initial check-in.
uli authored
26 //
27
28 #import <AppKit/AppKit.h>
29
30
31 // Gives the "download folder" as set up in Internet Config:
32 NSString* UKDownloadDirectory();
33
34 // Shorthands for various variants of UKFindFolder:
35 NSArray* UKApplicationSupportDirectory( BOOL create );
36 NSArray* UKDesktopDirectory( BOOL create );
37 NSArray* UKSingleUserTrashDirectory( BOOL create );
38 NSArray* UKFontsDirectory( BOOL create );
39 NSArray* UKPreferencesDirectory( BOOL create );
40 NSArray* UKTrashedTemporaryDirectory( BOOL create );
41 NSArray* UKTrashingTemporaryDirectory( BOOL create );
42 NSArray* UKDeletingTemporaryDirectory( BOOL create );
43 NSArray* UKApplicationsDirectory( BOOL create );
44 NSArray* UKDocumentsDirectory( BOOL create );
45 NSArray* UKInternetPlugInDirectory( BOOL create );
46 NSArray* UKUtilitiesDirectory( BOOL create );
47 NSArray* UKContextualMenuItemsDirectory( BOOL create );
48 NSArray* UKFavoritesDirectory( BOOL create );
49 NSArray* UKInstallerLogsDirectory( BOOL create );
50
51 // Cocoa version of FindFolder:
52 // Returns an array of paths for each domain in preferred search order:
53 NSArray* UKFindFolder( OSType folderType, BOOL create );
Something went wrong with that request. Please try again.