[Kde-bindings] KDE/kdebindings/csharp/plasma
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Mon Jul 7 10:42:33 UTC 2008
SVN commit 829039 by rdale:
* Added a tiger example C# applet. It wasn't possible to build an executable
called 'main' as mono gave an error about it not having an extension.
Maybe some sort of special cmake macro is needed for building C# plasmoids.
CCMAIL: kde-bindings at kde.org
M +5 -0 ChangeLog
M +2 -1 src/PlasmaScriptengineKimono_Applet.cs
--- trunk/KDE/kdebindings/csharp/plasma/ChangeLog #829038:829039
@@ -1,3 +1,8 @@
+2008-07-07 Richard Dale <richard.j.dale at gmail.com>
+* Added a tiger example C# applet. It wasn't possible to build an executable
+ called 'main' as mono gave an error about it not having an extension.
+ Maybe some sort of special cmake macro is needed for building C# plasmoids.
+
2008-07-06 Arno Rehn <arno at arnorehn.de>
* Moved the PlasmaScripting.* classes back into the main plasma assembly,
--- trunk/KDE/kdebindings/csharp/plasma/src/PlasmaScriptengineKimono_Applet.cs #829038:829039
@@ -42,9 +42,10 @@
QFileInfo program = new QFileInfo(MainScript());
appletAssembly = Assembly.LoadFile(program.AbsoluteFilePath());
-
+ Console.WriteLine("Loading main script {0}", program.AbsoluteFilePath());
string typeName = Camelize(Package().Metadata().PluginName()) + "."; // namespace
typeName += Camelize(program.CompleteBaseName());
+ Console.WriteLine("GetType() for {0}", typeName);
appletType = appletAssembly.GetType(typeName);
applet = (PlasmaScripting.Applet) Activator.CreateInstance(appletType, new object[] { this });
More information about the Kde-bindings
mailing list