X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=base%2Fdali-toolkit%2Fpublic-api%2Fcontrols%2Fcontrol.cpp;h=d01ad830f2ed509764fe768a560c29adaf89a1ab;hp=58e293a913663dccd7403b6492850073885253a2;hb=9dd79332930150da4cf5c991e831684f052fd262;hpb=00ef589046a32c53d20de1c61af7cc69524e51dc diff --git a/base/dali-toolkit/public-api/controls/control.cpp b/base/dali-toolkit/public-api/controls/control.cpp index 58e293a..d01ad83 100644 --- a/base/dali-toolkit/public-api/controls/control.cpp +++ b/base/dali-toolkit/public-api/controls/control.cpp @@ -1,18 +1,19 @@ -// -// 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 #include @@ -24,7 +25,12 @@ namespace Toolkit { const char* const Control::ACTION_CONTROL_ACTIVATED = "control-activated"; + const char* const Control::SIGNAL_KEY_EVENT = "key-event"; +const char* const Control::SIGNAL_TAPPED = "tapped"; +const char* const Control::SIGNAL_PANNED = "panned"; +const char* const Control::SIGNAL_PINCHED = "pinched"; +const char* const Control::SIGNAL_LONG_PRESSED = "long-pressed"; Control Control::New() { @@ -178,31 +184,6 @@ Control::KeyEventSignalV2& Control::KeyEventSignal() return GetImplementation().KeyEventSignal(); } -/** - * @copydoc ConnectionTrackerInterface::SignalConnected - */ -void Control::SignalConnected( SlotObserver* slotObserver, CallbackBase* callback ) -{ - GetImplementation().SignalConnected(slotObserver, callback ); -} - -/** - * @copydoc ConnectionTrackerInterface::SignalDisconnected - */ -void Control::SignalDisconnected( SlotObserver* slotObserver, CallbackBase* callback ) -{ - GetImplementation().SignalDisconnected(slotObserver, callback ); -} - -/** - * @copydoc ConnectionTrackerInterface::GetConnectionCount - */ -std::size_t Control::GetConnectionCount() const -{ - return GetImplementation().GetConnectionCount( ); -} - - Control::Control(Internal::Control& implementation) : CustomActor(implementation) {