SIP Endpoint SDK for OS X
 All Classes Functions Properties
GSSipDeviceManager.h
1 //
2 // GSSipDeviceManager.h
3 // SipEndpoint
4 //
5 // Copyright (c) 2011-2016 Genesys Telecommunications Laboratories, Inc. All rights reserved.
6 //
7 
8 #import <Foundation/Foundation.h>
9 #import <CoreAudio/AudioHardware.h>
10 #import "InternalEvents.h"
11 #import "GSSipAbstractionObject.h"
12 #import "GSDeviceManager.h"
13 #import "GSDeviceArray.h"
14 #import "gs_endpoint_provider.h"
15 #import "GSSipAudioDevice.h"
16 #import "GSCaptureCapability.h"
17 #import "GSSipCaptureDevice.h"
18 #import "GSConstants.h"
19 
20 static OSStatus audioDevListChangedProc(AudioObjectID inObjectID, UInt32 inNumberAddresses,
21  const AudioObjectPropertyAddress inAddresses[], void* inClientData);
22 
24 @private
25  GSDeviceArray* audioDevices;
26  GSDeviceArray* captureDevices;
27  NSMutableDictionary* activeDevices;
28 
29  id<GSDeviceNotificationDelegate> notificationDelegate;
30  id<GSDevicePolicyDelegate> policyDelegate;
31 }
32 
33 @property (nonatomic, retain) id<GSLogger> theLogger;
34 @property (nonatomic, retain) GSDeviceArray* audioDevices;
35 @property (nonatomic, retain) GSDeviceArray* captureDevices;
36 @property (nonatomic, retain) id<GSDeviceNotificationDelegate> notificationDelegate;
37 @property (nonatomic, retain) id<GSDevicePolicyDelegate> policyDelegate;
38 
39 - (id) initWithConfiguration:(NSDictionary*) theConfiguration logger:(id<GSLogger>) theLogger;
40 
41 - (void) deviceChanged:(GSInternalDeviceEvent*) deviceEvent;
42 
43 @end