mirror of
https://github.com/gnustep/libs-steptalk.git
synced 2025-02-23 11:31:01 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@17436 72102866-910b-0410-8b05-ffd578937521
67 lines
1.5 KiB
Text
67 lines
1.5 KiB
Text
/** Foundation-safe.stenv
|
|
*/
|
|
|
|
{
|
|
Name = "Foundation-safe";
|
|
|
|
Use = ("Standard");
|
|
|
|
Behaviours =
|
|
{
|
|
"DenyWriteToFile" = {
|
|
DenyMethods = (
|
|
"writeToFile:atomically:",
|
|
"writeToURL:atomically:"
|
|
)
|
|
}
|
|
};
|
|
|
|
Classes =
|
|
{
|
|
NSString =
|
|
{
|
|
Use = (DenyWriteToFile);
|
|
};
|
|
NSArray =
|
|
{
|
|
Use = (DenyWriteToFile);
|
|
};
|
|
NSDictionary =
|
|
{
|
|
Use = (DenyWriteToFile);
|
|
};
|
|
NSData =
|
|
{
|
|
Use = (DenyWriteToFile);
|
|
};
|
|
|
|
NSFileManager =
|
|
{
|
|
DenyMethods = (
|
|
"copyPath:toPath:handler:",
|
|
"createFileAtPath:contents:attributes:",
|
|
"movePath:toPath:handler:",
|
|
"linkPath:toPath:handler:",
|
|
"removeFileAtPath:handler:",
|
|
"changeFileAttributes:atPath:",
|
|
"createSymbolicLinkAtPath:pathContent:"
|
|
);
|
|
};
|
|
|
|
NSUserDefaults =
|
|
{
|
|
DenyMethods = (
|
|
"removeObjectForKey:",
|
|
"setBool:forKey:",
|
|
"setFloat:forKey:",
|
|
"setInteger:forKey:",
|
|
"setObject:forKey:",
|
|
"removePersistentDomainForName:",
|
|
"setPersistentDomain:forName:",
|
|
"removeVolatileDomainForName:",
|
|
"setVolatileDomain:forName:",
|
|
"registerDefaults:"
|
|
);
|
|
};
|
|
}; /* Classes */
|
|
}
|