summaryrefslogtreecommitdiff
path: root/src/screen.cpp
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-03-14 10:18:02 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-03-14 10:18:02 -0500
commite3f9970accd581f5edc738bb06ac2fca7e8c131e (patch)
treebcf1df11cf3179186632b37fddb4fc22ea9aa418 /src/screen.cpp
parent28e45c55c11e20206d3bc9056aea8fc7f1b7a0e7 (diff)
downloadunity-window-decorator-e3f9970accd581f5edc738bb06ac2fca7e8c131e.tar.gz
unity-window-decorator-e3f9970accd581f5edc738bb06ac2fca7e8c131e.tar.bz2
Rename Private* -> PluginClass* where appropriate.
To improve/correct the meaning of some class and file names, this commit renames: core/privatehandler.h -> core/pluginclasshandler.h core/privates.h -> core/pluginclasses.h CompPrivateStorage -> PluginClassStorage PrivateHandler -> PluginClassHandler *PrivateIndex -> *PluginClassIndex
Diffstat (limited to 'src/screen.cpp')
-rw-r--r--src/screen.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/screen.cpp b/src/screen.cpp
index 2b64b52..e4c0f07 100644
--- a/src/screen.cpp
+++ b/src/screen.cpp
@@ -92,26 +92,26 @@ CompScreen *screen;
#define NUM_OPTIONS(s) (sizeof ((s)->priv->opt) / sizeof (CompOption))
-CompPrivateStorage::Indices screenPrivateIndices (0);
+PluginClassStorage::Indices screenPluginClassIndices (0);
int
-CompScreen::allocPrivateIndex ()
+CompScreen::allocPluginClassIndex ()
{
- int i = CompPrivateStorage::allocatePrivateIndex (screenPrivateIndices);
+ int i = PluginClassStorage::allocatePluginClassIndex (screenPluginClassIndices);
- if (screenPrivateIndices.size () != screen->privates.size ())
- screen->privates.resize (screenPrivateIndices.size ());
+ if (screenPluginClassIndices.size () != screen->pluginClasses.size ())
+ screen->pluginClasses.resize (screenPluginClassIndices.size ());
return i;
}
void
-CompScreen::freePrivateIndex (int index)
+CompScreen::freePluginClassIndex (int index)
{
- CompPrivateStorage::freePrivateIndex (screenPrivateIndices, index);
+ PluginClassStorage::freePluginClassIndex (screenPluginClassIndices, index);
- if (screenPrivateIndices.size () != screen->privates.size ())
- screen->privates.resize (screenPrivateIndices.size ());
+ if (screenPluginClassIndices.size () != screen->pluginClasses.size ())
+ screen->pluginClasses.resize (screenPluginClassIndices.size ());
}
#define TIMEVALDIFF(tv1, tv2) \
@@ -4210,7 +4210,7 @@ CompScreen::screenInfo ()
}
CompScreen::CompScreen ():
- CompPrivateStorage (screenPrivateIndices)
+ PluginClassStorage (screenPluginClassIndices)
{
priv = new PrivateScreen (this);
assert (priv);