add function to integrate plugins

TODO: maybe find a solution without void *pluginsExec
Thanks to micha-bbg and SatBaby


Origin commit data
------------------
Branch: ni/coolstream
Commit: 1b5a30c326
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-09-28 (Sun, 28 Sep 2014)

Origin message was:
------------------
- add function to integrate plugins

TODO: maybe find a solution without void *pluginsExec
Thanks to micha-bbg and SatBaby


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2014-09-28 22:03:42 +02:00
committed by [CST] Focus
parent 64d36e75b7
commit b8b5f4f4ef
3 changed files with 2342 additions and 0 deletions

View File

@@ -42,6 +42,7 @@
#include <gui/widget/buttons.h>
#include <gui/widget/icons.h>
#include <gui/color.h>
#include <gui/plugins.h>
#include <gui/components/cc.h>
#include <string>
#include <vector>
@@ -556,6 +557,7 @@ class CMenuWidget : public CMenuTarget
virtual void hide();
virtual int exec(CMenuTarget* parent, const std::string & actionKey);
virtual const char *getName();
virtual void integratePlugins(void *pluginsExec, CPlugins::i_type_t integration);
void setSelected(const int &Preselected){ preselected = Preselected; };
int getSelected()const { return selected; };
void move(int xoff, int yoff);