1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#ifndef PLUGINADAPTER_H
#define PLUGINADAPTER_H
/* Compiz */
#include <core/core.h>
#include <sigc++/sigc++.h>
class PluginAdapter : public sigc::trackable
{
public:
static PluginAdapter * Default ();
static void Initialize (CompScreen *screen);
~PluginAdapter();
std::string * MatchStringForXids (std::list<Window> *windows);
void SetScaleAction (CompAction *scale);
void SetExpoAction (CompAction *expo);
void InitiateScale (std::string *match);
void InitiateExpo ();
protected:
PluginAdapter(CompScreen *screen);
private:
CompScreen *m_Screen;
CompAction *m_ExpoAction;
CompAction *m_ScaleAction;
static PluginAdapter *_default;
};
#endif
|