Initial Import
[profile/ivi/connman-qt.git] / plugin / 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 <networklist.h>
12 #include <networkitem.h>
13 #include <clockmodel.h>
14
15
16 void Components::registerTypes(const char *uri)
17 {
18         qmlRegisterType<NetworkListModel>(uri,0,1,"NetworkListModel");
19         qmlRegisterType<NetworkItemModel>(uri,0,1,"NetworkItemModel");
20         qmlRegisterType<ClockModel>(uri,0,1,"ClockModel");
21 }
22
23 void Components::initializeEngine(QDeclarativeEngine *engine, const char *uri)
24 {
25     Q_UNUSED(uri);
26         Q_UNUSED(engine);
27 }
28
29 Q_EXPORT_PLUGIN(Components);