X-Git-Url: http://git.maemo.org/git/?p=qtmads;a=blobdiff_plain;f=src%2FSOMA%2FSOMA_servicepluginloader.cpp;fp=src%2FSOMA%2FSOMA_servicepluginloader.cpp;h=4b7492d36d5c02ef0ea197ce353b1123ab4f893c;hp=0000000000000000000000000000000000000000;hb=e494cd05f1809789fd03d888c5592753d04f2031;hpb=4c87a3c868d40870d0eed21fb6e01c014acd3062 diff --git a/src/SOMA/SOMA_servicepluginloader.cpp b/src/SOMA/SOMA_servicepluginloader.cpp new file mode 100644 index 0000000..4b7492d --- /dev/null +++ b/src/SOMA/SOMA_servicepluginloader.cpp @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2009 Eetu Lehmusvuo. + * + * This file is part of QtMAds. + * + * QtMAds is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * QtMAds is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with QtMAds. If not, see . + * + */ + +#include "SOMA_servicepluginloader.h" + +#include + +#include "SOMA_serviceplugin.h" + +QtmadsService* SomaServicePluginLoader::loadService() +{ + SomaServicePlugin *plug = new SomaServicePlugin(); + + return plug; +}; + +Q_EXPORT_PLUGIN2(SOMA_servicepluginloader, SomaServicePluginLoader);