Merge "add missing packages requires" into tizen
[profile/ivi/ico-uxf-homescreen.git] / tests / system-controller / test-dummy-hs / CicoGeometry.cpp
1 /*
2  * Copyright (c) 2013, TOYOTA MOTOR CORPORATION.
3  *
4  * This program is licensed under the terms and conditions of the
5  * Apache License, version 2.0.  The full text of the Apache License is at
6  * http://www.apache.org/licenses/LICENSE-2.0
7  *
8  */
9
10 /*========================================================================*/    
11 /**
12  *  @file   CicoGeometry.cpp
13  *
14  *  @brief  Geometry Implementaion
15  */
16 /*========================================================================*/    
17
18 #include "CicoGeometry.h"
19
20 /**
21  *  Default Constructor
22  */
23 CicoGeometry::CicoGeometry(int x, int y, int w, int h)
24     : _x(x), _y(y), _w(w), _h(h)
25 {
26 }
27
28 /**
29  *  Copy Constructor
30  */
31 CicoGeometry::CicoGeometry(const CicoGeometry& object)
32 {
33     _x = object._x;
34     _y = object._y;
35     _w = object._w;
36     _h = object._h;
37 }
38
39
40 /**
41  *  Destructor
42  */
43 CicoGeometry::~CicoGeometry()
44 {
45 }
46
47 /**
48  *  Assignment Operator
49  */
50 CicoGeometry&
51 CicoGeometry::operator=(const CicoGeometry& object)
52 {
53     _x = object._x;
54     _y = object._y;
55     _w = object._w;
56     _h = object._h;
57
58     return *this;
59 }
60 /* vim: set expandtab ts=4 sw=4: */