Merge "Replace gmtime to gmtime_r for TimeZone" into tizen_2.2
[platform/framework/native/appfw.git] / src / base / FBaseObject.cpp
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
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  * @file                FBaseObject.cpp
19  * @brief               This is the implementation file for Object class.
20  */
21 #include <FBaseObject.h>
22
23 namespace Tizen { namespace Base
24 {
25
26 Object::Object(void)
27 {
28 }
29
30 Object::~Object(void)
31 {
32 }
33
34 Object::Object(const Object& obj)
35 {
36 }
37
38 bool
39 Object::Equals(const Object& obj) const
40 {
41         // return true if two instances have the same memory address.
42         if (this == &obj)
43         {
44                 return true;
45         }
46         else
47         {
48                 return false;
49         }
50 }
51
52 int
53 Object::GetHashCode(void) const
54 {
55         // return the address of the current instance.
56         return (int) this;
57 }
58
59 Object&
60 Object::operator =(const Object& rhs)
61 {
62         return *this;
63 }
64
65 }} //Tizen::Base