//
//  FSLocalSyncServiceManager.h
//  Instacast
//
//  Created by Martin Hering on 06.09.12.
//
//

#import <CoreData/CoreData.h>

extern NSString* FSLocalSyncServiceManagerDidUpdateAvailableServicesNotification;
extern NSString* FSLocalSyncServiceManagerDidReceiveLocalPushNotification; // userInfo = connection info

@interface FSLocalSyncServiceManager : NSObject

+ (FSLocalSyncServiceManager *)sharedManager;


@property (readonly) NSSet* availableServices;
- (NSNetService*) availableServiceWithUID:(NSString*)uid;

@property (strong) NSString* pushID;
@property (strong) NSDictionary* pushIdentityInfo;
@property (strong) NSString* pushDeviceId;

@property (assign) BOOL enabled;

- (void) updatePushInfo;
@end



@interface NSNetService (Mediaatelier)
-(NSString *)uid;
@end
