00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef _WIN32
00018 # include <sys/types.h>
00019 #endif
00020
00021 #include <unistd.h>
00022
00023 #import "OFException.h"
00024
00025 @class OFSeekableStream;
00026
00030 @interface OFSeekFailedException: OFException
00031 {
00032 OFSeekableStream *stream;
00033 off_t offset;
00034 int whence;
00035 int errNo;
00036 }
00037
00038 #ifdef OF_HAVE_PROPERTIES
00039 @property (readonly, nonatomic) OFSeekableStream *stream;
00040 @property (readonly) off_t offset;
00041 @property (readonly) int whence;
00042 @property (readonly) int errNo;
00043 #endif
00044
00051 + newWithClass: (Class)class_
00052 stream: (OFSeekableStream*)stream
00053 offset: (off_t)offset
00054 whence: (int)whence;
00055
00064 - initWithClass: (Class)class_
00065 stream: (OFSeekableStream*)stream
00066 offset: (off_t)offset
00067 whence: (int)whence;
00068
00072 - (OFSeekableStream*)stream;
00073
00077 - (off_t)offset;
00078
00082 - (int)whence;
00083
00087 - (int)errNo;
00088 @end