Git Init
[profile/ivi/wrt-plugins-tizen.git] / src / platform / API / Messaging / IMessagingService.cpp
1 /*
2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License. 
15 */
16 \r
17 \r
18 /*\r
19  * @author\r
20  */\r
21 \r
22 #include "IMessagingService.h"
23 #include "EventGetMessagingService.h"
24 #include "EventMessagingService.h"\r
25 \r
26 using namespace TizenApis::Api::Messaging;\r
27 using namespace WrtDeviceApis::Commons;\r
28 \r
29 namespace TizenApis {\r
30 namespace Api {\r
31 namespace Messaging{\r
32 \r
33 IMessagingService::IMessagingService() :\r
34           m_messagingServiceType(-1)\r
35 {\r
36         LogDebug("create  IMessagingService");\r
37 }\r
38 \r
39 IMessagingService::~IMessagingService()\r
40 {\r
41         LogDebug("destory  IMessagingService");\r
42 }\r
43
44 void IMessagingService::setMessagingServiceEvent(const EventMessagingServicePtr &event)
45 {
46                 m_messagingServiceEvent = event;
47 }
48
49 EventMessagingServicePtr IMessagingService::getMessagingServiceEvent() const
50 {
51         return m_messagingServiceEvent;
52 }
53
54 \r
55 }\r
56 }\r
57 }\r
58 \r
59 \r
60 \r