Examples for Open C Libraries |
This example demonstrates a simple method of receiving events from Glib event sources in an application that uses the Symbian UI framework. This example extends the standard "Hello World" UI example by adding a Glib "timeout" source. It demonstrates that Glib events and Symbian events can be handled in the same application thread.
TARGET OpenCHelloGlibEventEx.exe TARGETTYPE exe UID 0x100039CE 0xA0001F1B VENDORID 0 CAPABILITY None SOURCEPATH ..\src SOURCE OpenCHelloGlibEventEx.cpp SOURCE OpenCHelloGlibEventExApp.cpp SOURCE OpenCHelloGlibEventExView.cpp SOURCE OpenCHelloGlibEventExUi.cpp SOURCE OpenCHelloGlibEventExDoc.cpp SOURCE OpenCHelloGlibEventExHandler.cpp SOURCEPATH ..\data START RESOURCE OpenCHelloGlibEventEx.rss HEADER TARGETPATH resource\apps END //RESOURCE START RESOURCE OpenCHelloGlibEventEx_reg.rss #ifdef WINSCW TARGETPATH \private\10003a3f\apps #else TARGETPATH \private\10003a3f\import\apps #endif END //RESOURCE USERINCLUDE ..\inc SYSTEMINCLUDE \epoc32\include\stdapis\glib-2.0 SYSTEMINCLUDE \epoc32\include\stdapis SYSTEMINCLUDE \epoc32\include LIBRARY euser.lib LIBRARY apparc.lib LIBRARY cone.lib LIBRARY eikcore.lib LIBRARY avkon.lib LIBRARY commonengine.lib LIBRARY efsrv.lib LIBRARY estor.lib LIBRARY gdi.lib LIBRARY libc.lib // Standard libraries LIBRARY libglib.lib // Glib LANG SC