/*
 * panel-applet-info.h
 *
 * Copyright (C) 2010 Carlos Garcia Campos <carlosgc@gnome.org>
 * Copyright (C) 2010 Vincent Untz <vuntz@gnome.org>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of the
 * License, or (at your option) any later version.
 *
 * This program 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
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
 * MA  02110-1301, USA.
 */

#ifndef __PANEL_APPLET_INFO_H__
#define __PANEL_APPLET_INFO_H__

#include <glib.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef struct _UkuiPanelAppletInfo UkuiPanelAppletInfo;

UkuiPanelAppletInfo *ukui_panel_applet_info_new                             (const gchar  *iid,
								    const gchar  *name,
								    const gchar  *comment,
								    const gchar  *icon,
								    const gchar **old_ids);
void             ukui_panel_applet_info_free                            (UkuiPanelAppletInfo *info);

const gchar     *ukui_panel_applet_info_get_iid                         (UkuiPanelAppletInfo *info);
const gchar     *ukui_panel_applet_info_get_name                        (UkuiPanelAppletInfo *info);
const gchar     *ukui_panel_applet_info_get_description                 (UkuiPanelAppletInfo *info);
const gchar     *ukui_panel_applet_info_get_icon                        (UkuiPanelAppletInfo *info);
const gchar * const *ukui_panel_applet_info_get_old_ids                 (UkuiPanelAppletInfo *info);
int              WriteAppletInfo                                        (char    *action,
								  	 char    *launcher_location);
void             StrReplace                                             (char	 *strSrc,
									 char   *strFind,
									 char   *strReplace);

#ifdef __cplusplus
}
#endif

#endif /* __PANEL_APPLET_INFO_H__ */
