test_algorithm_plugin.cpp

00001 #include <QtGui>
00002 #include <QWidget>
00003 #include <math.h>
00004 #include <stdlib.h>
00005 #include <iostream>
00006 #include "test_algorithm.h"
00007 #include "test_configwidget.h"
00008 #include "test_configuration.h"
00009 
00010 #include "test_algorithm_plugin.h"
00011 
00012 namespace imedgine
00013 {
00014   //--------------------------------------------------
00015 
00016   Algorithm* TestAlgorithmPlugin::getAlgorithm() const
00017   {
00018     return new TestAlgorithm;
00019   }
00020   
00021   //--------------------------------------------------
00022   
00023   ConfigWidget* TestAlgorithmPlugin::getConfigWidget() const
00024   {
00025     std::cout << "returning config widget " << std::endl;
00026     return new TestConfigWidget;
00027   }
00028   
00029   //--------------------------------------------------
00030   
00031   Configuration* TestAlgorithmPlugin::getConfiguration() const
00032   {
00033     return new TestConfiguration;
00034   }
00035   
00036   Q_EXPORT_PLUGIN2(imedgine_test_algorithm, TestAlgorithmPlugin)
00037 
00038 }

Generated on Sun Aug 13 18:19:37 2006 for iMEDgine by  doxygen 1.4.6