@@ -7,12 +7,13 @@ * This file is part of ObjFW. 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. */ +#include + #import "OFObject.h" -#import "OFFile.h" @class OFString; /** * An exception indicating an object could not be allocated. @@ -376,10 +377,11 @@ * \return The new mode for the file */ - (mode_t)mode; @end +#ifndef _WIN32 /** * An OFException indicating that changing the owner of the file failed. */ @interface OFChangeFileOwnerFailedException: OFException { @@ -433,10 +435,11 @@ /** * \return The new group for the file */ - (gid_t)group; @end +#endif /** * An OFException indicating that renaming a file failed. */ @interface OFRenameFileFailedException: OFException @@ -520,10 +523,11 @@ * \return The path of the file */ - (OFString*)path; @end +#ifndef _WIN32 /** * An OFException indicating that creating a link failed. */ @interface OFLinkFailedException: OFException { @@ -615,10 +619,11 @@ /** * \return A string of the destination for the symlink */ - (OFString*)destination; @end +#endif /** * An OFException indicating that setting an option failed. */ @interface OFSetOptionFailedException: OFException {}