Blame src/main.cpp

Packit 76ec6a
/* -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
Packit 76ec6a
/* Procman
Packit 76ec6a
 * Copyright (C) 2001 Kevin Vandersloot
Packit 76ec6a
 *
Packit 76ec6a
 * This program is free software; you can redistribute it and/or
Packit 76ec6a
 * modify it under the terms of the GNU General Public License
Packit 76ec6a
 * as published by the Free Software Foundation; either version 2
Packit 76ec6a
 * of the License, or (at your option) any later version.
Packit 76ec6a
 *
Packit 76ec6a
 * This program is distributed in the hope that it will be useful,
Packit 76ec6a
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 76ec6a
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 76ec6a
 * GNU General Public License for more details.
Packit 76ec6a
 *
Packit 76ec6a
 * You should have received a copy of the GNU Library General Public
Packit 76ec6a
 * License along with this program; if not, see <http://www.gnu.org/licenses/>.
Packit 76ec6a
 *
Packit 76ec6a
 */
Packit 76ec6a
Packit 76ec6a
#include <config.h>
Packit 76ec6a
Packit 76ec6a
#include <locale.h>
Packit 76ec6a
#include <glib/gi18n.h>
Packit 76ec6a
Packit 76ec6a
#include "application.h"
Packit 76ec6a
Packit 76ec6a
Packit 76ec6a
int
Packit 76ec6a
main (int argc, char *argv[])
Packit 76ec6a
{
Packit 76ec6a
    bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
Packit 76ec6a
    bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
Packit 76ec6a
    textdomain (GETTEXT_PACKAGE);
Packit 76ec6a
    setlocale (LC_ALL, "");
Packit 76ec6a
Packit 76ec6a
    Glib::RefPtr<GsmApplication> application = GsmApplication::get();
Packit 76ec6a
    return application->run (argc, argv);
Packit 76ec6a
}
Packit 76ec6a