1 //******************************************************************
\r
3 // Copyright 2016 Samsung Electronics All Rights Reserved.
\r
5 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
\r
7 // Licensed under the Apache License, Version 2.0 (the "License");
\r
8 // you may not use this file except in compliance with the License.
\r
9 // You may obtain a copy of the License at
\r
11 // http://www.apache.org/licenses/LICENSE-2.0
\r
13 // Unless required by applicable law or agreed to in writing, software
\r
14 // distributed under the License is distributed on an "AS IS" BASIS,
\r
15 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
16 // See the License for the specific language governing permissions and
\r
17 // limitations under the License.
\r
19 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
\r
24 * This file contains Notification service media contents representation.
\r
27 #ifndef _NS_MEDIA_CONTENTS_H_
\r
28 #define _NS_MEDIA_CONTENTS_H_
\r
32 #include "NSCommon.h"
\r
39 * @class NSMediaContents
\r
40 * @brief This class provides a set of APIs for Notification service Media Contents.
\r
42 class NSMediaContents
\r
46 * Constructor of NSMediaContents.
\r
48 NSMediaContents() = default;
\r
51 * Constructor of NSMediaContents.
\r
53 * @param mediacontents - pointer to NSMediaContents struct to initialize.
\r
55 NSMediaContents(::NSMediaContents *mediacontents);
\r
58 * Constructor of NSMediaContents.
\r
60 * @param iconImage - iconImage of the Notification service MediaContents.
\r
62 NSMediaContents(const std::string &iconImage)
\r
63 : m_iconImage(iconImage)
\r
69 * Destructor of NSMediaContents.
\r
71 ~NSMediaContents() = default;
\r
74 * This method is for getting icon image from the Notification service media contents.
\r
76 * @return iconImage as string.
\r
78 std::string getIconImage() const;
\r
81 * This method is for setting icon image for the Notification service media contents.
\r
83 * @param iconImage - as string.
\r
85 void setIconImage(const std::string &iconImage);
\r
88 std::string m_iconImage;
\r
93 #endif /* _NS_MEDIA_CONTENTS_H_ */
\r