Split -synchronizeLastEventId in two methods.

The first method (updateUserDefaultsWithLastEventId) just
sets the default while the other (synchronizeUserDefaultsWithDisk)
forces a synchronization with the disk.
This commit is contained in:
Malte Tancred
2012-06-14 11:43:52 +02:00
parent 0018be6fd8
commit 1fd021770e
3 changed files with 17 additions and 8 deletions
+2 -1
View File
@@ -80,7 +80,8 @@ extern NSString * const XCCListeningStartNotification;
- (void)initializeEventStreamWithPath:(NSString*)aPath;
- (void)stopEventStream;
- (void)updateLastEventId:(uint64_t)eventId;
- (void)synchronizeLastEventId;
- (void)updateUserDefaultsWithLastEventId;
- (void)synchronizeUserDefaultsWithDisk;
- (void)listenProjectAtPath:(NSString *)path;
- (void)clear;
- (void)start;