1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
4 * Copyright (C) John Stebbins 2008 <stebbins@stebbins>
6 * resources.c is free software.
8 * You may redistribute it and/or modify it under the terms of the
9 * GNU General Public License, as published by the Free Software
10 * Foundation; either version 2 of the License, or (at your option)
15 #include <glib-object.h>
16 #include <glib/gstdio.h>
21 #include "resources.h"
24 static const gchar resource_str[] =
25 #include "resource_data.h"
28 static GValue *resources;
33 resources = ghb_plist_parse(resource_str, sizeof(resource_str)-1);
37 ghb_resource_get(const gchar *name)
40 result = ghb_dict_lookup(resources, name);