00001 // -*- c++ -*- 00002 #ifndef _LIBCLUTTERMM_INIT_H 00003 #define _LIBCLUTTERMM_INIT_H 00004 /* 00005 * Copyright 2008 Jonathon Jongsma 00006 * 00007 * This library is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU Library General Public 00009 * License as published by the Free Software Foundation; either 00010 * version 2 of the License, or (at your option) any later version. 00011 * 00012 * This library is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * Library General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Library General Public 00018 * License along with this library; if not, write to the Free 00019 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00020 */ 00021 00022 #include <glibmm.h> 00023 00024 namespace Clutter 00025 { 00026 00035 void init(int* argc, gchar** argv[]); 00036 00045 void init(int& argc, gchar**& argv); 00046 00047 // TODO: This does not work yet because because of clutter bug #1033. It has 00048 // already been fixed in trunk but there was no release since. We can 00049 // uncomment this as soon as clutter with that fix has been released. 00050 #if 0 00051 00061 void init(int* argc, char** argv[], Glib::OptionContext& option_context); 00062 00073 void init(int& argc, char**& argv, Glib::OptionContext& option_context); 00074 #endif 00075 00082 void add_clutter_option_group(Glib::OptionContext& option_context); 00083 00084 } //namespace Clutter 00085 00086 #endif //_LIBCLUTTERMM_INIT_H 00087