From 63e779e41ca09007af789fff90011860dc69f937 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Wed, 12 Feb 2003 00:48:29 +0000 Subject: 2003-02-12 Anders Carlsson * bus/Makefile.am: * bus/desktop-file.c: * bus/desktop-file.h: Add a desktop file parser. --- bus/desktop-file.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 bus/desktop-file.h (limited to 'bus/desktop-file.h') diff --git a/bus/desktop-file.h b/bus/desktop-file.h new file mode 100644 index 00000000..7ab626ff --- /dev/null +++ b/bus/desktop-file.h @@ -0,0 +1,35 @@ +/* -*- mode: C; c-file-style: "gnu" -*- */ +/* desktop-file.h .desktop file parser + * + * Copyright (C) 2003 CodeFactory AB + * + * Licensed under the Academic Free License version 1.2 + * + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + */ +#ifndef BUS_DESKTOP_FILE_H +#define BUS_DESKTOP_FILE_H + +#include + +typedef struct BusDesktopFile BusDesktopFile; + +BusDesktopFile *bus_desktop_file_load (const char *filename, + DBusResultCode *result); +void bus_desktop_file_free (BusDesktopFile *file); + + +#endif /* BUS_DESKTOP_FILE_H */ -- cgit