summaryrefslogtreecommitdiffstats
path: root/Frameworks/LiPlugin/LiFilterDescription.h
diff options
context:
space:
mode:
Diffstat (limited to 'Frameworks/LiPlugin/LiFilterDescription.h')
-rw-r--r--Frameworks/LiPlugin/LiFilterDescription.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/Frameworks/LiPlugin/LiFilterDescription.h b/Frameworks/LiPlugin/LiFilterDescription.h
new file mode 100644
index 0000000..a26736e
--- /dev/null
+++ b/Frameworks/LiPlugin/LiFilterDescription.h
@@ -0,0 +1,40 @@
+//
+// LiFilterDescription.h
+// LiFrameworks
+//
+// Created by Brian Cully on Sat Aug 23 2003.
+// Copyright (c) 2003 Brian Cully. All rights reserved.
+//
+
+@interface LiFilterDescription : NSObject
+{
+ NSCell *theValueEditorCell;
+ NSDictionary *theCompareOperators;
+ NSString *theName;
+ SEL theMethod;
+}
++ (id)descriptionForMethod: (SEL)aMethod
+ name: (NSString *)aName
+ compareOperators: (NSDictionary *)someOperators
+ valueEditorCell: (NSCell *)aCell;
+
+- (id)initWithMethod: (SEL)aMethod
+ name: (NSString *)aName
+ compareOperators: (NSDictionary *)someOperators
+ valueEditorCell: (NSCell *)aCell;
+@property (getter=method,setter=setMethod:) SEL theMethod;
+@property (retain,getter=name) NSString *theName;
+@property (retain,getter=valueEditorCell) NSCell *theValueEditorCell;
+@property (retain,getter=compareOperators) NSDictionary *theCompareOperators;
+@end
+
+@interface LiFilterDescription (Accessors)
+- (SEL)method;
+- (void)setMethod: (SEL)aMethod;
+- (NSString *)name;
+- (void)setName: (NSString *)aName;
+- (NSDictionary *)compareOperators;
+- (void)setCompareOperators: (NSDictionary *)someOperators;
+- (NSCell *)valueEditorCell;
+- (void)setValueEditorCell: (NSCell *)aCell;
+@end