Differences From Artifact [fb39a1e440]:
- File
src/OFFile.h
— part of check-in
[b597d49f43]
at
2008-10-08 23:15:26
on branch trunk
— Multiple changes, see details.
* OFObject getMem: renamd to getMemWithSize:.
* OFString compare: renamed to compareTo:.
* Exceptions don't throw itself anymore.
* Exceptions include an error string now.
* Exceptions now got raise and string.
* New methods for OFFile:
* changeModeOfFile:toMode:
* changeOwnerOfFile:toOwner:andGroup:
* delete:
* link:to:
* symlink:to:
* OFFile isEndOfFile renamd to atEndOfFile
* OFNotImplementedExeception newWithObject:andMethod renamed to
newWithObject:andSelector:.
* Tests updated accordingly.
* TODO list added. (user: js, size: 1116) [annotate] [blame] [check-ins using]
To Artifact [f9dde14242]:
- File src/OFFile.h — part of check-in [9a0cc3bc23] at 2008-10-26 02:45:59 on branch trunk — Add OFHashes. Only MD5 so far. (user: js, size: 1147) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | + | /* * Copyright (c) 2008 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #import <stdio.h> #import <stdint.h> #import "OFObject.h" @interface OFFile: OFObject { FILE *fp; } |
︙ | |||
31 32 33 34 35 36 37 | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | - + - - - + + + | + (int)symlink: (const char*)src to: (const char*)dest; - initWithPath: (const char*)path andMode: (const char*)mode; - free; - (BOOL)atEndOfFile; |