Commented and cleaned up the Atom feed parser.
[sparkle2.git] / Framework / SUPoset.h
blobc29684c0fb89f4cbeaa228228269aed8315d3a3e
1 //
2 // SUPoset.h
3 // Sparkle
4 //
5 // Created by David Symonds on 17/09/07.
6 // Copyright 2007 __MyCompanyName__. All rights reserved.
7 //
9 #import <Cocoa/Cocoa.h>
12 typedef enum {
13 SUPosetOrderAscending = -1,
14 SUPosetOrderUnknown = 0,
15 SUPosetOrderDescending = 1,
16 } SUPosetOrder;
18 @interface SUPoset : NSObject {
19 NSMutableArray *groundSet;
20 NSMutableArray *declaredOrderings;
23 - (SUPoset *)init;
25 - (void)clearOrderings;
27 - (void)setOrdering:(id)object1 toObject:(id)object2 as:(SUPosetOrder)order;
28 - (void)setOrdering:(id)object1 comesBefore:(id)object2;
30 - (SUPosetOrder)compare:(id)object1 toObject:(id)object2;
32 @end