2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Flora License, Version 1.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://floralicense.org/license/
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.
20 * @brief This is the header file for the %Layout class.
22 * This header file contains the declarations of the %Layout class.
25 #ifndef _FUI_LAYOUT_H_
26 #define _FUI_LAYOUT_H_
28 #include <FBaseObject.h>
29 #include <FUiLayoutTypes.h>
31 namespace Tizen { namespace Ui
36 * @brief This class is the abstract base class of all the %Layout classes.
40 * The %Layout class is the abstract base class of all the %Layout classes.
42 * For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/ui/layout.htm">Layout</a>.
44 class _OSP_EXPORT_ Layout
45 : public Tizen::Base::Object
49 * This destructor overrides Tizen::Base::Object::~Object().
53 virtual ~Layout(void);
56 * Gets the type of the layout.
60 * @return The layout type
62 virtual LayoutType GetLayoutType(void) const = 0;
69 * @return An error code
71 * @exception E_SUCCESS The method is successful.
77 * This is the default constructor for this class.
85 // The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.
87 Layout(const Layout& rhs);
90 // The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.
92 Layout& operator =(const Layout& rhs);
96 friend class _LayoutImpl;
101 #endif // _FUI_LAYOUT_H_