From 55960635056194c6ff94748a04b7f13ad7a69825 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 8 Feb 2008 17:10:20 +0000 Subject: [PATCH] Monotone-Parent: 027183f8ed3eb9e03f14555acbea16e275ab2933 Monotone-Revision: 1f27d8064c8c183e5a47a09fd0d57353a95d26a7 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-02-08T17:10:20 Monotone-Branch: ca.inverse.sogo --- UI/Scheduler/UIxComponentEditor.m | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/UI/Scheduler/UIxComponentEditor.m b/UI/Scheduler/UIxComponentEditor.m index 1c5ab268d..1d46dec7b 100644 --- a/UI/Scheduler/UIxComponentEditor.m +++ b/UI/Scheduler/UIxComponentEditor.m @@ -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); } \