mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-29 17:10:31 +00:00
Monotone-Parent: 027183f8ed3eb9e03f14555acbea16e275ab2933
Monotone-Revision: 1f27d8064c8c183e5a47a09fd0d57353a95d26a7 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-02-08T17:10:20 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -58,6 +58,28 @@
|
||||
|
||||
#import "UIxComponentEditor.h"
|
||||
|
||||
#define iREPEAT(X) \
|
||||
- (NSString *) repeat##X; \
|
||||
- (void) setRepeat##X: (NSString *) theValue
|
||||
|
||||
#define iRANGE(X) \
|
||||
- (NSString *) range##X; \
|
||||
- (void) setRange##X: (NSString *) theValue
|
||||
|
||||
@interface UIxComponentEditor (Private)
|
||||
|
||||
iREPEAT(1);
|
||||
iREPEAT(2);
|
||||
iREPEAT(3);
|
||||
iREPEAT(4);
|
||||
iREPEAT(5);
|
||||
iREPEAT(6);
|
||||
iREPEAT(7);
|
||||
iRANGE(1);
|
||||
iRANGE(2);
|
||||
|
||||
@end
|
||||
|
||||
#define REPEAT(X) \
|
||||
- (NSString *) repeat##X { return repeat##X; } \
|
||||
- (void) setRepeat##X: (NSString *) theValue { NSLog(@"setRepeat %@", theValue); ASSIGN(repeat##X, theValue); } \
|
||||
|
||||
Reference in New Issue
Block a user