aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/LPPlugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-desktop/panel-plugins/LPPlugin.h')
-rw-r--r--lumina-desktop/panel-plugins/LPPlugin.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/lumina-desktop/panel-plugins/LPPlugin.h b/lumina-desktop/panel-plugins/LPPlugin.h
index dc1c490e..dd869bf6 100644
--- a/lumina-desktop/panel-plugins/LPPlugin.h
+++ b/lumina-desktop/panel-plugins/LPPlugin.h
@@ -46,6 +46,11 @@ public:
QString type(){
return plugintype;
}
+
+ virtual void AboutToClose(){
+ //This needs to be re-implemented in the subclasses plugin
+ //This is for any last-minute cleanup before the plugin gets deleted
+ }
public slots:
virtual void LocaleChange(){
@@ -61,9 +66,6 @@ public slots:
//This is where any horizontal/vertical orientations can be changed appropriately
}
- /*virtual void ResetMouseFocus(){
- //
- }*/
};
#endif \ No newline at end of file
bgstack15