Permalink
Browse files

added new and cleaned up file types

  • Loading branch information...
1 parent 4c1c355 commit b019ef90b8a91fe33a6b92d3a5ce626d43e8795a @alist alist committed Mar 1, 2012
Showing with 17 additions and 1 deletion.
  1. +10 −0 libSwyp/swypFileTypeString.h
  2. +7 −1 libSwyp/swypFileTypeString.m
View
10 libSwyp/swypFileTypeString.h
@@ -66,6 +66,16 @@
+(id) swypContactFileType;
+
+/**
+ Specifies calendar events in swyp's special json format including an array of objects in 'events'.
+
+ MIME: "swyp/calendarEvents"
+ */
+
++(id) swypCalendarEventsFileType;
+
+
/**
Specifies a mapable address in swyp's special json format.
View
8 libSwyp/swypFileTypeString.m
@@ -38,10 +38,16 @@ +(id) textPlainFileType{
}
+(id) swypContactFileType{
- static NSString * type = @"text/contact";
+ static NSString * type = @"swyp/contact";
return type;
}
++(id) swypCalendarEventsFileType{
+ static NSString * type = @"swyp/calendarEvents";
+ return type;
+}
+
+
+(id) swypAddressFileType{
static NSString * type = @"text/address";
return type;

0 comments on commit b019ef9

Please sign in to comment.