2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
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.
17 * @file FScl_RecordImpl.cpp
18 * @brief This is the implementation for _RecordImpl class.
20 * This file contains definitions of _RecordImpl class.
23 #include "FScl_RecordImpl.h"
25 using namespace Tizen::Base;
27 namespace Tizen { namespace Social
30 _RecordImpl::_RecordImpl(RecordType type)
32 , __recordId(INVALID_RECORD_ID)
37 _RecordImpl::~_RecordImpl()
42 _RecordImpl::_RecordImpl(const _RecordImpl& rhs)
44 __recordType = rhs.__recordType;
45 __recordId = rhs.__recordId;
49 _RecordImpl::operator =(const _RecordImpl& rhs)
56 __recordType = rhs.__recordType;
57 __recordId = rhs.__recordId;
63 _RecordImpl::GetRecordType(void) const
69 _RecordImpl::GetRecordId(void) const
75 _RecordImpl::SetRecordId(RecordId recordId)
77 __recordId = recordId;
81 _RecordImpl::GetInstance(Record& record)
83 return record.__pRecordImpl;
87 _RecordImpl::GetInstance(const Record& record)
89 return record.__pRecordImpl;