00001 // -*- c++ -*- 00002 00003 /* gstreamermm - a C++ wrapper for gstreamer 00004 * 00005 * Copyright 2008 The gstreamermm Development Team 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 #ifndef _GSTREAMERMM_INIT_H 00023 #define _GSTREAMERMM_INIT_H 00024 00025 #include <glibmm/error.h> 00026 #include <glibmm/optiongroup.h> 00027 00028 namespace Gst 00029 { 00030 00049 void init(int& argc, char**& argv); 00050 00067 #ifdef GLIBMM_EXCEPTIONS_ENABLED 00068 bool init_check(int& argc, char**& argv); 00069 #else 00070 bool init_check(int& argc, char**& argv, std::auto_ptr<Glib::Error>& error); 00071 #endif //GLIBMM_EXCEPTIONS_ENABLED 00072 00086 Glib::OptionGroup get_option_group(); 00087 00088 }//end namespace Gst 00089 00090 #endif //_GSTREAMERMM_INIT_H 00091