[Kde-bindings] KDE/kdebindings/csharp/kimono
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Tue Jun 17 08:49:13 UTC 2008
SVN commit 821367 by rdale:
2008-06-17 Richard Dale <richard.j.dale at gmail.com>
* Added marshallers for the various types of lists in the KDE classes
CCMAIL: kde-bindings at kde.org
M +2 -2 CMakeLists.txt
A ChangeLog
A src/kdehandlers.cpp [License: GPL (v2+)]
M +4 -0 src/kimono.cpp
--- trunk/KDE/kdebindings/csharp/kimono/CMakeLists.txt #821366:821367
@@ -8,12 +8,12 @@
${CMAKE_CURRENT_SOURCE_DIR}/sonnet/*.cs
${CMAKE_CURRENT_SOURCE_DIR}/kns/*.cs)
-SET(SRC_CPP src/kimono.cpp)
+SET(SRC_KIMONO src/kimono.cpp src/kdehandlers.cpp)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/smoke
${CMAKE_CURRENT_SOURCE_DIR}/../qyoto/src ${QT_INCLUDES})
LINK_DIRECTORIES (${LIBRARY_OUTPUT_PATH})
-KDE4_ADD_LIBRARY(kimono MODULE ${SRC_CPP})
+KDE4_ADD_LIBRARY(kimono MODULE ${SRC_KIMONO})
ADD_DEPENDENCIES(kimono smokekde)
TARGET_LINK_LIBRARIES(kimono smokekde qyotoshared ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})
--- trunk/KDE/kdebindings/csharp/kimono/src/kimono.cpp #821366:821367
@@ -43,6 +43,8 @@
return false;
}
+extern TypeHandler KDE_handlers[];
+
extern "C" {
extern Q_DECL_EXPORT void Init_kimono();
@@ -64,6 +66,8 @@
QyotoModule module = { "Kimono", resolve_classname_KDE, IsContainedInstanceKDE };
qyoto_modules[kde_Smoke] = module;
+
+ install_handlers(KDE_handlers);
}
}
More information about the Kde-bindings
mailing list