Blame client/iOS/Additions/OrderedDictionary.h

Packit Service fa4841
//
Packit Service fa4841
//  OrderedDictionary.h
Packit Service fa4841
//  OrderedDictionary
Packit Service fa4841
//
Packit Service fa4841
//  Modified version (Added indexForKey/Value functions)
Packit Service fa4841
//
Packit Service fa4841
//  Created by Matt Gallagher on 19/12/08.
Packit Service fa4841
//  Copyright 2008 Matt Gallagher. All rights reserved.
Packit Service fa4841
//
Packit Service fa4841
//  This software is provided 'as-is', without any express or implied
Packit Service fa4841
//  warranty. In no event will the authors be held liable for any damages
Packit Service fa4841
//  arising from the use of this software. Permission is granted to anyone to
Packit Service fa4841
//  use this software for any purpose, including commercial applications, and to
Packit Service fa4841
//  alter it and redistribute it freely, subject to the following restrictions:
Packit Service fa4841
//
Packit Service fa4841
//  1. The origin of this software must not be misrepresented; you must not
Packit Service fa4841
//     claim that you wrote the original software. If you use this software
Packit Service fa4841
//     in a product, an acknowledgment in the product documentation would be
Packit Service fa4841
//     appreciated but is not required.
Packit Service fa4841
//  2. Altered source versions must be plainly marked as such, and must not be
Packit Service fa4841
//     misrepresented as being the original software.
Packit Service fa4841
//  3. This notice may not be removed or altered from any source
Packit Service fa4841
//     distribution.
Packit Service fa4841
//
Packit Service fa4841
Packit Service fa4841
#import <Foundation/Foundation.h>
Packit Service fa4841
Packit Service fa4841
@interface OrderedDictionary : NSMutableDictionary
Packit Service fa4841
{
Packit Service fa4841
	NSMutableDictionary *dictionary;
Packit Service fa4841
	NSMutableArray *array;
Packit Service fa4841
}
Packit Service fa4841
Packit Service fa4841
- (void)insertObject:(id)anObject forKey:(id)aKey atIndex:(NSUInteger)anIndex;
Packit Service fa4841
- (id)keyAtIndex:(NSUInteger)anIndex;
Packit Service fa4841
- (NSUInteger)indexForValue:(id)value;
Packit Service fa4841
- (NSUInteger)indexForKey:(id)key;
Packit Service fa4841
- (NSEnumerator *)reverseKeyEnumerator;
Packit Service fa4841
Packit Service fa4841
@end