X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=base%2Fdali-toolkit%2Fpublic-api%2Fstyling%2Fstyle-manager.h;h=6ac2662ac2f129641e88fd56ef3826a3c28cdd2f;hp=6b42f8ddd9c1bf1a514785c1f517f91f8ffee639;hb=69c760f194a0363e7b6b4996e2b4ba8ce01e985a;hpb=022b76df6f53c2860f2684ef1ffee81af1805e2e diff --git a/base/dali-toolkit/public-api/styling/style-manager.h b/base/dali-toolkit/public-api/styling/style-manager.h index 6b42f8d..6ac2662 100644 --- a/base/dali-toolkit/public-api/styling/style-manager.h +++ b/base/dali-toolkit/public-api/styling/style-manager.h @@ -1,21 +1,21 @@ #ifndef __DALI_TOOLKIT_STYLE_MANAGER_H__ #define __DALI_TOOLKIT_STYLE_MANAGER_H__ -// -// Copyright (c) 2014 Samsung Electronics Co., Ltd. -// -// Licensed under the Flora License, Version 1.0 (the License); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://floralicense.org/license/ -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an AS IS BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// +/* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // EXTERNAL INCLUDES @@ -63,7 +63,7 @@ class StyleManager : public BaseHandle public: // Signals - typedef SignalV2< void ( StyleManager ) > ThemeChangeSignalType; + typedef SignalV2< void ( StyleManager, StyleChange ) > StyleChangeSignalType; /** * @brief Create a StyleManager handle; this can be initialised with StyleManager::Get() @@ -72,9 +72,11 @@ public: StyleManager(); /** - * @brief Virtual destructor. + * @brief Destructor + * + * This is non-virtual since derived Handle types must not contain data or virtual methods. */ - virtual ~StyleManager(); + ~StyleManager(); /** * @brief Get the singleton of StyleManager object. @@ -162,14 +164,14 @@ public: public: // Signals /** - * @brief This signal is emitted whenever the theme is changed on device + * @brief This signal is emitted whenever the style (e.g. theme/font change) is changed on device * A callback of the following type may be connected: * @code - * void YourCallbackName( StyleManager styleManager ); + * void YourCallbackName( StyleManager styleManager, StyleChange change ); * @endcode * @return The signal to connect to. */ - ThemeChangeSignalType& ThemeChangeSignal(); + StyleChangeSignalType& StyleChangeSignal(); public: