-//
-// 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.
+ *
+ */
#include "dummy-control.h"
{
DummyControl::DummyControl()
-: mCustomSlot1Called(false)
{
}
DummyControl::DummyControl(const DummyControl& control)
-: Control( control ),
- mCustomSlot1Called(false),
- mCustomSlot1Value(Vector3::ZERO)
+: Control( control )
{
}
}
// Used to test signal connections
-void DummyControl::CustomSlot1( Actor actor, const Vector3& value )
+void DummyControlImpl::CustomSlot1( Actor actor, const Vector3& value )
{
mCustomSlot1Called = true;
mCustomSlot1Value = value;
}
DummyControlImpl::DummyControlImpl()
-: Control( ControlBehaviour( REQUIRES_TOUCH_EVENTS | REQUIRES_STYLE_CHANGE_SIGNALS ) )
+: Control( ControlBehaviour( REQUIRES_TOUCH_EVENTS | REQUIRES_STYLE_CHANGE_SIGNALS ) ),
+ mCustomSlot1Called(false),
+ mCustomSlot1Value(Vector3::ZERO)
{
}
+
DummyControlImpl::~DummyControlImpl()
{
}
}
DummyControl::DummyControl( DummyControlImpl& implementation )
-: Control( implementation ),
- mCustomSlot1Called(false),
- mCustomSlot1Value(Vector3::ZERO)
+: Control( implementation )
{
}
DummyControl::DummyControl( Dali::Internal::CustomActor* internal )
-: Control( internal ),
- mCustomSlot1Called(false),
- mCustomSlot1Value(Vector3::ZERO)
+: Control( internal )
{
VerifyCustomActorPointer<DummyControlImpl>(internal);
}