X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Ftoolkit-physical-keyboard.h;h=411964016b5e9733434b62f00234dcf634c94ce9;hp=aae2d7df9788695720ec329660a6a761dd9b77fc;hb=7dbe383e1d72909ceb2ef46e33b880243911df7e;hpb=fa6279fb2830427d5ab569ca14e6ade1557ef2fa diff --git a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-physical-keyboard.h b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-physical-keyboard.h index aae2d7d..4119640 100644 --- a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-physical-keyboard.h +++ b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-physical-keyboard.h @@ -1,26 +1,27 @@ -#ifndef __DALI_TOOLKIT_PHYSICAL_KEYBOARD_H__ -#define __DALI_TOOLKIT_PHYSICAL_KEYBOARD_H__ +#ifndef DALI_TOOLKIT_PHYSICAL_KEYBOARD_H +#define DALI_TOOLKIT_PHYSICAL_KEYBOARD_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) 2019 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 #include -#include +#include namespace Dali { @@ -35,16 +36,16 @@ class PhysicalKeyboard; class PhysicalKeyboard : public BaseHandle { public: - typedef SignalV2< void (PhysicalKeyboard) > Signal; + typedef Signal< void (PhysicalKeyboard) > PhysicalKeyboardSignalType; PhysicalKeyboard(); - virtual ~PhysicalKeyboard(); + ~PhysicalKeyboard(); static PhysicalKeyboard Get(); bool IsAttached() const; - Signal& StatusChangedSignal(); + PhysicalKeyboardSignalType& StatusChangedSignal(); PhysicalKeyboard( Internal::Adaptor::PhysicalKeyboard* impl ); }; } // namespace Dali -#endif // __DALI_TOOLKIT_PHYSICAL_KEYBOARD_H__ +#endif // DALI_TOOLKIT_PHYSICAL_KEYBOARD_H