@@ -1,8 +1,8 @@ /* - * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 - * Jonathan Schleifer + * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 + * Jonathan Schleifer * * All rights reserved. * * 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.QPL included in @@ -19,16 +19,15 @@ #import "socket.h" OF_ASSUME_NONNULL_BEGIN @class OFMutableArray OF_GENERIC(ObjectType); -@class OFMutableDictionary OF_GENERIC(KeyType, ObjectType); -@class OFDataArray; +@class OFDate; #ifdef OF_HAVE_THREADS @class OFMutex; #endif -@class OFDate; +@class OFDataArray; /*! * @protocol OFKernelEventObserverDelegate * OFKernelEventObserver.h ObjFW/OFKernelEventObserver.h * @@ -112,12 +111,10 @@ { OFMutableArray OF_GENERIC(id ) *_readObjects; OFMutableArray OF_GENERIC(id ) *_writeObjects; - OFMutableArray *_queue; - OFDataArray *_queueActions; id _delegate; #ifdef OF_HAVE_PIPE int _cancelFD[2]; #else of_socket_t _cancelFD[2]; @@ -124,10 +121,12 @@ struct sockaddr_in _cancelAddr; #endif #ifdef OF_HAVE_THREADS OFMutex *_mutex; #endif + OFDataArray *_queueActions; + OFMutableArray *_queueObjects; } #ifdef OF_HAVE_PROPERTIES @property OF_NULLABLE_PROPERTY (assign) id delegate;