client-c  0.7.0
kaa_event_fqn_definitions.h
Go to the documentation of this file.
1 /*
2  * Copyright 2014-2015 CyberVision, Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 
18  /*
19  * This header contains information about all the Event families and
20  * events are supported by current SDK.
21  */
22 
23 # ifndef KAA_FQN_DEFINITIONS_
24 # define KAA_FQN_DEFINITIONS_
25 
26 typedef struct {
27  char *ecf_name;
31 
32 static const char *TestEventFamilyFQNS[8] = {
33  "org.kaaproject.kaa.example.audio.PlayCommand",
34  "org.kaaproject.kaa.example.audio.RewindCommand",
35  "org.kaaproject.kaa.example.audio.PauseCommand",
36  "org.kaaproject.kaa.example.audio.StopCommand",
37  "org.kaaproject.kaa.example.audio.PlaybackStatus",
38  "org.kaaproject.kaa.example.audio.BatteryChargingStatus",
39  "org.kaaproject.kaa.example.audio.BatteryStatus",
40  "org.kaaproject.kaa.example.audio.StatusEvent"
41 };
42 
43 # define SUPPORTED_EVENT_CLASS_FAMILIES_SIZE 1
44 
46 {
47  {
48  /* .ecf_name = */ "TestEventFamily",
49  /* .supported_incoming_fqns_count = */ 8,
50  /* .supported_incoming_fqns = */ (char **)TestEventFamilyFQNS
51  }
52 };
53 # endif
static const char * TestEventFamilyFQNS[8]
static const event_class_family_t SUPPORTED_EVENT_CLASS_FAMILIES[SUPPORTED_EVENT_CLASS_FAMILIES_SIZE]
#define SUPPORTED_EVENT_CLASS_FAMILIES_SIZE