gnome-control-center/libslab/app-shell-startup.h

38 lines
1.2 KiB
C
Raw Normal View History

/*
* This file is part of libslab.
*
* Copyright (c) 2006 Novell, Inc.
*
* Libslab is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
* any later version.
*
* Libslab is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
* more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with libslab; if not, write to the Free Software Foundation, Inc., 51
* Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef __APP_SHELL_STARTUP_H__
#define __APP_SHELL_STARTUP_H__
#include <bonobo/bonobo-application.h>
#include <bonobo/bonobo-main.h>
#define DESKTOP_STARTUP_ID "DESKTOP_STARTUP_ID"
G_BEGIN_DECLS
gint apss_new_instance_cb (BonoboApplication * app, gint argc, char *argv[],
gpointer data);
gboolean apss_already_running (int argc, char *argv[], BonoboApplication ** app,
const gchar * name, char * startup_id);
G_END_DECLS
#endif /* __APP_SHELL_STARTUP_H__ */