Initial Import
[profile/ivi/bluetooth-qt.git] / declarative / components.cpp
1 /*
2  * Copyright 2011 Intel Corporation.
3  *
4  * This program is licensed under the terms and conditions of the
5  * Apache License, version 2.0.  The full text of the Apache License is at 
6  * http://www.apache.org/licenses/LICENSE-2.0
7  */
8
9 #include "components.h"
10
11 #include <nearbydevicesmodel.h>
12 #include <bluetoothdevice.h>
13 #include <bluetoothdevicemodel.h>
14
15 void Components::registerTypes(const char *uri)
16 {
17     qmlRegisterType<NearbyDevicesModel>(uri,0,0,"NearbyDevicesModel");
18     qmlRegisterType<BluetoothDevice>(uri,0,0,"BluetoothDevice");
19     qmlRegisterType<BluetoothDevicesModel>(uri,0,0,"BluetoothDevicesModel");
20 }
21
22 void Components::initializeEngine(QDeclarativeEngine *engine, const char *uri)
23 {
24     Q_UNUSED(uri);
25     Q_UNUSED(engine);
26 }
27
28 Q_EXPORT_PLUGIN(Components);