scribble_test.cpp File Reference

#include "main_window.h"
#include "ipc.h"
Include dependency graph for scribble_test.cpp:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 32 of file scribble_test.cpp.

References ipc_set_services(), ipc_sys_startup_complete(), and test::MainWindow::show().

00033 {
00034     g_thread_init(0);
00035     gdk_threads_init();
00036     gdk_threads_enter();
00037     gtk_init(&argc, &argv);
00038 
00039     if (ipc_set_services() == FALSE)
00040     {
00041         return -1;
00042     }
00043 
00044     MainWindow window;
00045     window.show();
00046 
00047     ipc_sys_startup_complete();
00048 
00049     gtk_main();
00050     gdk_threads_leave();
00051     return 0;
00052 }

Here is the call graph for this function:

Generated by  doxygen 1.6.2-20100208