SIP Endpoint SDK for OS X
 All Classes Functions Properties
GSepCore.h
1 //
2 // GSepCore.h
3 // SipEndpoint
4 //
5 // Copyright (c) 2011-2018 Genesys Telecommunications Laboratories, Inc. All rights reserved.
6 //
7 
8 #import <Foundation/Foundation.h>
9 
10 #ifdef __cplusplus
11 class GSCore;
12 #endif
13 
14 @interface GSepCore : NSObject {
15 @public
16 #ifdef __cplusplus
17  GSCore* core;
18 #endif
19 }
20 @end
21 
22 #ifdef __cplusplus
23 #include "gs_endpoint_cxx.h"
24 
25 class GSCore : public GsEndpointCore {
26 public:
27  GSCore(GSepCore *c) : GsEndpointCore() { GsEndpointCore::inst = this; }
28  GsEpConfig *epConfig;
29  GsLogger *epLogger;
30  virtual void on_connection_event(gs_connection_event *ev);
31  virtual void on_session_event(gs_session_event *ev);
32  virtual void on_device_event(gs_device_event *ev);
33  virtual void on_sip_info_received (gs_call_id id, const char *conType, const char *content);
34  virtual void on_audio_frame (int stream_direction_cap1_play2, int16_t audio10ms[], int length, int samplingFreq, bool isStereo);
35 };
36 #endif
37 
38