- Main Page
- Modules
- Namespaces
- Classes
- Files

# init.h

Go to the documentation of this file.

    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 Lesser General Public
    00009  * License as published by the Free Software Foundation; either
    00010  * version 2.1 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  * Lesser General Public License for more details.
    00016  *
    00017  * You should have received a copy of the GNU Lesser 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
    00059 void init(int& argc, char**& argv);
    00060
    00081 void init();
    00082
    00108 #ifdef GLIBMM_EXCEPTIONS_ENABLED
    00109   bool init_check(int& argc, char**& argv);
    00110 #else
    00111   bool init_check(int& argc, char**& argv, std::auto_ptr<Glib::Error>& error);
    00112 #endif //GLIBMM_EXCEPTIONS_ENABLED
    00113
    00137 #ifdef GLIBMM_EXCEPTIONS_ENABLED
    00138   bool init_check();
    00139 #else
    00140   bool init_check(std::auto_ptr<Glib::Error>& error);
    00141 #endif //GLIBMM_EXCEPTIONS_ENABLED
    00142
    00156 Glib::OptionGroup get_option_group();
    00157
    00158 }//end namespace Gst
    00159
    00160 #endif //_GSTREAMERMM_INIT_H