/usr/include/compiz/animation/extensionplugin.h is in compiz-dev 1:0.9.12.2+16.04.20160415-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | #ifndef ANIMATION_EXTENSIONPLUGIN_H
#define ANIMATION_EXTENSIONPLUGIN_H
#include "animation.h"
class ExtensionPluginInfo
{
public:
ExtensionPluginInfo (const CompString &name,
unsigned int nEffects,
AnimEffect *effects,
CompOption::Vector *effectOptions,
unsigned int firstEffectOptionIndex);
virtual ~ExtensionPluginInfo () {}
CompString name;
unsigned int nEffects;
AnimEffect *effects;
/// Plugin options to be used in "effect options" strings.
CompOption::Vector *effectOptions;
/// Index of first effect option.
unsigned int firstEffectOptionIndex;
// More general and/or non-window functions (including functions that access
// persistent animation data) to be overriden
/// To be run at the beginning of glPaintOutput.
virtual void prePaintOutput (CompOutput *output) {}
/// To be run at the beginning of preparePaint.
virtual void prePreparePaintGeneral () {}
/// To be run at the end of preparePaint.
virtual void postPreparePaintGeneral () {}
/// To be run when a CompWindowNotifyRestack is handled.
virtual void handleRestackNotify (AnimWindow *aw) {}
/// To be run at the beginning of initiateOpenAnim.
virtual void preInitiateOpenAnim (AnimWindow *aw) {}
/// To be run at the beginning of initiateCloseAnim.
virtual void preInitiateCloseAnim (AnimWindow *aw) {}
/// To be run at the beginning of initiateMinimizeAnim.
virtual void preInitiateMinimizeAnim (AnimWindow *aw) {}
/// To be run at the beginning of initiateUnminimizeAnim.
virtual void preInitiateUnminimizeAnim (AnimWindow *aw) {}
/// Initializes plugin's persistent animation data for a window (if any).
virtual void initPersistentData (AnimWindow *aw) {}
/// Destroys plugin's persistent animation data for a window (if any).
virtual void destroyPersistentData (AnimWindow *aw) {}
/// To be run at the end of updateEventEffects.
virtual void postUpdateEventEffects (AnimEvent e,
bool forRandom) {}
/// To be run after the startup countdown ends.
virtual void postStartupCountdown () {}
virtual bool paintShouldSkipWindow (CompWindow *w) { return false; }
virtual void cleanUpAnimation (bool closing,
bool destructing) {}
virtual void processAllRestacks () {}
};
#endif
|