scribble_test.cpp

Go to the documentation of this file.
00001 /*
00002  * File Name: scribble_test.cpp
00003  */
00004 
00005 /*
00006  * This file is part of liberscribble.
00007  *
00008  * liberscribble is free software: you can redistribute it and/or modify
00009  * it under the terms of the GNU General Public License as published by
00010  * the Free Software Foundation, either version 2 of the License, or
00011  * (at your option) any later version.
00012  *
00013  * liberscribble is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program. If not, see <http://www.gnu.org/licenses/>.
00020  */
00021 
00022 /**
00023  * Copyright (C) 2008 iRex Technologies B.V.
00024  * All rights reserved.
00025  */
00026  
00027 #include "main_window.h"
00028 #include "ipc.h"
00029 
00030 using namespace test;
00031 
00032 int main(int argc, char* argv[])
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 }
Generated by  doxygen 1.6.2-20100208