2 * Copyright (c) 2013, TOYOTA MOTOR CORPORATION.
4 * This program is licensed under the terms and conditions of the
5 * Apache License, version 2.0. The full text of the Apache License is at
6 * http://www.apache.org/licenses/LICENSE-2.0
10 //==========================================================================
12 * @file CicoSCMessageRes.h
14 * @brief This file is definition of CicoSCMessage class
16 //==========================================================================
17 #ifndef __CICO_SC_MESSAGE_RES_H__
18 #define __CICO_SC_MESSAGE_RES_H__
22 #include <json-glib/json-glib.h>
23 #include "CicoSCMessage.h"
25 //==========================================================================
26 // forward declaration
27 //==========================================================================
29 //==========================================================================
31 * @brief This class hold communication message
33 //==========================================================================
34 class CicoSCMessageRes :public CicoSCMessage
37 // default constructor
43 // add argument object for char pointer type
44 void addWinObject(const char * key, const char * value);
46 // add argument object for string type
47 void addWinObject(const char * key, const std::string & value);
49 // add argument object for integer type
50 void addWinObject(const char * key, int value);
52 // add argument object for char pointer type
53 void addSndObject(const char * key, const char * value);
55 // add argument object for string type
56 void addSndObject(const char * key, const std::string & value);
58 // add argument object for integer type
59 void addSndObject(const char * key, int value);
61 // add argument object for char pointer type
62 void addInpObject(const char * key, const char * value);
64 // add argument object for string type
65 void addInpObject(const char * key, const std::string & value);
67 // add argument object for integer type
68 void addInpObject(const char * key, int value);
71 virtual const char* getData(void);
76 JsonObject *m_winObj; //!< json window objects
77 JsonObject *m_sndObj; //!< json sound objects
78 JsonObject *m_inpObj; //!< json input objects
83 #endif // __CICO_SC_MESSAGE_RES_H__
84 // vim:set expandtab ts=4 sw=4: