aae2d7df9788695720ec329660a6a761dd9b77fc
[platform/core/uifw/dali-toolkit.git] / automated-tests / src / dali-toolkit / dali-toolkit-test-utils / toolkit-physical-keyboard.h
1 #ifndef __DALI_TOOLKIT_PHYSICAL_KEYBOARD_H__
2 #define __DALI_TOOLKIT_PHYSICAL_KEYBOARD_H__
3
4 //
5 // Copyright (c) 2014 Samsung Electronics Co., Ltd.
6 //
7 // Licensed under the Flora License, Version 1.0 (the License);
8 // you may not use this file except in compliance with the License.
9 // You may obtain a copy of the License at
10 //
11 //     http://floralicense.org/license/
12 //
13 // Unless required by applicable law or agreed to in writing, software
14 // distributed under the License is distributed on an AS IS BASIS,
15 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 // See the License for the specific language governing permissions and
17 // limitations under the License.
18 //
19
20 // EXTERNAL INCLUDES
21 #include <string>
22 #include <dali/public-api/object/base-handle.h>
23 #include <dali/public-api/signals/dali-signal-v2.h>
24
25 namespace Dali
26 {
27 namespace Internal
28 {
29 namespace Adaptor
30 {
31 class PhysicalKeyboard;
32 }
33 }
34
35 class PhysicalKeyboard : public BaseHandle
36 {
37 public:
38   typedef SignalV2< void (PhysicalKeyboard) > Signal;
39   PhysicalKeyboard();
40   virtual ~PhysicalKeyboard();
41   static PhysicalKeyboard Get();
42   bool IsAttached() const;
43   Signal& StatusChangedSignal();
44   PhysicalKeyboard( Internal::Adaptor::PhysicalKeyboard* impl );
45 };
46
47
48 } // namespace Dali
49
50 #endif // __DALI_TOOLKIT_PHYSICAL_KEYBOARD_H__