~ubuntu-branches/ubuntu/trusty/compiz/trusty

« back to all changes in this revision

Viewing changes to plugins/ccp/src/ccp.h

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2013-08-22 06:58:07 UTC
  • mto: This revision was merged to the branch mainline in revision 3352.
  • Revision ID: package-import@ubuntu.com-20130822065807-17nlzez0d30y09so
Tags: upstream-0.9.10+13.10.20130822
ImportĀ upstreamĀ versionĀ 0.9.10+13.10.20130822

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
extern "C" {
 
21
extern "C"
 
22
{
22
23
#include <string.h>
23
24
#include <stdio.h>
24
25
#include <stdlib.h>
36
37
    public PluginClassHandler<CcpScreen,CompScreen>
37
38
{
38
39
    public:
 
40
 
39
41
        CcpScreen (CompScreen *screen);
40
42
        ~CcpScreen ();
41
43
 
42
44
        bool initPluginForScreen (CompPlugin *p);
43
45
 
44
 
        bool setOptionForPlugin (const char *plugin,
45
 
                                 const char *name,
 
46
        bool setOptionForPlugin (const char        *plugin,
 
47
                                 const char        *name,
46
48
                                 CompOption::Value &v);
47
49
 
48
50
        bool timeout ();
49
51
        bool reload ();
50
52
 
51
 
        void setOptionFromContext (CompOption *o, const char *plugin);
52
 
        void setContextFromOption (CompOption *o, const char *plugin);
 
53
        void setOptionFromContext (CompOption *o,
 
54
                                   const char *plugin);
 
55
 
 
56
        void setContextFromOption (CompOption *o,
 
57
                                   const char *plugin);
53
58
 
54
59
 
55
60
    public:
 
61
 
56
62
        CCSContext  *mContext;
57
63
        bool        mApplyingSettings;
58
64
 
59
 
        CompTimer mTimeoutTimer;
60
 
        CompTimer mReloadTimer;
 
65
        CompTimer   mTimeoutTimer;
 
66
        CompTimer   mReloadTimer;
61
67
};
62
68
 
63
69
class CcpPluginVTable :