Update change log and spec for wrt-plugins-tizen_0.2.73
[profile/ivi/wrt-plugins-tizen.git] / src / platform / Tizen / Messaging / BinarySms.h
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
17
18 /**
19  *
20  *
21  * @file       BinarySms.h
22  * @author     Pawel Misiak (p.misiak@samsung.com)
23  * @version    0.1
24  * @brief
25  */
26 #ifndef BINARY_SMS_H
27 #define BINARY_SMS_H
28
29 #include <API/Messaging/IBinarySms.h>
30 #include <string>
31
32 namespace TizenApis {
33 namespace Platform {
34 namespace Messaging {
35
36 class BinarySms :
37     public Api::Messaging::IBinarySms
38 {
39   public:
40
41     explicit BinarySms(const std::string& id = "");
42
43     virtual ~BinarySms();
44
45     // implementation of interface of IMessage class
46     virtual void update(bool draftsOnly = false);
47
48     virtual void readAllData();
49
50     virtual void moveToFolder(const Api::Messaging::FolderType newFolder);
51
52     virtual void moveToFolder(const std::string& newFolder);
53
54     virtual void copyToFolder(const Api::Messaging::FolderType newFolder);
55
56     virtual void copyToFolder(const std::string& newFolder);
57
58     virtual void remove();
59
60     virtual void updateIsRead();        
61
62     virtual void updateMessage();               
63
64     virtual void addMessageToDraft();
65
66     virtual void createSendMessage();   
67
68     virtual int send();
69
70     virtual void sendCancel(int handle);
71 };
72 }
73 }
74 }
75 #endif