summaryrefslogtreecommitdiffstats
path: root/ucs2-lib/_cfg/ucs_xrm_cfg.h
blob: 613b458d6a6657fc7da988771de44de3311f75f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*------------------------------------------------------------------------------------------------*/
/* UNICENS V2.1.0-3491                                                                            */
/* Copyright (c) 2017 Microchip Technology Germany II GmbH & Co. KG.                              */
/*                                                                                                */
/* This program is free software: you can redistribute it and/or modify                           */
/* it under the terms of the GNU General Public License as published by                           */
/* the Free Software Foundation, either version 2 of the License, or                              */
/* (at your option) any later version.                                                            */
/*                                                                                                */
/* This program is distributed in the hope that it will be useful,                                */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of                                 */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                                  */
/* GNU General Public License for more details.                                                   */
/*                                                                                                */
/* You should have received a copy of the GNU General Public License                              */
/* along with this program.  If not, see <http://www.gnu.org/licenses/>.                          */
/*                                                                                                */
/* You may also obtain this software under a propriety license from Microchip.                    */
/* Please contact Microchip for further information.                                              */
/*------------------------------------------------------------------------------------------------*/

/*!
 * \file
 * \brief Configuration header file of the Extended Resource Manager (XRM).
 */

#ifndef UCS_XRM_CFG_H
#define UCS_XRM_CFG_H

#ifdef __cplusplus
extern "C"
{
#endif

/*------------------------------------------------------------------------------------------------*/
/* Definitions                                                                                    */
/*------------------------------------------------------------------------------------------------*/
/* Defines the number of jobs executed by the Extended Resource Manager. Valid range: 1..254. 
 * Default value: 1.
 */
/* #define UCS_XRM_NUM_JOBS             1 */

/* Defines the number of required resources. This value depends on the created resource objects 
 * associated with the jobs that are executed by the Extended Resource Manager. 
 * Valid range: 1..254.  Default value: 8.
 */
/* #define UCS_XRM_NUM_RESOURCES        8 */

#ifdef __cplusplus
}   /* extern "C" */
#endif

#endif  /* #ifndef UCS_XRM_CFG_H */

/*------------------------------------------------------------------------------------------------*/
/* End of file                                                                                    */
/*------------------------------------------------------------------------------------------------*/
">() const { return m_event_api; } inline QString eventName() const { return m_event_name; } inline QJsonObject eventData() const { return m_event_data; } inline QString replyInfo() const { return m_reply_info; } inline QJsonObject replyData() const { return m_reply_data; } inline bool isEvent() const { return m_event; } inline bool isReply() const { return m_reply; } inline bool isValid() const { return m_init; } inline void setCallId(qint32 callId) { m_request["callid"] = callId; } protected: bool m_event, m_init, m_reply; QString m_event_api, m_event_name, m_reply_info, m_reply_status, m_reply_uuid; QMap<QString, QVariant> m_request; QJsonDocument m_jdoc; QJsonObject m_event_data, m_reply_data; }; #endif // MESSAGE_H