All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
le_mcc_profile_interface.h
Go to the documentation of this file.
1 /*
2  * ====================== WARNING ======================
3  *
4  * THE CONTENTS OF THIS FILE HAVE BEEN AUTO-GENERATED.
5  * DO NOT MODIFY IN ANY WAY.
6  *
7  * ====================== WARNING ======================
8  */
9 
97 #ifndef LE_MCC_PROFILE_H_INCLUDE_GUARD
98 #define LE_MCC_PROFILE_H_INCLUDE_GUARD
99 
100 
101 #include "legato.h"
102 
103 // Interface specific includes
104 #include "le_audio_interface.h"
105 #include "le_mcc_call_interface.h"
106 
107 
108 //--------------------------------------------------------------------------------------------------
112 //--------------------------------------------------------------------------------------------------
114 (
115  const char* serviceInstanceName
117 );
118 
119 //--------------------------------------------------------------------------------------------------
123 //--------------------------------------------------------------------------------------------------
125 (
126  void
127 );
128 
129 
130 //--------------------------------------------------------------------------------------------------
134 //--------------------------------------------------------------------------------------------------
135 typedef enum
136 {
139 
142 
145 
148 
151 }
153 
154 
155 //--------------------------------------------------------------------------------------------------
159 //--------------------------------------------------------------------------------------------------
160 typedef struct le_mcc_profile_Obj* le_mcc_profile_ObjRef_t;
161 
162 
163 //--------------------------------------------------------------------------------------------------
167 //--------------------------------------------------------------------------------------------------
168 typedef struct le_mcc_profile_StateChangeHandler* le_mcc_profile_StateChangeHandlerRef_t;
169 
170 
171 //--------------------------------------------------------------------------------------------------
175 //--------------------------------------------------------------------------------------------------
176 typedef struct le_mcc_profile_CallEventHandler* le_mcc_profile_CallEventHandlerRef_t;
177 
178 
179 //--------------------------------------------------------------------------------------------------
188 //--------------------------------------------------------------------------------------------------
190 (
191  le_mcc_profile_State_t newState,
192  void* contextPtr
193 );
194 
195 
196 //--------------------------------------------------------------------------------------------------
207 //--------------------------------------------------------------------------------------------------
209 (
210  le_mcc_call_ObjRef_t callRef,
211  le_mcc_call_Event_t event,
212  void* contextPtr
213 );
214 
215 //--------------------------------------------------------------------------------------------------
219 //--------------------------------------------------------------------------------------------------
221 (
222  le_mcc_profile_ObjRef_t profileRef,
225 
228 
229  void* contextPtr
231 );
232 
233 //--------------------------------------------------------------------------------------------------
237 //--------------------------------------------------------------------------------------------------
239 (
242 );
243 
244 //--------------------------------------------------------------------------------------------------
248 //--------------------------------------------------------------------------------------------------
250 (
251  le_mcc_profile_ObjRef_t profileRef,
254 
257 
258  void* contextPtr
260 );
261 
262 //--------------------------------------------------------------------------------------------------
266 //--------------------------------------------------------------------------------------------------
268 (
271 );
272 
273 //--------------------------------------------------------------------------------------------------
282 //--------------------------------------------------------------------------------------------------
284 (
285  const char* profileNamePtr
288 );
289 
290 //--------------------------------------------------------------------------------------------------
297 //--------------------------------------------------------------------------------------------------
299 (
300  le_mcc_profile_ObjRef_t profileRef
303 );
304 
305 //--------------------------------------------------------------------------------------------------
314 //--------------------------------------------------------------------------------------------------
316 (
317  le_mcc_profile_ObjRef_t profileRef
320 );
321 
322 //--------------------------------------------------------------------------------------------------
336 //--------------------------------------------------------------------------------------------------
338 (
339  le_mcc_profile_ObjRef_t profileRef,
342 
343  const char* destinationPtr
346 );
347 
348 
349 #endif // LE_MCC_PROFILE_H_INCLUDE_GUARD
350 
struct le_mcc_profile_Obj * le_mcc_profile_ObjRef_t
Definition: le_mcc_profile_interface.h:160
le_mcc_profile_ObjRef_t le_mcc_profile_GetByName(const char *profileNamePtr)
struct le_mcc_profile_CallEventHandler * le_mcc_profile_CallEventHandlerRef_t
Definition: le_mcc_profile_interface.h:176
This profile is currently being forwarded to another number.
Definition: le_mcc_profile_interface.h:143
le_mcc_call_Event_t
Definition: le_mcc_call_interface.h:311
void le_mcc_profile_Release(le_mcc_profile_ObjRef_t profileRef)
le_mcc_profile_CallEventHandlerRef_t le_mcc_profile_AddCallEventHandler(le_mcc_profile_ObjRef_t profileRef, le_mcc_profile_CallEventHandlerFunc_t handlerPtr, void *contextPtr)
struct le_mcc_profile_StateChangeHandler * le_mcc_profile_StateChangeHandlerRef_t
Definition: le_mcc_profile_interface.h:168
le_mcc_profile_State_t
Definition: le_mcc_profile_interface.h:135
le_mcc_profile_State_t le_mcc_profile_GetState(le_mcc_profile_ObjRef_t profileRef)
void(* le_mcc_profile_StateChangeHandlerFunc_t)(le_mcc_profile_State_t newState, void *contextPtr)
Definition: le_mcc_profile_interface.h:190
void le_mcc_profile_StopClient(void)
This profile is in "Do Not Disturb" mode.
Definition: le_mcc_profile_interface.h:146
This profile is available, nothing is currently happening on it.
Definition: le_mcc_profile_interface.h:140
This profile is currently in use.
Definition: le_mcc_profile_interface.h:149
void le_mcc_profile_RemoveCallEventHandler(le_mcc_profile_CallEventHandlerRef_t addHandlerRef)
This profile is not available.
Definition: le_mcc_profile_interface.h:137
void le_mcc_profile_StartClient(const char *serviceInstanceName)
void(* le_mcc_profile_CallEventHandlerFunc_t)(le_mcc_call_ObjRef_t callRef, le_mcc_call_Event_t event, void *contextPtr)
Definition: le_mcc_profile_interface.h:209
le_mcc_profile_StateChangeHandlerRef_t le_mcc_profile_AddStateChangeHandler(le_mcc_profile_ObjRef_t profileRef, le_mcc_profile_StateChangeHandlerFunc_t handlerPtr, void *contextPtr)
le_mcc_call_ObjRef_t le_mcc_profile_CreateCall(le_mcc_profile_ObjRef_t profileRef, const char *destinationPtr)
struct le_mcc_call_Obj * le_mcc_call_ObjRef_t
Definition: le_mcc_call_interface.h:371
void le_mcc_profile_RemoveStateChangeHandler(le_mcc_profile_StateChangeHandlerRef_t addHandlerRef)