Permalink
Browse files

potentially need to remove individual keys from syncservicesMD

  • Loading branch information...
1 parent 06d65ec commit 9ae680a644ea271ecb10b456af3526b66f414b54 Zachary Schneirov committed Feb 1, 2010
Showing with 6 additions and 1 deletion.
  1. +1 −0 DeletedNoteObject.h
  2. +1 −1 NoteObject.h
  3. +3 −0 SynchronizedNoteMixIns.h
  4. +1 −0 SynchronizedNoteProtocol.h
View
1 DeletedNoteObject.h
@@ -26,6 +26,7 @@
- (void)incrementLSN;
- (BOOL)youngerThanLogObject:(id<SynchronizedNote>)obj;
+//- (void)removeKey:(NSString*)aKey forService:(NSString*)serviceName;
- (void)removeAllSyncMDForService:(NSString*)serviceName;
@end
View
2 NoteObject.h
@@ -129,7 +129,7 @@ NSInteger compareNodeID(id *a, id *b);
- (void)setSyncObjectAndKeyMD:(NSDictionary*)aDict forService:(NSString*)serviceName;
- (void)removeAllSyncMDForService:(NSString*)serviceName;
-- (void)removeAllSyncServiceMD;
+//- (void)removeKey:(NSString*)aKey forService:(NSString*)serviceName;
- (void)updateWithSyncBody:(NSString*)newBody andTitle:(NSString*)newTitle;
- (void)registerModificationWithOwnedServices;
View
3 SynchronizedNoteMixIns.h
@@ -15,6 +15,9 @@
- (void)removeAllSyncMDForService:(NSString*)serviceName {
[syncServicesMD removeObjectForKey:serviceName];
}
+//- (void)removeKey:(NSString*)aKey forService:(NSString*)serviceName {
+// [[syncServicesMD objectForKey:serviceName] removeObjectForKey:aKey];
+//}
- (CFUUIDBytes *)uniqueNoteIDBytes {
return &uniqueNoteIDBytes;
View
1 SynchronizedNoteProtocol.h
@@ -17,6 +17,7 @@
- (BOOL)youngerThanLogObject:(id<SynchronizedNote>)obj;
- (void)setSyncObjectAndKeyMD:(NSDictionary*)aDict forService:(NSString*)serviceName;
+//- (void)removeKey:(NSString*)aKey forService:(NSString*)serviceName;
- (void)removeAllSyncMDForService:(NSString*)serviceName;

0 comments on commit 9ae680a

Please sign in to comment.