Index: src/OFObject.h ================================================================== --- src/OFObject.h +++ src/OFObject.h @@ -65,12 +65,12 @@ * * \param selector The selector of the method to replace * \param class The class from which the new method should be taken * \return The old implementation */ -+ (IMP)replaceMethod: (SEL)selector - withMethodFromClass: (Class)class; ++ (IMP)replaceMethod: (SEL)selector + withMethodFromClass: (Class)class; /** * Initialize the already allocated object. * Also sets up the memory pool for the object. * Index: src/OFObject.m ================================================================== --- src/OFObject.m +++ src/OFObject.m @@ -118,12 +118,12 @@ return NO; #endif } -+ (IMP)replaceMethod: (SEL)selector - withMethodFromClass: (Class)class; ++ (IMP)replaceMethod: (SEL)selector + withMethodFromClass: (Class)class; { #ifdef __objc_INCLUDE_GNU Method_t method = class_get_instance_method(self, selector); IMP oldimp, newimp; Index: src/objfw.h ================================================================== --- src/objfw.h +++ src/objfw.h @@ -1,44 +1,44 @@ /* * Copyright (c) 2008 - 2009 - * Jonathan Schleifer + * 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 -#import - -#import -#import - -#import -#import - -#import - -#import -#import - -#import - -#import - -#import - -#import -#import - -#import -#import -#import +#import "OFObject.h" +#import "OFExceptions.h" + +#import "OFAutoreleasePool.h" +#import "OFString.h" + +#import "OFDataArray.h" +#import "OFArray.h" + +#import "OFList.h" + +#import "OFDictionary.h" +#import "OFIterator.h" + +#import "OFNumber.h" + +#import "OFStream.h" + +#import "OFFile.h" + +#import "OFSocket.h" +#import "OFTCPSocket.h" + +#import "OFHashes.h" +#import "OFThread.h" +#import "OFXMLFactory.h" #ifdef OF_PLUGINS -#import +#import "OFPlugin.h" #endif -#import -#import +#import "OFMacros.h" +#import "asprintf.h"