1 #ifndef DALI_DEMO_LAYOUTING_EXAMPLE_H
2 #define DALI_DEMO_LAYOUTING_EXAMPLE_H
5 * Copyright (c) 2018 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
28 * @brief Abstract base class for layouting examples.
33 /// Should be overridden by deriving classes to create the required Layouting example
34 virtual void Create() = 0;
36 /// Should be overridden by deriving classes to remove their layouting example from stage
37 virtual void Remove() = 0;
39 /// Virtual destructor
40 virtual ~Example() = default;
43 * Gets the title set for this example
46 const std::string& GetExampleTitle() const
53 * Constructor for Example
54 * @param[in] title Title to be used for the example
56 Example( const std::string& title )
62 const std::string mTitle;
67 #endif // DALI_DEMO_LAYOUTING_EXAMPLE_H