Add Wayland support.
[platform/core/uifw/dali-toolkit.git] / automated-tests / TET / dali-test-suite / control / dummy-control.h
index 18c10f9..e4b9de1 100644 (file)
@@ -1,21 +1,22 @@
 #ifndef __DALI_TOOLKIT_TEST_DUMMY_CONTROL_H__
 #define __DALI_TOOLKIT_TEST_DUMMY_CONTROL_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.
+ *
+ */
 
 // INTERNAL INCLUDES
 #include <dali-toolkit/dali-toolkit.h>
@@ -138,7 +139,8 @@ private:
   DummyControlImplOverride()
   : DummyControlImpl(),
     initializeCalled(false),
-    styleChangeCalled(false),
+    themeChangeCalled(false),
+    fontChangeCalled( false ),
     pinchCalled(false),
     panCalled(false),
     tapCalled(false),
@@ -162,7 +164,8 @@ private:
 private: // From ControlImpl
 
   virtual void OnInitialize() { initializeCalled = true; }
-  virtual void OnStyleChange(StyleChange change) { styleChangeCalled = true;}
+  virtual void OnThemeChange( StyleManager styleManager ) { themeChangeCalled = true }
+  virtual void OnFontChange( bool defaultFontChange, bool defaultFontSizeChange ) { fontChangeCalled = true;}
   virtual void OnPinch(PinchGesture pinch) { pinchCalled = true; }
   virtual void OnPan(PanGesture pan) { panCalled = true; }
   virtual void OnTap(TapGesture tap) { tapCalled = true; }
@@ -185,7 +188,8 @@ private: // From CustomActorImpl
 public:
 
   bool initializeCalled;
-  bool styleChangeCalled;
+  bool themeChangeCalled;
+  bool fontChangeCalled;
   bool pinchCalled;
   bool panCalled;
   bool tapCalled;