Index: src/OFFileManager.h ================================================================== --- src/OFFileManager.h +++ src/OFFileManager.h @@ -531,15 +531,15 @@ * @note On Windows, this requires at least Windows Vista and administrator * privileges! * * @param destination The URL to the item which should symbolically link to the * source - * @param source The URL to the item for which a symbolic link should be + * @param source The path to the item for which a symbolic link should be * created */ - (void)createSymbolicLinkAtURL: (OFURL *)destination - withDestinationURL: (OFURL *)source; + withDestinationPath: (OFString *)source; @end @interface OFDictionary (FileAttributes) /*! * The @ref of_file_attribute_key_size key from the dictionary. Index: src/OFFileManager.m ================================================================== --- src/OFFileManager.m +++ src/OFFileManager.m @@ -614,12 +614,11 @@ exceptionWithPath: path attributes: attributes failedAttribute: of_file_attribute_key_posix_permissions errNo: errno]; #else - @throw [OFNotImplementedException exceptionWithSelector: _cmd - object: self]; + OF_UNRECOGNIZED_SELECTOR #endif } - (void)of_setOwner: (OFString *)owner andGroup: (OFString *)group @@ -679,12 +678,11 @@ exceptionWithPath: path attributes: attributes failedAttribute: attributeKey errNo: errno]; #else - @throw [OFNotImplementedException exceptionWithSelector: _cmd - object: self]; + OF_UNRECOGNIZED_SELECTOR #endif } - (void)setAttributes: (of_file_attributes_t)attributes ofItemAtPath: (OFString *)path @@ -1581,12 +1579,11 @@ [self linkItemAtPath: [source fileSystemRepresentation] toPath: [destination fileSystemRepresentation]]; objc_autoreleasePoolPop(pool); #else - @throw [OFNotImplementedException exceptionWithSelector: _cmd - object: self]; + OF_UNRECOGNIZED_SELECTOR #endif } #ifdef OF_FILE_MANAGER_SUPPORTS_SYMLINKS - (void)createSymbolicLinkAtPath: (OFString *)destination @@ -1624,22 +1621,21 @@ objc_autoreleasePoolPop(pool); } #endif - (void)createSymbolicLinkAtURL: (OFURL *)destination - withDestinationURL: (OFURL *)source + withDestinationPath: (OFString *)source { #ifdef OF_FILE_MANAGER_SUPPORTS_SYMLINKS void *pool = objc_autoreleasePoolPush(); [self createSymbolicLinkAtPath: [destination fileSystemRepresentation] - withDestinationPath: [source fileSystemRepresentation]]; + withDestinationPath: source]; objc_autoreleasePoolPop(pool); #else - @throw [OFNotImplementedException exceptionWithSelector: _cmd - object: self]; + OF_UNRECOGNIZED_SELECTOR #endif } @end @implementation OFDictionary (FileAttributes)