mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Move protocol conformance to category to avoid bogus gcc complaints.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@329 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a268c983af
commit
6c91c65cae
4 changed files with 20 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
/* Interface for Objective-C Sequential Collection object.
|
||||
Copyright (C) 1993,1994 Free Software Foundation, Inc.
|
||||
Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
|
||||
|
||||
Written by: R. Andrew McCallum <mccallum@gnu.ai.mit.edu>
|
||||
Date: May 1993
|
||||
|
@ -28,8 +28,11 @@
|
|||
#include <objects/KeyedCollection.h>
|
||||
#include <objects/IndexedCollecting.h>
|
||||
|
||||
@interface IndexedCollection : KeyedCollection <IndexedCollecting>
|
||||
@interface IndexedCollection : KeyedCollection
|
||||
@end
|
||||
|
||||
/* Put this on category instead of class to avoid bogus complaint from gcc */
|
||||
@interface IndexedCollection (IndexedCollectionProtocol) <IndexedCollecting>
|
||||
@end
|
||||
|
||||
/* The only subclassResponsibilities in IndexedCollection are:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Interface for Objective-C KeyedCollection collection object
|
||||
Copyright (C) 1993,1994 Free Software Foundation, Inc.
|
||||
Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
|
||||
|
||||
Written by: R. Andrew McCallum <mccallum@gnu.ai.mit.edu>
|
||||
Date: May 1993
|
||||
|
@ -28,8 +28,11 @@
|
|||
#include <objects/Collection.h>
|
||||
#include <objects/KeyedCollecting.h>
|
||||
|
||||
@interface KeyedCollection : Collection <KeyedCollecting>
|
||||
@interface KeyedCollection : Collection
|
||||
@end
|
||||
|
||||
/* Put this on category instead of class to avoid bogus complaint from gcc */
|
||||
@interface KeyedCollection (KeyedCollectingProtocol) <KeyedCollecting>
|
||||
@end
|
||||
|
||||
/* The only subclassResponsibilities in IndexedCollection are:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Interface for Objective-C Sequential Collection object.
|
||||
Copyright (C) 1993,1994 Free Software Foundation, Inc.
|
||||
Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
|
||||
|
||||
Written by: R. Andrew McCallum <mccallum@gnu.ai.mit.edu>
|
||||
Date: May 1993
|
||||
|
@ -28,8 +28,11 @@
|
|||
#include <objects/KeyedCollection.h>
|
||||
#include <objects/IndexedCollecting.h>
|
||||
|
||||
@interface IndexedCollection : KeyedCollection <IndexedCollecting>
|
||||
@interface IndexedCollection : KeyedCollection
|
||||
@end
|
||||
|
||||
/* Put this on category instead of class to avoid bogus complaint from gcc */
|
||||
@interface IndexedCollection (IndexedCollectionProtocol) <IndexedCollecting>
|
||||
@end
|
||||
|
||||
/* The only subclassResponsibilities in IndexedCollection are:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Interface for Objective-C KeyedCollection collection object
|
||||
Copyright (C) 1993,1994 Free Software Foundation, Inc.
|
||||
Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
|
||||
|
||||
Written by: R. Andrew McCallum <mccallum@gnu.ai.mit.edu>
|
||||
Date: May 1993
|
||||
|
@ -28,8 +28,11 @@
|
|||
#include <objects/Collection.h>
|
||||
#include <objects/KeyedCollecting.h>
|
||||
|
||||
@interface KeyedCollection : Collection <KeyedCollecting>
|
||||
@interface KeyedCollection : Collection
|
||||
@end
|
||||
|
||||
/* Put this on category instead of class to avoid bogus complaint from gcc */
|
||||
@interface KeyedCollection (KeyedCollectingProtocol) <KeyedCollecting>
|
||||
@end
|
||||
|
||||
/* The only subclassResponsibilities in IndexedCollection are:
|
||||
|
|
Loading…
Reference in a new issue