Applied latest source code
[apps/native/preloaded/Settings.git] / inc / StIBluetoothPresentationModelEventListener.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
4 // Licensed under the Flora License, Version 1.1 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 //     http://floralicense.org/license/
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an AS IS BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16
17 /**
18  * @file                StIBluetoothPresentationModelEventListener.h
19  * @brief               This is the header file for Bluetooth Presentation Model Event Listener class.
20  */
21
22 #ifndef _ST_IBLUETOOTH_PRESENTATION_MODEL_EVENT_LISTENER_H_
23 #define _ST_IBLUETOOTH_PRESENTATION_MODEL_EVENT_LISTENER_H_
24
25 #include <FNetBluetooth.h>
26
27 enum BluetoothPresentationModelEvent
28 {
29         BLUETOOTH_PRESENTATION_MODEL_EVENT_BASE,
30         BLUETOOTH_PRESENTATION_MODEL_EVENT_ACTIVATING,
31         BLUETOOTH_PRESENTATION_MODEL_EVENT_ACTIVATED,
32         BLUETOOTH_PRESENTATION_MODEL_EVENT_DEACTIVATING,
33         BLUETOOTH_PRESENTATION_MODEL_EVENT_DEACTIVATED,
34         BLUETOOTH_PRESENTATION_MODEL_EVENT_DISCOVERY_DONE,
35         BLUETOOTH_PRESENTATION_MODEL_EVENT_DISCOVERY_EXIT,
36         BLUETOOTH_PRESENTATION_MODEL_EVENT_DISCOVERY_CANCELED,
37         BLUETOOTH_PRESENTATION_MODEL_EVENT_DISCOVERY_STARTING,
38         BLUETOOTH_PRESENTATION_MODEL_EVENT_CANCEL_DISCOVERYING,
39         BLUETOOTH_PRESENTATION_MODEL_EVENT_DISCOVERY_STARTED,
40         BLUETOOTH_PRESENTATION_MODEL_EVENT_PAIRED,
41         BLUETOOTH_PRESENTATION_MODEL_EVENT_PAIRING,
42         BLUETOOTH_PRESENTATION_MODEL_EVENT_PAIR_CANCELLING,
43         BLUETOOTH_PRESENTATION_MODEL_EVENT_PAIRING_FAILED,
44         BLUETOOTH_PRESENTATION_MODEL_EVENT_REMOTE_DEVICE_FOUND,
45         BLUETOOTH_PRESENTATION_MODEL_EVENT_VISIBLE_MODE_CHANGING,
46         BLUETOOTH_PRESENTATION_MODEL_EVENT_VISIBLE_MODE_CHANGED,
47         BLUETOOTH_PRESENTATION_MODEL_EVENT_UNPAIRED,
48         BLUETOOTH_PRESENTATION_MODEL_EVENT_UNPAIRING,
49         BLUETOOTH_PRESENTATION_MODEL_EVENT_MAX
50 };
51
52 class IBluetoothPresentationModelEventListener
53         : public Tizen::Base::Runtime::IEventListener
54 {
55 public:
56         virtual ~IBluetoothPresentationModelEventListener(void){}
57         virtual void OnBluetoothPresentationModelEventCompletedN(BluetoothPresentationModelEvent bluetoothEvent, result r, Tizen::Net::Bluetooth::BluetoothDevice* pDevice = null) = 0;
58 };
59
60 #endif // _ST_IBLUETOOTH_PRESENTATION_MODEL_EVENT_LISTENER_H_