summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@compiz-fusion.org>2009-03-15 16:40:37 +0100
committerDennis kasprzyk <onestone@compiz-fusion.org>2009-03-15 16:40:37 +0100
commit29c5b8f0b0b0d5619d15536e2350c9cd876294c6 (patch)
tree217e6ec161de0712c5c8103fa72f225c2ba92896
parente53039517058f27329feb72b237d3f46a9a03d8d (diff)
downloadzcomp-29c5b8f0b0b0d5619d15536e2350c9cd876294c6.tar.gz
zcomp-29c5b8f0b0b0d5619d15536e2350c9cd876294c6.tar.bz2
Use CompOption::Class.
-rw-r--r--xslt/bcop.xslt10
1 files changed, 5 insertions, 5 deletions
diff --git a/xslt/bcop.xslt b/xslt/bcop.xslt
index 1f2c395..3082cd5 100644
--- a/xslt/bcop.xslt
+++ b/xslt/bcop.xslt
@@ -933,7 +933,7 @@ inline void
<xsl:template name="printClass">
<xsl:text>class </xsl:text>
<xsl:value-of select="$Plugin"/>
- <xsl:text>Options {
+ <xsl:text>Options : public CompOption::Class {
public:
</xsl:text>
<xsl:call-template name="printOptionsEnum"/>
@@ -948,8 +948,8 @@ inline void
<xsl:value-of select="$Plugin"/>
<xsl:text>Options ();
- virtual CompOption::Vector &amp; getOptions ();
- virtual bool setOption (const char *name, CompOption::Value &amp;value);
+ virtual CompOption::Vector &amp; getOptions () const;
+ virtual bool setOption (const CompString &amp;name, CompOption::Value &amp;value);
</xsl:text>
<xsl:for-each select="/compiz/plugin[@name=$pName]/descendant-or-self::option">
@@ -1068,7 +1068,7 @@ inline void
CompOption::Vector &amp;
</xsl:text>
<xsl:value-of select="$Plugin"/>
- <xsl:text>Options::getOptions ()
+ <xsl:text>Options::getOptions () const
{
return mOptions;
}
@@ -1076,7 +1076,7 @@ CompOption::Vector &amp;
bool
</xsl:text>
<xsl:value-of select="$Plugin"/>
- <xsl:text>Options::setOption (const char *name, CompOption::Value &amp;value)
+ <xsl:text>Options::setOption (const CompString &amp;name, CompOption::Value &amp;value)
{
</xsl:text>
<xsl:call-template name="setOptions"/>