Refactoring Part 2: Unread count in Feed instead of Config
This commit is contained in:
@@ -26,5 +26,10 @@
|
||||
static NSString *kNotificationFeedUpdated = @"baRSS-notification-feed-updated";
|
||||
static NSString *kNotificationNetworkStatusChanged = @"baRSS-notification-network-status-changed";
|
||||
static NSString *kNotificationTotalUnreadCountChanged = @"baRSS-notification-total-unread-count-changed";
|
||||
static NSString *kNotificationTotalUnreadCountReset = @"baRSS-notification-total-unread-count-reset";
|
||||
|
||||
extern uint64_t dispatch_benchmark(size_t count, void (^block)(void));
|
||||
//void benchmark(char *desc, dispatch_block_t b){printf("%s: %llu ns\n", desc, dispatch_benchmark(1, b));}
|
||||
#define benchmark(desc,block) printf(desc": %llu ns\n", dispatch_benchmark(1, block));
|
||||
|
||||
#endif /* Constants_h */
|
||||
|
||||
Reference in New Issue
Block a user