From 1363f808f98eccfe113624cfcf3291fd601fbac2 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Wed, 1 Nov 2017 14:20:44 +0900 Subject: Update document Update ApplicationGuide Change-Id: I8a9c675adeb8997debaa553f0e45f736a2719010 Signed-off-by: Kazumasa Mitsunari --- doc/api-ref/html/sm-helper_8h.html | 585 +++++++++++++++++++++++++++++++++++++ 1 file changed, 585 insertions(+) create mode 100644 doc/api-ref/html/sm-helper_8h.html (limited to 'doc/api-ref/html/sm-helper_8h.html') diff --git a/doc/api-ref/html/sm-helper_8h.html b/doc/api-ref/html/sm-helper_8h.html new file mode 100644 index 0000000..a21b8ae --- /dev/null +++ b/doc/api-ref/html/sm-helper_8h.html @@ -0,0 +1,585 @@ + + + + + + + +Sound Manager: R:/SoundManagerBinding/src/sm-helper.h File Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Sound Manager +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
sm-helper.h File Reference
+
+
+
#include <afb/afb-binding.h>
+#include <stdint.h>
+#include <glib.h>
+
+

Go to the source code of this file.

+ + + + + + + + + + + + +

+Data Structures

struct  sound_property_s
 
struct  availability_s
 
struct  notification_config_s
 
struct  main_sound_property_s
 
struct  domain_data
 
+ + + + + +

+Macros

#define _GNU_SOURCE
 
#define AFB_BINDING_VERSION   2
 
+ + + +

+Typedefs

typedef enum REQ_ERROR REQ_ERROR
 
+ + + +

+Enumerations

enum  REQ_ERROR { REQ_FAIL = -1, +REQ_OK =0, +NOT_NUMBER, +OUT_RANGE + }
 
+ + + + + + + + + + + + + + + + + + + +

+Functions

REQ_ERROR get_value_uint16 (const struct afb_req request, const char *source, uint16_t *out_id)
 
REQ_ERROR get_value_int16 (const struct afb_req request, const char *source, int16_t *out_id)
 
REQ_ERROR get_value_int32 (const struct afb_req request, const char *source, int32_t *out_id)
 
void sm_add_object_to_json_object (struct json_object *j_obj, int count,...)
 
void sm_add_object_to_json_object_func (struct json_object *j_obj, const char *verb_name, int count,...)
 
int sm_search_event_name_index (const char *value)
 
int sm_search_routing_event_name_index (const char *value)
 
GVariant * create_source_data (guint16 sourceID, guint16 domainID, const char *appname, guint16 sourceClassID, gint32 sourceState, gint16 volume, gboolean visible, struct availability_s availables, guint16 interrupt, struct sound_property_s soundPropertyList, gint32 connectionFormatList, struct main_sound_property_s mainPropertyList, struct notification_config_s NConfRouting, struct notification_config_s NConfCommand)
 
GVariant * create_domain_data (struct domain_data *)
 
+

Macro Definition Documentation

+ +

◆ _GNU_SOURCE

+ +
+
+ + + + +
#define _GNU_SOURCE
+
+ +

Definition at line 19 of file sm-helper.h.

+ +
+
+ +

◆ AFB_BINDING_VERSION

+ +
+
+ + + + +
#define AFB_BINDING_VERSION   2
+
+ +

Definition at line 20 of file sm-helper.h.

+ +
+
+

Typedef Documentation

+ +

◆ REQ_ERROR

+ +
+
+ + + + +
typedef enum REQ_ERROR REQ_ERROR
+
+ +
+
+

Enumeration Type Documentation

+ +

◆ REQ_ERROR

+ +
+
+ + + + +
enum REQ_ERROR
+
+ + + + + +
Enumerator
REQ_FAIL 
REQ_OK 
NOT_NUMBER 
OUT_RANGE 
+ +

Definition at line 26 of file sm-helper.h.

+ +
+
+

Function Documentation

+ +

◆ create_domain_data()

+ +
+
+ + + + + + + + +
GVariant* create_domain_data (struct domain_data)
+
+ +

Definition at line 218 of file sm-helper.c.

+ +
+
+ +

◆ create_source_data()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GVariant* create_source_data (guint16 sourceID,
guint16 domainID,
const char * appname,
guint16 sourceClassID,
gint32 sourceState,
gint16 volume,
gboolean visible,
struct availability_s availables,
guint16 interrupt,
struct sound_property_s soundPropertyList,
gint32 connectionFormatList,
struct main_sound_property_s mainPropertyList,
struct notification_config_s NConfRouting,
struct notification_config_s NConfCommand 
)
+
+ +

Definition at line 159 of file sm-helper.c.

+ +
+
+ +

◆ get_value_int16()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
REQ_ERROR get_value_int16 (const struct afb_req request,
const char * source,
int16_t * out_id 
)
+
+ +

Definition at line 48 of file sm-helper.c.

+ +
+
+ +

◆ get_value_int32()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
REQ_ERROR get_value_int32 (const struct afb_req request,
const char * source,
int32_t * out_id 
)
+
+ +

Definition at line 72 of file sm-helper.c.

+ +
+
+ +

◆ get_value_uint16()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
REQ_ERROR get_value_uint16 (const struct afb_req request,
const char * source,
uint16_t * out_id 
)
+
+ +

Definition at line 24 of file sm-helper.c.

+ +
+
+ +

◆ sm_add_object_to_json_object()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void sm_add_object_to_json_object (struct json_object * j_obj,
int count,
 ... 
)
+
+ +

Definition at line 96 of file sm-helper.c.

+ +
+
+ +

◆ sm_add_object_to_json_object_func()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void sm_add_object_to_json_object_func (struct json_object * j_obj,
const char * verb_name,
int count,
 ... 
)
+
+ +

Definition at line 110 of file sm-helper.c.

+ +
+
+ +

◆ sm_search_event_name_index()

+ +
+
+ + + + + + + + +
int sm_search_event_name_index (const char * value)
+
+ +

Definition at line 127 of file sm-helper.c.

+ +
+
+ +

◆ sm_search_routing_event_name_index()

+ +
+
+ + + + + + + + +
int sm_search_routing_event_name_index (const char * value)
+
+ +

Definition at line 143 of file sm-helper.c.

+ +
+
+
+
+ + + + -- cgit 1.2.3-korg