X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Ftoolkit-style-monitor.h;h=8aa55e558c0d582630c15a5fe4b9c62e00d0ecaf;hb=2bba426880bd73a3b763623a3b32c3bd23b7dd90;hp=3eec7e1717de005a140ce6724859ef7522bb0ecd;hpb=fa6279fb2830427d5ab569ca14e6ade1557ef2fa;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-style-monitor.h b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-style-monitor.h index 3eec7e1..8aa55e5 100644 --- a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-style-monitor.h +++ b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-style-monitor.h @@ -1,21 +1,22 @@ #ifndef __DALI_TOOLKIT_TOOLKIT_STYLE_MONITOR_H__ #define __DALI_TOOLKIT_TOOLKIT_STYLE_MONITOR_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 #include @@ -23,8 +24,8 @@ // INTERNAL INCLUDES #define __DALI_STYLE_MONITOR_H__ #include -#include -#include +#include +#include namespace Dali { @@ -40,7 +41,7 @@ class StyleMonitor; class StyleMonitor : public BaseHandle { public: // Typedefs - typedef SignalV2< void (StyleMonitor, StyleChange) > StyleChangeSignalV2; + typedef Signal< void (StyleMonitor, StyleChange::Type) > StyleChangeSignalType; static const std::string DEFAULT_FONT_FAMILY; static const float DEFAULT_FONT_SIZE; @@ -48,9 +49,8 @@ public: // Creation & Destruction StyleMonitor(); StyleMonitor(const StyleMonitor& monitor); static StyleMonitor Get(); - virtual ~StyleMonitor(); + ~StyleMonitor(); static StyleMonitor DownCast( BaseHandle handle ); - using BaseHandle::operator=; public: // Style Information std::string GetDefaultFontFamily() const; @@ -59,8 +59,8 @@ public: // Style Information void SetTheme(std::string themeFilePath); public: // Signals - StyleChangeSignalV2& StyleChangeSignal(); - void EmitStyleChangeSignal(StyleChange handle); + StyleChangeSignalType& StyleChangeSignal(); + void EmitStyleChangeSignal(StyleChange::Type handle); public: // Operators StyleMonitor& operator=(const StyleMonitor& monitor);