Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (20 sloc) 855 Bytes
//
// CBDeviceClientDelegate.h
// Cubicus
//
// Created by James Potter on 11/02/2012.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "CBApplication.h"
#import "CBEvent.h"
@class CBDeviceClient;
@protocol CBDeviceClientDelegate <NSObject>
- (void)client:(CBDeviceClient *)client didReceiveApplications:(NSArray *)applications;
- (void)client:(CBDeviceClient *)client didSwitchApplication:(NSUInteger)applicationID context:(NSUInteger)contextID;
- (void)client:(CBDeviceClient *)client didReceiveEvent:(CBEvent *)event;
- (void)clientDidReceivePairRequest:(CBDeviceClient *)client;
@optional // for now
- (void)client:(CBDeviceClient *)client applicationAdded:(CBApplication *)application;
- (void)client:(CBDeviceClient *)client applicationRemoved:(CBApplication *)application;
@end