From 17349a5e426dc7acf1216a3767a22f69974cbca0 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Mon, 14 Apr 2008 21:45:08 -0400 Subject: Initial commit. --- Frameworks/LiBackend/LiFilter.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Frameworks/LiBackend/LiFilter.h (limited to 'Frameworks/LiBackend/LiFilter.h') diff --git a/Frameworks/LiBackend/LiFilter.h b/Frameworks/LiBackend/LiFilter.h new file mode 100644 index 0000000..3a81280 --- /dev/null +++ b/Frameworks/LiBackend/LiFilter.h @@ -0,0 +1,38 @@ +// +// LiFilter.h +// LiFrameworks +// +// Created by Brian Cully on Sat Aug 23 2003. +// Copyright (c) 2003 Brian Cully. All rights reserved. +// + +@interface LiFilter : NSObject +{ + NSString *theAttribute; + NSString *theCompareSelector; + id theValue; +} ++ (LiFilter *)filterWithAttribute: (NSString *)anAttribute + compareSelector: (SEL)aSelector + value: (id)aValue; + +- (id)initWithAttribute: (NSString *)anAttribute + compareSelector: (SEL)aSelector + value: (id)aValue; +@property (retain,getter=attribute) NSString *theAttribute; +@property (retain,getter=value) id theValue; +@property (retain) NSString *theCompareSelector; +@end + +@interface LiFilter (Accessors) +- (NSString *)attribute; +- (void)setAttribute: (NSString *)anAttribute; +- (SEL)compareSelector; +- (void)setCompareSelector: (SEL)aSelector; +- (id)value; +- (void)setValue: (id)aValue; +@end + +@interface LiFilter (CommonAccessors) +- (NSString *)description; +@end \ No newline at end of file -- cgit v1.2.3