diff options
author | khburdette <kburdet1@ford.com> | 2013-04-19 15:58:59 -0400 |
---|---|---|
committer | khburdette <kburdet1@ford.com> | 2013-04-19 15:58:59 -0400 |
commit | a46991cd5da4dbcc5510457c6bae2dab340c1ed2 (patch) | |
tree | 9f4d9ccec060c4b6cd378aa631442f710c140962 /SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI | |
download | smartdevicelink-a46991cd5da4dbcc5510457c6bae2dab340c1ed2.tar.gz |
Initial Ford commit with Core and Proxies
Diffstat (limited to 'SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI')
60 files changed, 5381 insertions, 0 deletions
diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddCommand.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddCommand.h new file mode 100644 index 000000000..53d1d6b4e --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddCommand.h @@ -0,0 +1,101 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_ADDCOMMAND_INCLUDE +#define NSRPC2COMMUNICATION_UI_ADDCOMMAND_INCLUDE + +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/MenuParams.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/Image.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class AddCommand : public ::NsRPC2Communication::RPC2Request + { + public: + + AddCommand(const AddCommand& c); + AddCommand(void); + + AddCommand& operator =(const AddCommand&); + + virtual ~AddCommand(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_cmdId(void); + + const NsSmartDeviceLinkRPCV2::MenuParams& get_menuParams(void); + + const NsSmartDeviceLinkRPCV2::Image* get_cmdIcon(void); + int get_appId(void); + + +// setters +/// cmdId <= 2000000000 + bool set_cmdId(unsigned int cmdId); + + bool set_menuParams(const NsSmartDeviceLinkRPCV2::MenuParams& menuParams); + + bool set_cmdIcon(const NsSmartDeviceLinkRPCV2::Image& cmdIcon); + + void reset_cmdIcon(void); + + bool set_appId(int appId); + + + private: + + friend class AddCommandMarshaller; + + unsigned int cmdId; + NsSmartDeviceLinkRPCV2::MenuParams menuParams; + NsSmartDeviceLinkRPCV2::Image* cmdIcon; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddCommandResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddCommandResponse.h new file mode 100644 index 000000000..89af58f84 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddCommandResponse.h @@ -0,0 +1,74 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_ADDCOMMANDRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_ADDCOMMANDRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class AddCommandResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + AddCommandResponse(const AddCommandResponse& c); + AddCommandResponse(void); + + AddCommandResponse& operator =(const AddCommandResponse&); + + virtual ~AddCommandResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class AddCommandResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddSubMenu.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddSubMenu.h new file mode 100644 index 000000000..5cc437cd0 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddSubMenu.h @@ -0,0 +1,102 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_ADDSUBMENU_INCLUDE +#define NSRPC2COMMUNICATION_UI_ADDSUBMENU_INCLUDE + +#include <string> +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class AddSubMenu : public ::NsRPC2Communication::RPC2Request + { + public: + + AddSubMenu(const AddSubMenu& c); + AddSubMenu(void); + + AddSubMenu& operator =(const AddSubMenu&); + + virtual ~AddSubMenu(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_menuId(void); + + const unsigned int* get_position(void); + const std::string& get_menuName(void); + + int get_appId(void); + + +// setters +/// menuId <= 2000000000 + bool set_menuId(unsigned int menuId); + +/// position <= 1000 + bool set_position(const unsigned int& position); + + void reset_position(void); + +/// menuName <= 500 + bool set_menuName(const std::string& menuName); + + bool set_appId(int appId); + + + private: + + friend class AddSubMenuMarshaller; + + unsigned int menuId; + unsigned int* position; + std::string menuName; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddSubMenuResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddSubMenuResponse.h new file mode 100644 index 000000000..cf9ff2752 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AddSubMenuResponse.h @@ -0,0 +1,74 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_ADDSUBMENURESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_ADDSUBMENURESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class AddSubMenuResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + AddSubMenuResponse(const AddSubMenuResponse& c); + AddSubMenuResponse(void); + + AddSubMenuResponse& operator =(const AddSubMenuResponse&); + + virtual ~AddSubMenuResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class AddSubMenuResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/Alert.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/Alert.h new file mode 100644 index 000000000..67c3de943 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/Alert.h @@ -0,0 +1,134 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_ALERT_INCLUDE +#define NSRPC2COMMUNICATION_UI_ALERT_INCLUDE + +#include <string> +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/TTSChunk.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/SoftButton.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class Alert : public ::NsRPC2Communication::RPC2Request + { + public: + + Alert(const Alert& c); + Alert(void); + + Alert& operator =(const Alert&); + + virtual ~Alert(void); + + bool checkIntegrity(void); + +// getters + const std::string* get_AlertText1(void); + const std::string* get_AlertText2(void); + const std::string* get_AlertText3(void); + const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>* get_ttsChunks(void); + const unsigned int* get_duration(void); + const bool* get_playTone(void); + const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>* get_softButtons(void); + int get_appId(void); + + +// setters +/// AlertText1 <= 500 + bool set_AlertText1(const std::string& AlertText1); + + void reset_AlertText1(void); + +/// AlertText2 <= 500 + bool set_AlertText2(const std::string& AlertText2); + + void reset_AlertText2(void); + +/// AlertText3 <= 500 + bool set_AlertText3(const std::string& AlertText3); + + void reset_AlertText3(void); + +/// 1 <= size <= 100 + bool set_ttsChunks(const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& ttsChunks); + + void reset_ttsChunks(void); + +/// 3000 <= duration <= 10000 + bool set_duration(const unsigned int& duration); + + void reset_duration(void); + + bool set_playTone(const bool& playTone); + + void reset_playTone(void); + +/// 0 <= size <= 4 + bool set_softButtons(const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>& softButtons); + + void reset_softButtons(void); + + bool set_appId(int appId); + + + private: + + friend class AlertMarshaller; + + std::string* AlertText1; + std::string* AlertText2; + std::string* AlertText3; + std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>* ttsChunks; + unsigned int* duration; + bool* playTone; + std::vector< NsSmartDeviceLinkRPCV2::SoftButton>* softButtons; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AlertManeuver.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AlertManeuver.h new file mode 100644 index 000000000..7cd19df2c --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AlertManeuver.h @@ -0,0 +1,97 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_ALERTMANEUVER_INCLUDE +#define NSRPC2COMMUNICATION_UI_ALERTMANEUVER_INCLUDE + +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/TTSChunk.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/SoftButton.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class AlertManeuver : public ::NsRPC2Communication::RPC2Request + { + public: + + AlertManeuver(const AlertManeuver& c); + AlertManeuver(void); + + AlertManeuver& operator =(const AlertManeuver&); + + virtual ~AlertManeuver(void); + + bool checkIntegrity(void); + +// getters + const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& get_ttsChunks(void); + + const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>& get_softButtons(void); + + int get_appId(void); + + +// setters +/// 1 <= size <= 100 + bool set_ttsChunks(const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& ttsChunks); + +/// 0 <= size <= 3 + bool set_softButtons(const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>& softButtons); + + bool set_appId(int appId); + + + private: + + friend class AlertManeuverMarshaller; + + std::vector< NsSmartDeviceLinkRPCV2::TTSChunk> ttsChunks; + std::vector< NsSmartDeviceLinkRPCV2::SoftButton> softButtons; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AlertManeuverResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AlertManeuverResponse.h new file mode 100644 index 000000000..e116ac580 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AlertManeuverResponse.h @@ -0,0 +1,74 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_ALERTMANEUVERRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_ALERTMANEUVERRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class AlertManeuverResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + AlertManeuverResponse(const AlertManeuverResponse& c); + AlertManeuverResponse(void); + + AlertManeuverResponse& operator =(const AlertManeuverResponse&); + + virtual ~AlertManeuverResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class AlertManeuverResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AlertResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AlertResponse.h new file mode 100644 index 000000000..55d8bfa1f --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/AlertResponse.h @@ -0,0 +1,84 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_ALERTRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_ALERTRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class AlertResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + AlertResponse(const AlertResponse& c); + AlertResponse(void); + + AlertResponse& operator =(const AlertResponse&); + + virtual ~AlertResponse(void); + + bool checkIntegrity(void); + +// getters + const unsigned int* get_tryAgainTime(void); + +// setters +/// tryAgainTime <= 2000000000 + bool set_tryAgainTime(const unsigned int& tryAgainTime); + + void reset_tryAgainTime(void); + + + private: + + friend class AlertResponseMarshaller; + + unsigned int* tryAgainTime; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ChangeRegistration.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ChangeRegistration.h new file mode 100644 index 000000000..304f12a95 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ChangeRegistration.h @@ -0,0 +1,88 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_CHANGEREGISTRATION_INCLUDE +#define NSRPC2COMMUNICATION_UI_CHANGEREGISTRATION_INCLUDE + +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/Language.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class ChangeRegistration : public ::NsRPC2Communication::RPC2Request + { + public: + + ChangeRegistration(const ChangeRegistration& c); + ChangeRegistration(void); + + ChangeRegistration& operator =(const ChangeRegistration&); + + virtual ~ChangeRegistration(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::Language& get_hmiDisplayLanguage(void); + + int get_appId(void); + + +// setters + bool set_hmiDisplayLanguage(const NsSmartDeviceLinkRPCV2::Language& hmiDisplayLanguage); + + bool set_appId(int appId); + + + private: + + friend class ChangeRegistrationMarshaller; + + NsSmartDeviceLinkRPCV2::Language hmiDisplayLanguage; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ChangeRegistrationResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ChangeRegistrationResponse.h new file mode 100644 index 000000000..87565dfcd --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ChangeRegistrationResponse.h @@ -0,0 +1,74 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_CHANGEREGISTRATIONRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_CHANGEREGISTRATIONRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class ChangeRegistrationResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + ChangeRegistrationResponse(const ChangeRegistrationResponse& c); + ChangeRegistrationResponse(void); + + ChangeRegistrationResponse& operator =(const ChangeRegistrationResponse&); + + virtual ~ChangeRegistrationResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class ChangeRegistrationResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/CreateInteractionChoiceSet.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/CreateInteractionChoiceSet.h new file mode 100644 index 000000000..1eb4aacad --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/CreateInteractionChoiceSet.h @@ -0,0 +1,96 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_CREATEINTERACTIONCHOICESET_INCLUDE +#define NSRPC2COMMUNICATION_UI_CREATEINTERACTIONCHOICESET_INCLUDE + +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/Choice.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class CreateInteractionChoiceSet : public ::NsRPC2Communication::RPC2Request + { + public: + + CreateInteractionChoiceSet(const CreateInteractionChoiceSet& c); + CreateInteractionChoiceSet(void); + + CreateInteractionChoiceSet& operator =(const CreateInteractionChoiceSet&); + + virtual ~CreateInteractionChoiceSet(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_interactionChoiceSetID(void); + + const std::vector< NsSmartDeviceLinkRPCV2::Choice>& get_choiceSet(void); + + int get_appId(void); + + +// setters +/// interactionChoiceSetID <= 2000000000 + bool set_interactionChoiceSetID(unsigned int interactionChoiceSetID); + +/// 1 <= size <= 100 + bool set_choiceSet(const std::vector< NsSmartDeviceLinkRPCV2::Choice>& choiceSet); + + bool set_appId(int appId); + + + private: + + friend class CreateInteractionChoiceSetMarshaller; + + unsigned int interactionChoiceSetID; + std::vector< NsSmartDeviceLinkRPCV2::Choice> choiceSet; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/CreateInteractionChoiceSetResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/CreateInteractionChoiceSetResponse.h new file mode 100644 index 000000000..406ba5e0c --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/CreateInteractionChoiceSetResponse.h @@ -0,0 +1,74 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_CREATEINTERACTIONCHOICESETRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_CREATEINTERACTIONCHOICESETRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class CreateInteractionChoiceSetResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + CreateInteractionChoiceSetResponse(const CreateInteractionChoiceSetResponse& c); + CreateInteractionChoiceSetResponse(void); + + CreateInteractionChoiceSetResponse& operator =(const CreateInteractionChoiceSetResponse&); + + virtual ~CreateInteractionChoiceSetResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class CreateInteractionChoiceSetResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteCommand.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteCommand.h new file mode 100644 index 000000000..f71d6f4d3 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteCommand.h @@ -0,0 +1,88 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_DELETECOMMAND_INCLUDE +#define NSRPC2COMMUNICATION_UI_DELETECOMMAND_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class DeleteCommand : public ::NsRPC2Communication::RPC2Request + { + public: + + DeleteCommand(const DeleteCommand& c); + DeleteCommand(void); + + DeleteCommand& operator =(const DeleteCommand&); + + virtual ~DeleteCommand(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_cmdId(void); + + int get_appId(void); + + +// setters +/// cmdId <= 2000000000 + bool set_cmdId(unsigned int cmdId); + + bool set_appId(int appId); + + + private: + + friend class DeleteCommandMarshaller; + + unsigned int cmdId; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteCommandResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteCommandResponse.h new file mode 100644 index 000000000..b5cf749c8 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteCommandResponse.h @@ -0,0 +1,74 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_DELETECOMMANDRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_DELETECOMMANDRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class DeleteCommandResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + DeleteCommandResponse(const DeleteCommandResponse& c); + DeleteCommandResponse(void); + + DeleteCommandResponse& operator =(const DeleteCommandResponse&); + + virtual ~DeleteCommandResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class DeleteCommandResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteInteractionChoiceSet.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteInteractionChoiceSet.h new file mode 100644 index 000000000..d1cde5163 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteInteractionChoiceSet.h @@ -0,0 +1,89 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_DELETEINTERACTIONCHOICESET_INCLUDE +#define NSRPC2COMMUNICATION_UI_DELETEINTERACTIONCHOICESET_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class DeleteInteractionChoiceSet : public ::NsRPC2Communication::RPC2Request + { + public: + + DeleteInteractionChoiceSet(const DeleteInteractionChoiceSet& c); + DeleteInteractionChoiceSet(void); + + DeleteInteractionChoiceSet& operator =(const DeleteInteractionChoiceSet&); + + virtual ~DeleteInteractionChoiceSet(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_interactionChoiceSetID(void); + + int get_appId(void); + + +// setters +/// interactionChoiceSetID <= 2000000000 + bool set_interactionChoiceSetID(unsigned int interactionChoiceSetID); + + bool set_appId(int appId); + + + private: + + friend class DeleteInteractionChoiceSetMarshaller; + + unsigned int interactionChoiceSetID; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteInteractionChoiceSetResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteInteractionChoiceSetResponse.h new file mode 100644 index 000000000..fbc5ee0b2 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteInteractionChoiceSetResponse.h @@ -0,0 +1,75 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_DELETEINTERACTIONCHOICESETRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_DELETEINTERACTIONCHOICESETRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class DeleteInteractionChoiceSetResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + DeleteInteractionChoiceSetResponse(const DeleteInteractionChoiceSetResponse& c); + DeleteInteractionChoiceSetResponse(void); + + DeleteInteractionChoiceSetResponse& operator =(const DeleteInteractionChoiceSetResponse&); + + virtual ~DeleteInteractionChoiceSetResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class DeleteInteractionChoiceSetResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteSubMenu.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteSubMenu.h new file mode 100644 index 000000000..ef258893c --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteSubMenu.h @@ -0,0 +1,89 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_DELETESUBMENU_INCLUDE +#define NSRPC2COMMUNICATION_UI_DELETESUBMENU_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class DeleteSubMenu : public ::NsRPC2Communication::RPC2Request + { + public: + + DeleteSubMenu(const DeleteSubMenu& c); + DeleteSubMenu(void); + + DeleteSubMenu& operator =(const DeleteSubMenu&); + + virtual ~DeleteSubMenu(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_menuId(void); + + int get_appId(void); + + +// setters +/// menuId <= 2000000000 + bool set_menuId(unsigned int menuId); + + bool set_appId(int appId); + + + private: + + friend class DeleteSubMenuMarshaller; + + unsigned int menuId; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteSubMenuResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteSubMenuResponse.h new file mode 100644 index 000000000..670d52db4 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DeleteSubMenuResponse.h @@ -0,0 +1,75 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_DELETESUBMENURESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_DELETESUBMENURESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class DeleteSubMenuResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + DeleteSubMenuResponse(const DeleteSubMenuResponse& c); + DeleteSubMenuResponse(void); + + DeleteSubMenuResponse& operator =(const DeleteSubMenuResponse&); + + virtual ~DeleteSubMenuResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class DeleteSubMenuResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DialNumber.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DialNumber.h new file mode 100644 index 000000000..04ee84c0f --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DialNumber.h @@ -0,0 +1,90 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_DIALNUMBER_INCLUDE +#define NSRPC2COMMUNICATION_UI_DIALNUMBER_INCLUDE + +#include <string> +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class DialNumber : public ::NsRPC2Communication::RPC2Request + { + public: + + DialNumber(const DialNumber& c); + DialNumber(void); + + DialNumber& operator =(const DialNumber&); + + virtual ~DialNumber(void); + + bool checkIntegrity(void); + +// getters + const std::string& get_number(void); + + int get_appId(void); + + +// setters +/// number <= 500 + bool set_number(const std::string& number); + + bool set_appId(int appId); + + + private: + + friend class DialNumberMarshaller; + + std::string number; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DialNumberResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DialNumberResponse.h new file mode 100644 index 000000000..6dc53db5b --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/DialNumberResponse.h @@ -0,0 +1,75 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_DIALNUMBERRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_DIALNUMBERRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class DialNumberResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + DialNumberResponse(const DialNumberResponse& c); + DialNumberResponse(void); + + DialNumberResponse& operator =(const DialNumberResponse&); + + virtual ~DialNumberResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class DialNumberResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/EndAudioPassThru.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/EndAudioPassThru.h new file mode 100644 index 000000000..89cf43623 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/EndAudioPassThru.h @@ -0,0 +1,83 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_ENDAUDIOPASSTHRU_INCLUDE +#define NSRPC2COMMUNICATION_UI_ENDAUDIOPASSTHRU_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class EndAudioPassThru : public ::NsRPC2Communication::RPC2Request + { + public: + + EndAudioPassThru(const EndAudioPassThru& c); + EndAudioPassThru(void); + + EndAudioPassThru& operator =(const EndAudioPassThru&); + + virtual ~EndAudioPassThru(void); + + bool checkIntegrity(void); + +// getters + int get_appId(void); + + +// setters + bool set_appId(int appId); + + + private: + + friend class EndAudioPassThruMarshaller; + + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/EndAudioPassThruResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/EndAudioPassThruResponse.h new file mode 100644 index 000000000..665dff35a --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/EndAudioPassThruResponse.h @@ -0,0 +1,75 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_ENDAUDIOPASSTHRURESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_ENDAUDIOPASSTHRURESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class EndAudioPassThruResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + EndAudioPassThruResponse(const EndAudioPassThruResponse& c); + EndAudioPassThruResponse(void); + + EndAudioPassThruResponse& operator =(const EndAudioPassThruResponse&); + + virtual ~EndAudioPassThruResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class EndAudioPassThruResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetCapabilities.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetCapabilities.h new file mode 100644 index 000000000..7eb81ce29 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetCapabilities.h @@ -0,0 +1,75 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_GETCAPABILITIES_INCLUDE +#define NSRPC2COMMUNICATION_UI_GETCAPABILITIES_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class GetCapabilities : public ::NsRPC2Communication::RPC2Request + { + public: + + GetCapabilities(const GetCapabilities& c); + GetCapabilities(void); + + GetCapabilities& operator =(const GetCapabilities&); + + virtual ~GetCapabilities(void); + + bool checkIntegrity(void); + + + private: + + friend class GetCapabilitiesMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetCapabilitiesResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetCapabilitiesResponse.h new file mode 100644 index 000000000..5d5b3b4a4 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetCapabilitiesResponse.h @@ -0,0 +1,100 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_GETCAPABILITIESRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_GETCAPABILITIESRESPONSE_INCLUDE + +#include <vector> +#include "JSONHandler/RPC2Response.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/DisplayCapabilities.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/HmiZoneCapabilities.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/SoftButtonCapabilities.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class GetCapabilitiesResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + GetCapabilitiesResponse(const GetCapabilitiesResponse& c); + GetCapabilitiesResponse(void); + + GetCapabilitiesResponse& operator =(const GetCapabilitiesResponse&); + + virtual ~GetCapabilitiesResponse(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::DisplayCapabilities& get_displayCapabilities(void); + + const std::vector< NsSmartDeviceLinkRPCV2::HmiZoneCapabilities>& get_hmiZoneCapabilities(void); + + const std::vector< NsSmartDeviceLinkRPCV2::SoftButtonCapabilities>* get_softButtonCapabilities(void); + +// setters + bool set_displayCapabilities(const NsSmartDeviceLinkRPCV2::DisplayCapabilities& displayCapabilities); + +/// 1 <= size <= 100 + bool set_hmiZoneCapabilities(const std::vector< NsSmartDeviceLinkRPCV2::HmiZoneCapabilities>& hmiZoneCapabilities); + +/// 1 <= size <= 100 + bool set_softButtonCapabilities(const std::vector< NsSmartDeviceLinkRPCV2::SoftButtonCapabilities>& softButtonCapabilities); + + void reset_softButtonCapabilities(void); + + + private: + + friend class GetCapabilitiesResponseMarshaller; + + NsSmartDeviceLinkRPCV2::DisplayCapabilities displayCapabilities; + std::vector< NsSmartDeviceLinkRPCV2::HmiZoneCapabilities> hmiZoneCapabilities; + std::vector< NsSmartDeviceLinkRPCV2::SoftButtonCapabilities>* softButtonCapabilities; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetLanguage.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetLanguage.h new file mode 100644 index 000000000..d350718c1 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetLanguage.h @@ -0,0 +1,75 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_GETLANGUAGE_INCLUDE +#define NSRPC2COMMUNICATION_UI_GETLANGUAGE_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class GetLanguage : public ::NsRPC2Communication::RPC2Request + { + public: + + GetLanguage(const GetLanguage& c); + GetLanguage(void); + + GetLanguage& operator =(const GetLanguage&); + + virtual ~GetLanguage(void); + + bool checkIntegrity(void); + + + private: + + friend class GetLanguageMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetLanguageResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetLanguageResponse.h new file mode 100644 index 000000000..7e7d1f8a1 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetLanguageResponse.h @@ -0,0 +1,84 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_GETLANGUAGERESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_GETLANGUAGERESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/Language.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class GetLanguageResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + GetLanguageResponse(const GetLanguageResponse& c); + GetLanguageResponse(void); + + GetLanguageResponse& operator =(const GetLanguageResponse&); + + virtual ~GetLanguageResponse(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::Language& get_hmiDisplayLanguage(void); + + +// setters + bool set_hmiDisplayLanguage(const NsSmartDeviceLinkRPCV2::Language& hmiDisplayLanguage); + + + private: + + friend class GetLanguageResponseMarshaller; + + NsSmartDeviceLinkRPCV2::Language hmiDisplayLanguage; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetSupportedLanguages.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetSupportedLanguages.h new file mode 100644 index 000000000..67419088b --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetSupportedLanguages.h @@ -0,0 +1,75 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_GETSUPPORTEDLANGUAGES_INCLUDE +#define NSRPC2COMMUNICATION_UI_GETSUPPORTEDLANGUAGES_INCLUDE + +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class GetSupportedLanguages : public ::NsRPC2Communication::RPC2Request + { + public: + + GetSupportedLanguages(const GetSupportedLanguages& c); + GetSupportedLanguages(void); + + GetSupportedLanguages& operator =(const GetSupportedLanguages&); + + virtual ~GetSupportedLanguages(void); + + bool checkIntegrity(void); + + + private: + + friend class GetSupportedLanguagesMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetSupportedLanguagesResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetSupportedLanguagesResponse.h new file mode 100644 index 000000000..3f0230642 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/GetSupportedLanguagesResponse.h @@ -0,0 +1,86 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_GETSUPPORTEDLANGUAGESRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_GETSUPPORTEDLANGUAGESRESPONSE_INCLUDE + +#include <vector> +#include "JSONHandler/RPC2Response.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/Language.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class GetSupportedLanguagesResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + GetSupportedLanguagesResponse(const GetSupportedLanguagesResponse& c); + GetSupportedLanguagesResponse(void); + + GetSupportedLanguagesResponse& operator =(const GetSupportedLanguagesResponse&); + + virtual ~GetSupportedLanguagesResponse(void); + + bool checkIntegrity(void); + +// getters + const std::vector< NsSmartDeviceLinkRPCV2::Language>& get_languages(void); + + +// setters +/// 1 <= size <= 100 + bool set_languages(const std::vector< NsSmartDeviceLinkRPCV2::Language>& languages); + + + private: + + friend class GetSupportedLanguagesResponseMarshaller; + + std::vector< NsSmartDeviceLinkRPCV2::Language> languages; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnCommand.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnCommand.h new file mode 100644 index 000000000..df733754a --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnCommand.h @@ -0,0 +1,89 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_ONCOMMAND_INCLUDE +#define NSRPC2COMMUNICATION_UI_ONCOMMAND_INCLUDE + +#include "JSONHandler/RPC2Notification.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class OnCommand : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnCommand(const OnCommand& c); + OnCommand(void); + + OnCommand& operator =(const OnCommand&); + + virtual ~OnCommand(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_commandId(void); + + int get_appId(void); + + +// setters +/// commandId <= 2000000000 + bool set_commandId(unsigned int commandId); + + bool set_appId(int appId); + + + private: + + friend class OnCommandMarshaller; + + unsigned int commandId; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnDeviceChosen.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnDeviceChosen.h new file mode 100644 index 000000000..d453732fe --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnDeviceChosen.h @@ -0,0 +1,84 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_ONDEVICECHOSEN_INCLUDE +#define NSRPC2COMMUNICATION_UI_ONDEVICECHOSEN_INCLUDE + +#include <string> +#include "JSONHandler/RPC2Notification.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class OnDeviceChosen : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnDeviceChosen(const OnDeviceChosen& c); + OnDeviceChosen(void); + + OnDeviceChosen& operator =(const OnDeviceChosen&); + + virtual ~OnDeviceChosen(void); + + bool checkIntegrity(void); + +// getters + const std::string& get_deviceName(void); + + +// setters + bool set_deviceName(const std::string& deviceName); + + + private: + + friend class OnDeviceChosenMarshaller; + + std::string deviceName; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnDriverDistraction.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnDriverDistraction.h new file mode 100644 index 000000000..d4cf376fe --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnDriverDistraction.h @@ -0,0 +1,84 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_ONDRIVERDISTRACTION_INCLUDE +#define NSRPC2COMMUNICATION_UI_ONDRIVERDISTRACTION_INCLUDE + +#include "JSONHandler/RPC2Notification.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/DriverDistractionState.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class OnDriverDistraction : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnDriverDistraction(const OnDriverDistraction& c); + OnDriverDistraction(void); + + OnDriverDistraction& operator =(const OnDriverDistraction&); + + virtual ~OnDriverDistraction(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::DriverDistractionState& get_state(void); + + +// setters + bool set_state(const NsSmartDeviceLinkRPCV2::DriverDistractionState& state); + + + private: + + friend class OnDriverDistractionMarshaller; + + NsSmartDeviceLinkRPCV2::DriverDistractionState state; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnLanguageChange.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnLanguageChange.h new file mode 100644 index 000000000..ab7782c21 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnLanguageChange.h @@ -0,0 +1,84 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_ONLANGUAGECHANGE_INCLUDE +#define NSRPC2COMMUNICATION_UI_ONLANGUAGECHANGE_INCLUDE + +#include "JSONHandler/RPC2Notification.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/Language.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class OnLanguageChange : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnLanguageChange(const OnLanguageChange& c); + OnLanguageChange(void); + + OnLanguageChange& operator =(const OnLanguageChange&); + + virtual ~OnLanguageChange(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::Language& get_hmiDisplayLanguage(void); + + +// setters + bool set_hmiDisplayLanguage(const NsSmartDeviceLinkRPCV2::Language& hmiDisplayLanguage); + + + private: + + friend class OnLanguageChangeMarshaller; + + NsSmartDeviceLinkRPCV2::Language hmiDisplayLanguage; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnReady.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnReady.h new file mode 100644 index 000000000..84b6a5110 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnReady.h @@ -0,0 +1,75 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_ONREADY_INCLUDE +#define NSRPC2COMMUNICATION_UI_ONREADY_INCLUDE + +#include "JSONHandler/RPC2Notification.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class OnReady : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnReady(const OnReady& c); + OnReady(void); + + OnReady& operator =(const OnReady&); + + virtual ~OnReady(void); + + bool checkIntegrity(void); + + + private: + + friend class OnReadyMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnSystemContext.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnSystemContext.h new file mode 100644 index 000000000..932b74b5a --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnSystemContext.h @@ -0,0 +1,84 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_ONSYSTEMCONTEXT_INCLUDE +#define NSRPC2COMMUNICATION_UI_ONSYSTEMCONTEXT_INCLUDE + +#include "JSONHandler/RPC2Notification.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/SystemContext.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class OnSystemContext : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnSystemContext(const OnSystemContext& c); + OnSystemContext(void); + + OnSystemContext& operator =(const OnSystemContext&); + + virtual ~OnSystemContext(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::SystemContext& get_systemContext(void); + + +// setters + bool set_systemContext(const NsSmartDeviceLinkRPCV2::SystemContext& systemContext); + + + private: + + friend class OnSystemContextMarshaller; + + NsSmartDeviceLinkRPCV2::SystemContext systemContext; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnTBTClientState.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnTBTClientState.h new file mode 100644 index 000000000..84c0bcda4 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/OnTBTClientState.h @@ -0,0 +1,84 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_ONTBTCLIENTSTATE_INCLUDE +#define NSRPC2COMMUNICATION_UI_ONTBTCLIENTSTATE_INCLUDE + +#include "JSONHandler/RPC2Notification.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/TBTState.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class OnTBTClientState : public ::NsRPC2Communication::RPC2Notification + { + public: + + OnTBTClientState(const OnTBTClientState& c); + OnTBTClientState(void); + + OnTBTClientState& operator =(const OnTBTClientState&); + + virtual ~OnTBTClientState(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::TBTState& get_state(void); + int get_appId(void); + +// setters + bool set_state(const NsSmartDeviceLinkRPCV2::TBTState& state); + bool set_appId(int appId); + + private: + friend class OnTBTClientStateMarshaller; + + NsSmartDeviceLinkRPCV2::TBTState state; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformAudioPassThru.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformAudioPassThru.h new file mode 100644 index 000000000..25b510747 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformAudioPassThru.h @@ -0,0 +1,130 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_PERFORMAUDIOPASSTHRU_INCLUDE +#define NSRPC2COMMUNICATION_UI_PERFORMAUDIOPASSTHRU_INCLUDE + +#include <string> +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/TTSChunk.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/SamplingRate.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/AudioCaptureQuality.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/AudioType.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class PerformAudioPassThru : public ::NsRPC2Communication::RPC2Request + { + public: + + PerformAudioPassThru(const PerformAudioPassThru& c); + PerformAudioPassThru(void); + + PerformAudioPassThru& operator =(const PerformAudioPassThru&); + + virtual ~PerformAudioPassThru(void); + + bool checkIntegrity(void); + +// getters + const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& get_initialPrompt(void); + + const std::string* get_audioPassThruDisplayText1(void); + const std::string* get_audioPassThruDisplayText2(void); + const NsSmartDeviceLinkRPCV2::SamplingRate& get_samplingRate(void); + + unsigned int get_maxDuration(void); + + const NsSmartDeviceLinkRPCV2::AudioCaptureQuality& get_bitsPerSample(void); + + const NsSmartDeviceLinkRPCV2::AudioType& get_audioType(void); + + int get_appId(void); + + +// setters +/// 1 <= size <= 100 + bool set_initialPrompt(const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& initialPrompt); + +/// audioPassThruDisplayText1 <= 500 + bool set_audioPassThruDisplayText1(const std::string& audioPassThruDisplayText1); + + void reset_audioPassThruDisplayText1(void); + +/// audioPassThruDisplayText2 <= 500 + bool set_audioPassThruDisplayText2(const std::string& audioPassThruDisplayText2); + + void reset_audioPassThruDisplayText2(void); + + bool set_samplingRate(const NsSmartDeviceLinkRPCV2::SamplingRate& samplingRate); + +/// maxDuration <= 1000000 + bool set_maxDuration(unsigned int maxDuration); + + bool set_bitsPerSample(const NsSmartDeviceLinkRPCV2::AudioCaptureQuality& bitsPerSample); + + bool set_audioType(const NsSmartDeviceLinkRPCV2::AudioType& audioType); + + bool set_appId(int appId); + + + private: + + friend class PerformAudioPassThruMarshaller; + + std::vector< NsSmartDeviceLinkRPCV2::TTSChunk> initialPrompt; + std::string* audioPassThruDisplayText1; + std::string* audioPassThruDisplayText2; + NsSmartDeviceLinkRPCV2::SamplingRate samplingRate; + unsigned int maxDuration; + NsSmartDeviceLinkRPCV2::AudioCaptureQuality bitsPerSample; + NsSmartDeviceLinkRPCV2::AudioType audioType; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformAudioPassThruResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformAudioPassThruResponse.h new file mode 100644 index 000000000..112ccc655 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformAudioPassThruResponse.h @@ -0,0 +1,75 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_PERFORMAUDIOPASSTHRURESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_PERFORMAUDIOPASSTHRURESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class PerformAudioPassThruResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + PerformAudioPassThruResponse(const PerformAudioPassThruResponse& c); + PerformAudioPassThruResponse(void); + + PerformAudioPassThruResponse& operator =(const PerformAudioPassThruResponse&); + + virtual ~PerformAudioPassThruResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class PerformAudioPassThruResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformInteraction.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformInteraction.h new file mode 100644 index 000000000..796d2d010 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformInteraction.h @@ -0,0 +1,141 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_PERFORMINTERACTION_INCLUDE +#define NSRPC2COMMUNICATION_UI_PERFORMINTERACTION_INCLUDE + +#include <string> +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/TTSChunk.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/InteractionMode.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/TTSChunk.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/TTSChunk.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/VrHelpItem.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class PerformInteraction : public ::NsRPC2Communication::RPC2Request + { + public: + + PerformInteraction(const PerformInteraction& c); + PerformInteraction(void); + + PerformInteraction& operator =(const PerformInteraction&); + + virtual ~PerformInteraction(void); + + bool checkIntegrity(void); + +// getters + const std::string& get_initialText(void); + + const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& get_initialPrompt(void); + + const NsSmartDeviceLinkRPCV2::InteractionMode& get_interactionMode(void); + + const std::vector< unsigned int>& get_interactionChoiceSetIDList(void); + + const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>* get_helpPrompt(void); + const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>* get_timeoutPrompt(void); + const unsigned int* get_timeout(void); + const std::vector< NsSmartDeviceLinkRPCV2::VrHelpItem>* get_vrHelp(void); + int get_appId(void); + + +// setters +/// initialText <= 500 + bool set_initialText(const std::string& initialText); + +/// 1 <= size <= 100 + bool set_initialPrompt(const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& initialPrompt); + + bool set_interactionMode(const NsSmartDeviceLinkRPCV2::InteractionMode& interactionMode); + +/// interactionChoiceSetIDList[] <= 2000000000 ; 1 <= size <= 100 + bool set_interactionChoiceSetIDList(const std::vector< unsigned int>& interactionChoiceSetIDList); + +/// 1 <= size <= 100 + bool set_helpPrompt(const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& helpPrompt); + + void reset_helpPrompt(void); + +/// 1 <= size <= 100 + bool set_timeoutPrompt(const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& timeoutPrompt); + + void reset_timeoutPrompt(void); + +/// 5000 <= timeout <= 100000 + bool set_timeout(const unsigned int& timeout); + + void reset_timeout(void); + +/// 1 <= size <= 100 + bool set_vrHelp(const std::vector< NsSmartDeviceLinkRPCV2::VrHelpItem>& vrHelp); + + void reset_vrHelp(void); + + bool set_appId(int appId); + + + private: + + friend class PerformInteractionMarshaller; + + std::string initialText; + std::vector< NsSmartDeviceLinkRPCV2::TTSChunk> initialPrompt; + NsSmartDeviceLinkRPCV2::InteractionMode interactionMode; + std::vector< unsigned int> interactionChoiceSetIDList; + std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>* helpPrompt; + std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>* timeoutPrompt; + unsigned int* timeout; + std::vector< NsSmartDeviceLinkRPCV2::VrHelpItem>* vrHelp; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformInteractionResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformInteractionResponse.h new file mode 100644 index 000000000..fc28c4a73 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/PerformInteractionResponse.h @@ -0,0 +1,92 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_PERFORMINTERACTIONRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_PERFORMINTERACTIONRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/TriggerSource.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class PerformInteractionResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + PerformInteractionResponse(const PerformInteractionResponse& c); + PerformInteractionResponse(void); + + PerformInteractionResponse& operator =(const PerformInteractionResponse&); + + virtual ~PerformInteractionResponse(void); + + bool checkIntegrity(void); + +// getters + const unsigned int* get_choiceID(void); + const NsSmartDeviceLinkRPCV2::TriggerSource* get_triggerSource(void); + +// setters +/// choiceID <= 2000000000 + bool set_choiceID(const unsigned int& choiceID); + + void reset_choiceID(void); + + bool set_triggerSource(const NsSmartDeviceLinkRPCV2::TriggerSource& triggerSource); + + void reset_triggerSource(void); + + + private: + + friend class PerformInteractionResponseMarshaller; + + unsigned int* choiceID; + NsSmartDeviceLinkRPCV2::TriggerSource* triggerSource; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/RPC2.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/RPC2.h new file mode 100644 index 000000000..088cd9cd3 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/RPC2.h @@ -0,0 +1,111 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_RPC2_INCLUDE +#define NSRPC2COMMUNICATION_UI_RPC2_INCLUDE + +#include <string> +#include <json/json.h> + +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/AddCommand.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/AddCommandResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/AddSubMenu.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/AddSubMenuResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/Alert.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/AlertResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/AlertManeuver.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/AlertManeuverResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/ChangeRegistration.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/ChangeRegistrationResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/CreateInteractionChoiceSet.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/CreateInteractionChoiceSetResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/DeleteCommand.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/DeleteCommandResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/DeleteInteractionChoiceSet.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/DeleteInteractionChoiceSetResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/DeleteSubMenu.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/DeleteSubMenuResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/DialNumber.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/DialNumberResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/EndAudioPassThru.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/EndAudioPassThruResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/GetCapabilities.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/GetCapabilitiesResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/GetLanguage.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/GetLanguageResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/GetSupportedLanguages.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/GetSupportedLanguagesResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/OnCommand.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/OnDeviceChosen.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/OnDriverDistraction.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/OnLanguageChange.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/OnReady.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/OnSystemContext.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/OnTBTClientState.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/PerformAudioPassThru.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/PerformAudioPassThruResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/PerformInteraction.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/PerformInteractionResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/ResetGlobalProperties.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/ResetGlobalPropertiesResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/ScrollableMessage.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/ScrollableMessageResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/SetAppIcon.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/SetAppIconResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/SetDisplayLayout.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/SetDisplayLayoutResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/SetGlobalProperties.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/SetGlobalPropertiesResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/SetMediaClockTimer.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/SetMediaClockTimerResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/Show.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/ShowResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/ShowConstantTBT.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/ShowConstantTBTResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/Slider.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/SliderResponse.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/UpdateTurnList.h" +#include "../src/../include/JSONHandler/RPC2Objects//NsRPC2Communication/UI/UpdateTurnListResponse.h" + +#include "../src/../include/JSONHandler/RPC2Objects/Marshaller.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ResetGlobalProperties.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ResetGlobalProperties.h new file mode 100644 index 000000000..affb93756 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ResetGlobalProperties.h @@ -0,0 +1,91 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_RESETGLOBALPROPERTIES_INCLUDE +#define NSRPC2COMMUNICATION_UI_RESETGLOBALPROPERTIES_INCLUDE + +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/GlobalProperty.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class ResetGlobalProperties : public ::NsRPC2Communication::RPC2Request + { + public: + + ResetGlobalProperties(const ResetGlobalProperties& c); + ResetGlobalProperties(void); + + ResetGlobalProperties& operator =(const ResetGlobalProperties&); + + virtual ~ResetGlobalProperties(void); + + bool checkIntegrity(void); + +// getters + const std::vector< NsSmartDeviceLinkRPCV2::GlobalProperty>& get_properties(void); + + int get_appId(void); + + +// setters +/// 1 <= size <= 100 + bool set_properties(const std::vector< NsSmartDeviceLinkRPCV2::GlobalProperty>& properties); + + bool set_appId(int appId); + + + private: + + friend class ResetGlobalPropertiesMarshaller; + + std::vector< NsSmartDeviceLinkRPCV2::GlobalProperty> properties; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ResetGlobalPropertiesResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ResetGlobalPropertiesResponse.h new file mode 100644 index 000000000..84cc644f5 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ResetGlobalPropertiesResponse.h @@ -0,0 +1,75 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_RESETGLOBALPROPERTIESRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_RESETGLOBALPROPERTIESRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class ResetGlobalPropertiesResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + ResetGlobalPropertiesResponse(const ResetGlobalPropertiesResponse& c); + ResetGlobalPropertiesResponse(void); + + ResetGlobalPropertiesResponse& operator =(const ResetGlobalPropertiesResponse&); + + virtual ~ResetGlobalPropertiesResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class ResetGlobalPropertiesResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ScrollableMessage.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ScrollableMessage.h new file mode 100644 index 000000000..d39f88d59 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ScrollableMessage.h @@ -0,0 +1,106 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_SCROLLABLEMESSAGE_INCLUDE +#define NSRPC2COMMUNICATION_UI_SCROLLABLEMESSAGE_INCLUDE + +#include <string> +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/SoftButton.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class ScrollableMessage : public ::NsRPC2Communication::RPC2Request + { + public: + + ScrollableMessage(const ScrollableMessage& c); + ScrollableMessage(void); + + ScrollableMessage& operator =(const ScrollableMessage&); + + virtual ~ScrollableMessage(void); + + bool checkIntegrity(void); + +// getters + const std::string& get_scrollableMessageBody(void); + + const unsigned int* get_timeout(void); + const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>* get_softButtons(void); + int get_appId(void); + + +// setters +/// scrollableMessageBody <= 500 + bool set_scrollableMessageBody(const std::string& scrollableMessageBody); + +/// timeout <= 65535 + bool set_timeout(const unsigned int& timeout); + + void reset_timeout(void); + +/// 0 <= size <= 8 + bool set_softButtons(const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>& softButtons); + + void reset_softButtons(void); + + bool set_appId(int appId); + + + private: + + friend class ScrollableMessageMarshaller; + + std::string scrollableMessageBody; + unsigned int* timeout; + std::vector< NsSmartDeviceLinkRPCV2::SoftButton>* softButtons; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ScrollableMessageResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ScrollableMessageResponse.h new file mode 100644 index 000000000..d98d2965b --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ScrollableMessageResponse.h @@ -0,0 +1,75 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_SCROLLABLEMESSAGERESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_SCROLLABLEMESSAGERESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class ScrollableMessageResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + ScrollableMessageResponse(const ScrollableMessageResponse& c); + ScrollableMessageResponse(void); + + ScrollableMessageResponse& operator =(const ScrollableMessageResponse&); + + virtual ~ScrollableMessageResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class ScrollableMessageResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetAppIcon.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetAppIcon.h new file mode 100644 index 000000000..9b3d4ad38 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetAppIcon.h @@ -0,0 +1,90 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_SETAPPICON_INCLUDE +#define NSRPC2COMMUNICATION_UI_SETAPPICON_INCLUDE + +#include <string> +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class SetAppIcon : public ::NsRPC2Communication::RPC2Request + { + public: + + SetAppIcon(const SetAppIcon& c); + SetAppIcon(void); + + SetAppIcon& operator =(const SetAppIcon&); + + virtual ~SetAppIcon(void); + + bool checkIntegrity(void); + +// getters + const std::string& get_syncFileName(void); + + int get_appId(void); + + +// setters +/// syncFileName <= 500 + bool set_syncFileName(const std::string& syncFileName); + + bool set_appId(int appId); + + + private: + + friend class SetAppIconMarshaller; + + std::string syncFileName; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetAppIconResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetAppIconResponse.h new file mode 100644 index 000000000..356075324 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetAppIconResponse.h @@ -0,0 +1,75 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_SETAPPICONRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_SETAPPICONRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class SetAppIconResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + SetAppIconResponse(const SetAppIconResponse& c); + SetAppIconResponse(void); + + SetAppIconResponse& operator =(const SetAppIconResponse&); + + virtual ~SetAppIconResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class SetAppIconResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetDisplayLayout.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetDisplayLayout.h new file mode 100644 index 000000000..7d49f4114 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetDisplayLayout.h @@ -0,0 +1,89 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_SETDISPLAYLAYOUT_INCLUDE +#define NSRPC2COMMUNICATION_UI_SETDISPLAYLAYOUT_INCLUDE + +#include <string> +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class SetDisplayLayout : public ::NsRPC2Communication::RPC2Request + { + public: + + SetDisplayLayout(const SetDisplayLayout& c); + SetDisplayLayout(void); + + SetDisplayLayout& operator =(const SetDisplayLayout&); + + virtual ~SetDisplayLayout(void); + + bool checkIntegrity(void); + +// getters + const std::string& get_displayLayout(void); + + int get_appId(void); + + +// setters + bool set_displayLayout(const std::string& displayLayout); + + bool set_appId(int appId); + + + private: + + friend class SetDisplayLayoutMarshaller; + + std::string displayLayout; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetDisplayLayoutResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetDisplayLayoutResponse.h new file mode 100644 index 000000000..cadf33614 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetDisplayLayoutResponse.h @@ -0,0 +1,75 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_SETDISPLAYLAYOUTRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_SETDISPLAYLAYOUTRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class SetDisplayLayoutResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + SetDisplayLayoutResponse(const SetDisplayLayoutResponse& c); + SetDisplayLayoutResponse(void); + + SetDisplayLayoutResponse& operator =(const SetDisplayLayoutResponse&); + + virtual ~SetDisplayLayoutResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class SetDisplayLayoutResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetGlobalProperties.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetGlobalProperties.h new file mode 100644 index 000000000..e428498f7 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetGlobalProperties.h @@ -0,0 +1,116 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_SETGLOBALPROPERTIES_INCLUDE +#define NSRPC2COMMUNICATION_UI_SETGLOBALPROPERTIES_INCLUDE + +#include <string> +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/TTSChunk.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/TTSChunk.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/VrHelpItem.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class SetGlobalProperties : public ::NsRPC2Communication::RPC2Request + { + public: + + SetGlobalProperties(const SetGlobalProperties& c); + SetGlobalProperties(void); + + SetGlobalProperties& operator =(const SetGlobalProperties&); + + virtual ~SetGlobalProperties(void); + + bool checkIntegrity(void); + +// getters + const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>* get_helpPrompt(void); + const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>* get_timeoutPrompt(void); + const std::string* get_vrHelpTitle(void); + const std::vector< NsSmartDeviceLinkRPCV2::VrHelpItem>* get_vrHelp(void); + int get_appId(void); + + +// setters +/// 1 <= size <= 100 + bool set_helpPrompt(const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& helpPrompt); + + void reset_helpPrompt(void); + +/// 1 <= size <= 100 + bool set_timeoutPrompt(const std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>& timeoutPrompt); + + void reset_timeoutPrompt(void); + +/// vrHelpTitle <= 500 + bool set_vrHelpTitle(const std::string& vrHelpTitle); + + void reset_vrHelpTitle(void); + +/// 1 <= size <= 100 + bool set_vrHelp(const std::vector< NsSmartDeviceLinkRPCV2::VrHelpItem>& vrHelp); + + void reset_vrHelp(void); + + bool set_appId(int appId); + + + private: + + friend class SetGlobalPropertiesMarshaller; + + std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>* helpPrompt; + std::vector< NsSmartDeviceLinkRPCV2::TTSChunk>* timeoutPrompt; + std::string* vrHelpTitle; + std::vector< NsSmartDeviceLinkRPCV2::VrHelpItem>* vrHelp; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetGlobalPropertiesResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetGlobalPropertiesResponse.h new file mode 100644 index 000000000..3f83e18e4 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetGlobalPropertiesResponse.h @@ -0,0 +1,75 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_SETGLOBALPROPERTIESRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_SETGLOBALPROPERTIESRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class SetGlobalPropertiesResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + SetGlobalPropertiesResponse(const SetGlobalPropertiesResponse& c); + SetGlobalPropertiesResponse(void); + + SetGlobalPropertiesResponse& operator =(const SetGlobalPropertiesResponse&); + + virtual ~SetGlobalPropertiesResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class SetGlobalPropertiesResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetMediaClockTimer.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetMediaClockTimer.h new file mode 100644 index 000000000..011d7a21d --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetMediaClockTimer.h @@ -0,0 +1,96 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_SETMEDIACLOCKTIMER_INCLUDE +#define NSRPC2COMMUNICATION_UI_SETMEDIACLOCKTIMER_INCLUDE + +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/StartTime.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/UpdateMode.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class SetMediaClockTimer : public ::NsRPC2Communication::RPC2Request + { + public: + + SetMediaClockTimer(const SetMediaClockTimer& c); + SetMediaClockTimer(void); + + SetMediaClockTimer& operator =(const SetMediaClockTimer&); + + virtual ~SetMediaClockTimer(void); + + bool checkIntegrity(void); + +// getters + const NsSmartDeviceLinkRPCV2::StartTime* get_startTime(void); + const NsSmartDeviceLinkRPCV2::UpdateMode& get_updateMode(void); + + int get_appId(void); + + +// setters + bool set_startTime(const NsSmartDeviceLinkRPCV2::StartTime& startTime); + + void reset_startTime(void); + + bool set_updateMode(const NsSmartDeviceLinkRPCV2::UpdateMode& updateMode); + + bool set_appId(int appId); + + + private: + + friend class SetMediaClockTimerMarshaller; + + NsSmartDeviceLinkRPCV2::StartTime* startTime; + NsSmartDeviceLinkRPCV2::UpdateMode updateMode; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetMediaClockTimerResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetMediaClockTimerResponse.h new file mode 100644 index 000000000..8b5aa5b2b --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SetMediaClockTimerResponse.h @@ -0,0 +1,75 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_SETMEDIACLOCKTIMERRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_SETMEDIACLOCKTIMERRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class SetMediaClockTimerResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + SetMediaClockTimerResponse(const SetMediaClockTimerResponse& c); + SetMediaClockTimerResponse(void); + + SetMediaClockTimerResponse& operator =(const SetMediaClockTimerResponse&); + + virtual ~SetMediaClockTimerResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class SetMediaClockTimerResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/Show.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/Show.h new file mode 100644 index 000000000..01f733106 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/Show.h @@ -0,0 +1,163 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_SHOW_INCLUDE +#define NSRPC2COMMUNICATION_UI_SHOW_INCLUDE + +#include <string> +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/TextAlignment.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/Image.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/SoftButton.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class Show : public ::NsRPC2Communication::RPC2Request + { + public: + + Show(const Show& c); + Show(void); + + Show& operator =(const Show&); + + virtual ~Show(void); + + bool checkIntegrity(void); + +// getters + const std::string* get_mainField1(void); + const std::string* get_mainField2(void); + const std::string* get_mainField3(void); + const std::string* get_mainField4(void); + const NsSmartDeviceLinkRPCV2::TextAlignment* get_alignment(void); + const std::string* get_statusBar(void); + const std::string* get_mediaClock(void); + const std::string* get_mediaTrack(void); + const NsSmartDeviceLinkRPCV2::Image* get_graphic(void); + const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>* get_softButtons(void); + const std::vector< std::string>* get_customPresets(void); + int get_appId(void); + + +// setters +/// mainField1 <= 500 + bool set_mainField1(const std::string& mainField1); + + void reset_mainField1(void); + +/// mainField2 <= 500 + bool set_mainField2(const std::string& mainField2); + + void reset_mainField2(void); + +/// mainField3 <= 500 + bool set_mainField3(const std::string& mainField3); + + void reset_mainField3(void); + +/// mainField4 <= 500 + bool set_mainField4(const std::string& mainField4); + + void reset_mainField4(void); + + bool set_alignment(const NsSmartDeviceLinkRPCV2::TextAlignment& alignment); + + void reset_alignment(void); + +/// statusBar <= 500 + bool set_statusBar(const std::string& statusBar); + + void reset_statusBar(void); + +/// mediaClock <= 500 + bool set_mediaClock(const std::string& mediaClock); + + void reset_mediaClock(void); + +/// mediaTrack <= 500 + bool set_mediaTrack(const std::string& mediaTrack); + + void reset_mediaTrack(void); + + bool set_graphic(const NsSmartDeviceLinkRPCV2::Image& graphic); + + void reset_graphic(void); + +/// 0 <= size <= 8 + bool set_softButtons(const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>& softButtons); + + void reset_softButtons(void); + +/// customPresets[] <= 500 ; 0 <= size <= 6 + bool set_customPresets(const std::vector< std::string>& customPresets); + + void reset_customPresets(void); + + bool set_appId(int appId); + + + private: + + friend class ShowMarshaller; + + std::string* mainField1; + std::string* mainField2; + std::string* mainField3; + std::string* mainField4; + NsSmartDeviceLinkRPCV2::TextAlignment* alignment; + std::string* statusBar; + std::string* mediaClock; + std::string* mediaTrack; + NsSmartDeviceLinkRPCV2::Image* graphic; + std::vector< NsSmartDeviceLinkRPCV2::SoftButton>* softButtons; + std::vector< std::string>* customPresets; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ShowConstantTBT.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ShowConstantTBT.h new file mode 100644 index 000000000..b761d1a37 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ShowConstantTBT.h @@ -0,0 +1,144 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_SHOWCONSTANTTBT_INCLUDE +#define NSRPC2COMMUNICATION_UI_SHOWCONSTANTTBT_INCLUDE + +#include <string> +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/Image.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/SoftButton.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class ShowConstantTBT : public ::NsRPC2Communication::RPC2Request + { + public: + + ShowConstantTBT(const ShowConstantTBT& c); + ShowConstantTBT(void); + + ShowConstantTBT& operator =(const ShowConstantTBT&); + + virtual ~ShowConstantTBT(void); + + bool checkIntegrity(void); + +// getters + const std::string* get_navigationText1(void); + const std::string* get_navigationText2(void); + const std::string* get_eta(void); + const std::string* get_totalDistance(void); + const NsSmartDeviceLinkRPCV2::Image& get_turnIcon(void); + + float get_distanceToManeuver(void); + + float get_distanceToManeuverScale(void); + + const bool* get_maneuverComplete(void); + const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>& get_softButtons(void); + + int get_appId(void); + + +// setters +/// navigationText1 <= 500 + bool set_navigationText1(const std::string& navigationText1); + + void reset_navigationText1(void); + +/// navigationText2 <= 500 + bool set_navigationText2(const std::string& navigationText2); + + void reset_navigationText2(void); + +/// eta <= 500 + bool set_eta(const std::string& eta); + + void reset_eta(void); + +/// totalDistance <= 500 + bool set_totalDistance(const std::string& totalDistance); + + void reset_totalDistance(void); + + bool set_turnIcon(const NsSmartDeviceLinkRPCV2::Image& turnIcon); + +/// 0 <= distanceToManeuver <= 1000000000 + bool set_distanceToManeuver(float distanceToManeuver); + +/// 0 <= distanceToManeuverScale <= 1000000000 + bool set_distanceToManeuverScale(float distanceToManeuverScale); + + bool set_maneuverComplete(const bool& maneuverComplete); + + void reset_maneuverComplete(void); + +/// 0 <= size <= 3 + bool set_softButtons(const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>& softButtons); + + bool set_appId(int appId); + + + private: + + friend class ShowConstantTBTMarshaller; + + std::string* navigationText1; + std::string* navigationText2; + std::string* eta; + std::string* totalDistance; + NsSmartDeviceLinkRPCV2::Image turnIcon; + float distanceToManeuver; + float distanceToManeuverScale; + bool* maneuverComplete; + std::vector< NsSmartDeviceLinkRPCV2::SoftButton> softButtons; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ShowConstantTBTResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ShowConstantTBTResponse.h new file mode 100644 index 000000000..fc4f4930e --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ShowConstantTBTResponse.h @@ -0,0 +1,75 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_SHOWCONSTANTTBTRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_SHOWCONSTANTTBTRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class ShowConstantTBTResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + ShowConstantTBTResponse(const ShowConstantTBTResponse& c); + ShowConstantTBTResponse(void); + + ShowConstantTBTResponse& operator =(const ShowConstantTBTResponse&); + + virtual ~ShowConstantTBTResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class ShowConstantTBTResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ShowResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ShowResponse.h new file mode 100644 index 000000000..eb05ecf66 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/ShowResponse.h @@ -0,0 +1,75 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_SHOWRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_SHOWRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class ShowResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + ShowResponse(const ShowResponse& c); + ShowResponse(void); + + ShowResponse& operator =(const ShowResponse&); + + virtual ~ShowResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class ShowResponseMarshaller; + + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/Slider.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/Slider.h new file mode 100644 index 000000000..2421bb870 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/Slider.h @@ -0,0 +1,116 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_SLIDER_INCLUDE +#define NSRPC2COMMUNICATION_UI_SLIDER_INCLUDE + +#include <string> +#include <vector> +#include "JSONHandler/RPC2Request.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class Slider : public ::NsRPC2Communication::RPC2Request + { + public: + + Slider(const Slider& c); + Slider(void); + + Slider& operator =(const Slider&); + + virtual ~Slider(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_numTicks(void); + + unsigned int get_position(void); + + const std::string& get_sliderHeader(void); + + const std::vector< std::string>* get_sliderFooter(void); + unsigned int get_timeout(void); + + int get_appId(void); + + +// setters +/// 2 <= numTicks <= 26 + bool set_numTicks(unsigned int numTicks); + +/// 1 <= position <= 16 + bool set_position(unsigned int position); + +/// sliderHeader <= 500 + bool set_sliderHeader(const std::string& sliderHeader); + +/// sliderFooter[] <= 500 ; 1 <= size <= 26 + bool set_sliderFooter(const std::vector< std::string>& sliderFooter); + + void reset_sliderFooter(void); + +/// timeout <= 65535 + bool set_timeout(unsigned int timeout); + + bool set_appId(int appId); + + + private: + + friend class SliderMarshaller; + + unsigned int numTicks; + unsigned int position; + std::string sliderHeader; + std::vector< std::string>* sliderFooter; + unsigned int timeout; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SliderResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SliderResponse.h new file mode 100644 index 000000000..f7828c125 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/SliderResponse.h @@ -0,0 +1,84 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_SLIDERRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_SLIDERRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class SliderResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + SliderResponse(const SliderResponse& c); + SliderResponse(void); + + SliderResponse& operator =(const SliderResponse&); + + virtual ~SliderResponse(void); + + bool checkIntegrity(void); + +// getters + unsigned int get_sliderPosition(void); + + +// setters +/// 1 <= sliderPosition <= 26 + bool set_sliderPosition(unsigned int sliderPosition); + + + private: + + friend class SliderResponseMarshaller; + + unsigned int sliderPosition; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/UpdateTurnList.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/UpdateTurnList.h new file mode 100644 index 000000000..0bac9c820 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/UpdateTurnList.h @@ -0,0 +1,98 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_UPDATETURNLIST_INCLUDE +#define NSRPC2COMMUNICATION_UI_UPDATETURNLIST_INCLUDE + +#include <vector> +#include "JSONHandler/RPC2Request.h" + +#include "../include/JSONHandler/SDLRPCObjects/V2/Turn.h" +#include "../include/JSONHandler/SDLRPCObjects/V2/SoftButton.h" + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class UpdateTurnList : public ::NsRPC2Communication::RPC2Request + { + public: + + UpdateTurnList(const UpdateTurnList& c); + UpdateTurnList(void); + + UpdateTurnList& operator =(const UpdateTurnList&); + + virtual ~UpdateTurnList(void); + + bool checkIntegrity(void); + +// getters + const std::vector< NsSmartDeviceLinkRPCV2::Turn>& get_turnList(void); + + const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>& get_softButtons(void); + + int get_appId(void); + + +// setters +/// 1 <= size <= 100 + bool set_turnList(const std::vector< NsSmartDeviceLinkRPCV2::Turn>& turnList); + +/// 0 <= size <= 1 + bool set_softButtons(const std::vector< NsSmartDeviceLinkRPCV2::SoftButton>& softButtons); + + bool set_appId(int appId); + + + private: + + friend class UpdateTurnListMarshaller; + + std::vector< NsSmartDeviceLinkRPCV2::Turn> turnList; + std::vector< NsSmartDeviceLinkRPCV2::SoftButton> softButtons; + int appId; + + }; + } +} + +#endif diff --git a/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/UpdateTurnListResponse.h b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/UpdateTurnListResponse.h new file mode 100644 index 000000000..d6cef5d31 --- /dev/null +++ b/SDL_Core/src/components/JSONHandler/include/JSONHandler/RPC2Objects/NsRPC2Communication/UI/UpdateTurnListResponse.h @@ -0,0 +1,75 @@ +// +// Copyright (c) 2013, Ford Motor Company +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following +// disclaimer in the documentation and/or other materials provided with the +// distribution. +// +// Neither the name of the Ford Motor Company nor the names of its contributors +// may be used to endorse or promote products derived from this software +// without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +// POSSIBILITY OF SUCH DAMAGE. +// + +#ifndef NSRPC2COMMUNICATION_UI_UPDATETURNLISTRESPONSE_INCLUDE +#define NSRPC2COMMUNICATION_UI_UPDATETURNLISTRESPONSE_INCLUDE + +#include "JSONHandler/RPC2Response.h" + + +/* + interface NsRPC2Communication::UI + version 1.2 + generated at Thu Jan 24 06:41:15 2013 + source stamp Wed Jan 23 13:56:28 2013 + author RC +*/ + +namespace NsRPC2Communication +{ + namespace UI + { + + class UpdateTurnListResponse : public ::NsRPC2Communication::RPC2Response + { + public: + + UpdateTurnListResponse(const UpdateTurnListResponse& c); + UpdateTurnListResponse(void); + + UpdateTurnListResponse& operator =(const UpdateTurnListResponse&); + + virtual ~UpdateTurnListResponse(void); + + bool checkIntegrity(void); + + + private: + + friend class UpdateTurnListResponseMarshaller; + + + }; + } +} + +#endif |