Debian Codegraph @

Framework/Pantomime/NSFileManager+Extensions.h

raw symbols SCIP
1 /*
2 ** NSFileManager+Extensions.h
3 **
4 ** Copyright (c) 2004-2007 Ludovic Marcotte
5 **
6 ** Author: Ludovic Marcotte <[email protected]>
7 **
8 ** This library is free software; you can redistribute it and/or
9 ** modify it under the terms of the GNU Lesser General Public
10 ** License as published by the Free Software Foundation; either
11 ** version 2.1 of the License, or (at your option) any later version.
12 **
13 ** This library is distributed in the hope that it will be useful,
14 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 ** Lesser General Public License for more details.
17 **
18 ** You should have received a copy of the GNU General Public License
19 ** along with this program. If not, see <http://www.gnu.org/licenses/>.
20 */
21
22 #ifndef _Pantomime_H_NSFileManager_Extensions
23 #define _Pantomime_H_NSFileManager_Extensions
24
25 #import <Foundation/NSFileManager.h>
26
27 @class NSString;
28
29 /*!
30 @category NSFileManager (PantomimeFileManagerExtensions)
31 @abstract Pantomime extensions to NSFileManager.
32 @discussion This category provides useful extensions to the
33 default NSFileManager class.
34 */
35 @interface NSFileManager (PantomimeFileManagerExtensions)
36
37 /*!
38 @method enforceMode: atPath:
39 @discussion This method is used to enforce the specified
40 POSIX file permissions at <i>thePath</i>.
41 @param theMode The POSIX file permissions to use.
42 @param thePath The path where to enforce the permissions.
43 */
44 - (void) enforceMode: (unsigned long) theMode
45 atPath: (NSString *) thePath;
46 @end
47
48 #endif // _Pantomime_H_NSFileManager_Extensions