2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
22 * @author Pawel Misiak (p.misiak@samsung.com)
26 #include "BinarySms.h"
27 #include <dpl/log/log.h>
30 using namespace TizenApis::Api::Messaging;
36 BinarySms::BinarySms(const string& id) :
37 IMessage(BINARYSMS, id)
41 LogDebug("m_id=" << getIdRef());
42 LogDebug("m_msgType=" << getMessageType());
45 BinarySms::~BinarySms()
50 void BinarySms::update(bool /*draftsOnly*/)
52 LogDebug("updating m_id=" << getIdRef());
55 void BinarySms::readAllData()
60 void BinarySms::moveToFolder(const FolderType newFolder)
65 void BinarySms::moveToFolder(const string& newFolder)
70 void BinarySms::copyToFolder(const FolderType newFolder)
75 void BinarySms::copyToFolder(const string& newFolder)
80 void BinarySms::remove()
85 void BinarySms::updateIsRead()
90 void BinarySms::updateMessage()
95 void BinarySms::addMessageToDraft()
100 void BinarySms::createSendMessage()
105 int BinarySms::send()
111 void BinarySms::sendCancel(int handle)