mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Merging new panel in the trunk.
This commit is contained in:
29
ede-panel/AppletManager.h
Normal file
29
ede-panel/AppletManager.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#ifndef __APPLETMANAGER_H__
|
||||
#define __APPLETMANAGER_H__
|
||||
|
||||
#include <edelib/List.h>
|
||||
#include <edelib/String.h>
|
||||
#include "Applet.h"
|
||||
|
||||
class Panel;
|
||||
class Fl_Widget;
|
||||
struct AppletData;
|
||||
|
||||
typedef edelib::list<AppletData*> AList;
|
||||
typedef edelib::list<AppletData*>::iterator AListIter;
|
||||
|
||||
class AppletManager {
|
||||
private:
|
||||
AList applet_list;
|
||||
public:
|
||||
~AppletManager();
|
||||
bool load(const char *path);
|
||||
void clear(void);
|
||||
void fill_group(Panel *p);
|
||||
void unfill_group(Panel *p);
|
||||
|
||||
bool get_applet_options(Fl_Widget *o, unsigned long &opts);
|
||||
unsigned int napplets(void) const { return applet_list.size(); }
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user