2 // Tizen Web Device API
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
21 * @file VirtualMessage.cpp
22 * @author Pawel Misiak (p.misiak@samsung.com)
26 #include "Commons/Exception.h"
28 #include "VirtualMessage.h"
36 VirtualMessage::VirtualMessage() :
37 IMessage(VIRTUAL_MESSAGE, "")
41 VirtualMessage::~VirtualMessage()
45 int VirtualMessage::send()
50 void VirtualMessage::sendCancel(int handle)
54 void VirtualMessage::update(bool /*draftsOnly*/)
58 void VirtualMessage::readAllData()
62 void VirtualMessage::moveToFolder(const FolderType newFolder)
66 void VirtualMessage::moveToFolder(const std::string& newFolder)
70 void VirtualMessage::copyToFolder(const FolderType newFolder)
74 void VirtualMessage::copyToFolder(const std::string& newFolder)
78 void VirtualMessage::remove()
82 void VirtualMessage::updateIsRead()
86 void VirtualMessage::updateMessage()
90 void VirtualMessage::addMessageToDraft()
94 void VirtualMessage::createSendMessage(){