]> err.no Git - sope/blobdiff - sope-ical/NGiCal/NGiCal.xmap
fixed b0rked Xcode project files
[sope] / sope-ical / NGiCal / NGiCal.xmap
index 8e7a4546fd4d8507bd9da419e6709da92b9b02fc..182db0bb7c449127ffc7938c8a240216a090a574 100644 (file)
@@ -8,7 +8,7 @@
       tagKey = "tag";
       
       ToManyRelationships = {
-       "subcomponents" = ( vcalendar );
+        "subcomponents" = ( vcalendar );
       };
     };
     
         prodid   = prodId;
         version  = version;
         calscale = calscale;
+       method   = method;
       };
       
       ToManyRelationships = {
-       events    = ( vevent    );
-       todos     = ( vtodo     );
-       journals  = ( journals  );
-       freeBusys = ( vfreebusy );
-       timezones = ( vtimezone );
+        events    = ( vevent    );
+        todos     = ( vtodo     );
+        journals  = ( journals  );
+        freeBusys = ( vfreebusy );
+        timezones = ( vtimezone );
       };
     };
     
     vevent = {
       class  = iCalEvent;
-      
+
+      attributes = {
+      };
+
       ToManyRelationships = {
-       "alarms"    = ( valarm   );
-       "attendees" = ( attendee );
+        "alarms"          = ( valarm   );
+        "attendees"       = ( attendee );
+        "recurrenceRules" = ( rrule    );
+        "exceptionRules"  = ( exrule   );
+        "exceptionDates"  = ( exdate   );
       };
     };
     
     vtodo = {
       class = "iCalToDo";
-      
+
+      attributes = {
+      };
+
       ToManyRelationships = {
-       "alarms"    = ( valarm   );
-       "attendees" = ( attendee );
+        "alarms"    = ( valarm   );
+        "attendees" = ( attendee );
       };
     };
     
     valarm = {
       class = "iCalAlarm";
+
+      attributes = {
+        rrule = recurrenceRule;
+      };
     };
     
     vfreebusy = {
       class = "iCalFreeBusy";
       
       ToManyRelationships = {
-       "entries" = ( freebusy );
+        "entries" = ( freebusy );
       };
     };
     
@@ -64,7 +78,7 @@
       class = NSMutableDictionary;
       
       attributes = {
-       tzid             = timeZoneID;
+        tzid             = timeZoneID;
         "X-LIC-LOCATION" = location;
         daylight         = daylightInfo;
         standard         = standardInfo;
       class = NSMutableDictionary;
       
       attributes = {
-       tzoffsetfrom = tzOffsetFrom;
-       tzoffsetto   = tzOffsetTo;
-       tzname       = tzName;
-       dtstart      = startDate;
-       rrule        = recurrenceRule;
+        tzoffsetfrom = tzOffsetFrom;
+        tzoffsetto   = tzOffsetTo;
+        tzname       = tzName;
+        dtstart      = startDate;
+        rrule        = recurrenceRule;
       };
     };
     standard = {
       class = NSMutableDictionary;
       
       attributes = {
-       tzoffsetfrom = tzOffsetFrom;
-       tzoffsetto   = tzOffsetTo;
-       tzname       = tzName;
-       dtstart      = startDate;
-       rrule        = recurrenceRule;
+        tzoffsetfrom = tzOffsetFrom;
+        tzoffsetto   = tzOffsetTo;
+        tzname       = tzName;
+        dtstart      = startDate;
+        rrule        = recurrenceRule;
       };
     };
     
       tagKey     = "tag";
       contentKey = "string";
     };
+    exdate = {
+      class = iCalDateHolder;
+      key   = "recurrenceRuleExceptionDate";
+      attributes = {
+        tzid = tzid;
+      };
+      tagKey     = "tag";
+      contentKey = "string";
+    };
     due = {
       class = iCalDateHolder;
       attributes = {
     
     summary     = { class = NSString; };
     description = { class = NSString; key = comment; };
+    comment     = { class = NSString; key = userComment; };
     uid         = { class = NSString; };
     action      = { class = NSString; };
     priority    = { class = NSString; };
     status      = { class = NSString; };
-    transp      = { class = NSString; };
+    transp      = { class = NSString; key = transparency; };
     sequence    = { class = NSString; };
+    categories  = { class = NSString; };
     class       = { class = NSString; key = accessClass; };
     percent-complete = { class = NSString; key = "percentComplete"; };
     
       class = NSString;
     };
     rrule = {
-      class = NSString;
+      class = iCalRecurrenceRule;
+      /*
+      attributes = {
+        freq       = rrFreq;
+        until      = rrUntil;
+        count      = rrCount;
+        interval   = rrInterval;
+        bysecond   = rrBySecondList;
+        byminute   = rrByMinuteList;
+        byhour     = rrByHourList;
+        byday      = rrByDayList;
+        bymonthday = rrByMonthDayList;
+        byyearday  = rrByYearDayList;
+        byweekno   = rrByWeekNumberList;
+        bymonth    = rrByMonthList;
+        bysetpos   = rrBySetPosList;
+        wkst       = rrWeekStart;
+      };
+      */
+      contentKey = "rrule";
+      key        = "recurrenceRule";
     };
     location = {
       class = NSString;