00001 /******************************************************************************* 00002 This file is part of mdictionary. 00003 00004 mdictionary is free software; you can redistribute it and/or modify 00005 it under the terms of the GNU General Public License as published by 00006 the Free Software Foundation; either version 2 of the License, or 00007 (at your option) any later version. 00008 00009 mdictionary is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 GNU General Public License for more details. 00013 00014 You should have received a copy of the GNU General Public License 00015 along with mdictionary; if not, write to the Free Software 00016 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00017 00018 Copyright 2006-2008 ComArch S.A. 00019 *******************************************************************************/ 00023 00031 #include <ws_manager.h> 00032 00039 int main (gint argc, gchar** argv) 00040 { 00041 /* initialize GType and GObject's functions capabilities for proccess */ 00042 g_type_init(); 00043 00044 WSMngSearchData* search_data = ws_manager_create(); 00045 00046 ws_mng_init_dbus(search_data); 00047 00048 ws_mng_init(search_data); 00049 00050 ws_mng_start_main_loop(search_data); 00051 00052 ws_mng_close(search_data); 00053 00054 return 0; 00055 } 00056