defuze.me  Client
lastfmplugin.cpp
00001 /**************************************************************************
00002 ** defuze.me Epitech Innovative Project
00003 **
00004 ** Copyright 2010-2011
00005 **   Athena Calmettes - Jocelyn De La Rosa - Francois Gaillard
00006 **   Adrien Jarthon - Alexandre Moore - Luc Peres - Arnaud Sellier
00007 **
00008 ** All rights reserved.
00009 **************************************************************************/
00010 
00011 #include "lastfmplugin.hpp"
00012 
00013 using namespace Lastfm;
00014 
00015 LastfmPlugin::LastfmPlugin()
00016 {
00017     widget = new LastfmWidget;
00018 
00019     Gui::Module *lastfmModule = Gui::ModuleFactory::create("lastfm", QPoint(0, 0), widget, 2);
00020     lastfmModule->submitForDisplay();
00021 
00022     Gui::Module *tmp = Gui::ModuleFactory::create("tmp", QPoint(1, 0), new Gui::ModuleWidget, 2);
00023     tmp->submitForDisplay();
00024 
00025     Gui::Module *tmp2 = Gui::ModuleFactory::create("tmp2", QPoint(2, 0), new Gui::ModuleWidget, 2);
00026     tmp2->submitForDisplay();
00027 }
00028 
00029 void LastfmPlugin::init()
00030 {
00031 
00032 }