summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-03-14 10:27:52 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-03-14 10:27:52 -0500
commitb090a130644ad2520f9650777241085a06e0439b (patch)
tree1740c9381bd614807ba08fa9164a83c7c1260a92
parentb1b9a88d68b3a11320b88c0a43d4940066a1ebe2 (diff)
downloadautoresize-b090a130644ad2520f9650777241085a06e0439b.tar.gz
autoresize-b090a130644ad2520f9650777241085a06e0439b.tar.bz2
Track core changes.
-rw-r--r--snap.cpp4
-rw-r--r--snap.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/snap.cpp b/snap.cpp
index f727c95..d2ffabc 100644
--- a/snap.cpp
+++ b/snap.cpp
@@ -789,7 +789,7 @@ SnapScreen::optionChanged (CompOption *opt, SnapOptions::Options num)
}
SnapScreen::SnapScreen (CompScreen *screen) :
- PrivateHandler <SnapScreen, CompScreen> (screen),
+ PluginClassHandler <SnapScreen, CompScreen> (screen),
SnapOptions (snapVTable->getMetadata ()),
snapping (true),
avoidSnapMask (0)
@@ -803,7 +803,7 @@ SnapScreen::SnapScreen (CompScreen *screen) :
}
SnapWindow::SnapWindow (CompWindow *window) :
- PrivateHandler <SnapWindow, CompWindow> (window),
+ PluginClassHandler <SnapWindow, CompWindow> (window),
window (window),
snapDirection (0),
m_dx (0),
diff --git a/snap.h b/snap.h
index 266216a..2c70559 100644
--- a/snap.h
+++ b/snap.h
@@ -29,7 +29,7 @@
#include <vector>
#include <core/core.h>
-#include <core/privatehandler.h>
+#include <core/pluginclasshandler.h>
#include "snap_options.h"
@@ -86,7 +86,7 @@ typedef struct
class SnapScreen :
public ScreenInterface,
- public PrivateHandler <SnapScreen, CompScreen>,
+ public PluginClassHandler <SnapScreen, CompScreen>,
public SnapOptions
{
public:
@@ -108,7 +108,7 @@ class SnapScreen :
class SnapWindow :
public WindowInterface,
- public PrivateHandler <SnapWindow, CompWindow>
+ public PluginClassHandler <SnapWindow, CompWindow>
{
public:
SnapWindow (CompWindow *window);