summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2011-06-17 10:32:28 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2011-06-17 10:32:28 +0800
commit8e2c48c5f45873ac250405da3f4478dd27780fe9 (patch)
treea83067d83cb283d763d11bde996564a4553fb318
parent694e7246065269b12319441cb1471f4b1d6f181a (diff)
downloadcompositionkit-8e2c48c5f45873ac250405da3f4478dd27780fe9.tar.gz
compositionkit-8e2c48c5f45873ac250405da3f4478dd27780fe9.tar.bz2
Have a separate xml file for the service
-rw-r--r--ckservice/ckservice.xml70
1 files changed, 70 insertions, 0 deletions
diff --git a/ckservice/ckservice.xml b/ckservice/ckservice.xml
new file mode 100644
index 0000000..24719c1
--- /dev/null
+++ b/ckservice/ckservice.xml
@@ -0,0 +1,70 @@
+<node>
+ <interface name='com.canonical.CompositionKit.Service'>
+
+ <method name='AddSurface'>
+ <arg type='i' name='id' direction='in'/>
+ </method>
+
+ <method name='AddShader'>
+ <arg type='s' name='shader_name' direction='in'/>
+ <arg type='i' name='id' direction='in'/>
+ </method>
+
+ <method name='AddUniform'>
+ <arg type='s' name='uniform_name' direction='in'/>
+ <arg type='s' name='uniform_type' direction='in'/>
+ <arg type='s' name='shader_name' direction='in'/>
+ <arg type='i' name='id' direction='in'/>
+ </method>
+
+ <method name='AddAttribute'>
+ <arg type='s' name='attribute_name' direction='in'/>
+ <arg type='s' name='attribute_type' direction='in'/>
+ <arg type='s' name='shader_name' direction='in'/>
+ <arg type='i' name='id' direction='in'/>
+ </method>
+
+ <method name='SetShaderSource'>
+ <arg type='s' name='shader_source' direction='in'/>
+ <arg type='s' name='shader_name' direction='in'/>
+ <arg type='i' name='id' direction='in'/>
+ </method>
+
+ <method name='GetShaderSource'>
+ <arg type='s' name='shader_source' direction='out'/>
+ <arg type='s' name='shader_name' direction='in'/>
+ <arg type='i' name='id' direction='in'/>
+ </method>
+
+ <method name='RemoveAttribute'>
+ <arg type='s' name='attribute_name' direction='in'/>
+ <arg type='s' name='attribute_name' direction='in'/>
+ <arg type='i' name='id' direction='in'/>
+ </method>
+
+ <method name='RemoveUniform'>
+ <arg type='s' name='uniform_name' direction='in'/>
+ <arg type='s' name='shader_name' direction='in'/>
+ <arg type='i' name='id' direction='in'/>
+ </method>
+
+ <method name='RemoveShader'>
+ <arg type='s' name='shader_name' direction='in'/>
+ <arg type='i' name='id' direction='in'/>
+ </method>
+
+ <method name='RemoveSurface'>
+ <arg type='i' name='id' direction='in'/>
+ </method>
+
+ <method name='ListSurfaces'>
+ <arg type='ai' name='surfaces' direction='out'/>
+ </method>
+
+ <method name='ListShaders'>
+ <arg type='i' name='id' direction='in'/>
+ <arg type='as' name='shaders' direction='out'/>
+ </method>
+
+ </interface>
+</node>