File: resource.c

package info (click to toggle)
libfsoframework 0.11.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,052 kB
  • sloc: sh: 11,311; ansic: 7,896; makefile: 89
file content (60 lines) | stat: -rw-r--r-- 2,926 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/* resource.c generated by valac 0.14.2, the Vala compiler
 * generated from resource.vala, do not modify */

/*
 * Copyright (C) 2009-2011 Michael 'Mickey' Lauer <mlauer@vanille-media.de>
 *
 * This library 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.1 of the License, or (at your option) any later version.

 * This library 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 this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
 *
 */

#include <glib.h>
#include <glib-object.h>


#define FSO_FRAMEWORK_TYPE_RESOURCE_STATUS (fso_framework_resource_status_get_type ())

typedef enum  {
	FSO_FRAMEWORK_RESOURCE_STATUS_UNKNOWN,
	FSO_FRAMEWORK_RESOURCE_STATUS_ENABLING,
	FSO_FRAMEWORK_RESOURCE_STATUS_ENABLED,
	FSO_FRAMEWORK_RESOURCE_STATUS_SUSPENDING,
	FSO_FRAMEWORK_RESOURCE_STATUS_SUSPENDED,
	FSO_FRAMEWORK_RESOURCE_STATUS_RESUMING,
	FSO_FRAMEWORK_RESOURCE_STATUS_DISABLING,
	FSO_FRAMEWORK_RESOURCE_STATUS_DISABLED
} FsoFrameworkResourceStatus;



GType fso_framework_resource_status_get_type (void) G_GNUC_CONST;


/**
 * @enum FsoFramework.ResourceStatus
 **/
GType fso_framework_resource_status_get_type (void) {
	static volatile gsize fso_framework_resource_status_type_id__volatile = 0;
	if (g_once_init_enter (&fso_framework_resource_status_type_id__volatile)) {
		static const GEnumValue values[] = {{FSO_FRAMEWORK_RESOURCE_STATUS_UNKNOWN, "FSO_FRAMEWORK_RESOURCE_STATUS_UNKNOWN", "unknown"}, {FSO_FRAMEWORK_RESOURCE_STATUS_ENABLING, "FSO_FRAMEWORK_RESOURCE_STATUS_ENABLING", "enabling"}, {FSO_FRAMEWORK_RESOURCE_STATUS_ENABLED, "FSO_FRAMEWORK_RESOURCE_STATUS_ENABLED", "enabled"}, {FSO_FRAMEWORK_RESOURCE_STATUS_SUSPENDING, "FSO_FRAMEWORK_RESOURCE_STATUS_SUSPENDING", "suspending"}, {FSO_FRAMEWORK_RESOURCE_STATUS_SUSPENDED, "FSO_FRAMEWORK_RESOURCE_STATUS_SUSPENDED", "suspended"}, {FSO_FRAMEWORK_RESOURCE_STATUS_RESUMING, "FSO_FRAMEWORK_RESOURCE_STATUS_RESUMING", "resuming"}, {FSO_FRAMEWORK_RESOURCE_STATUS_DISABLING, "FSO_FRAMEWORK_RESOURCE_STATUS_DISABLING", "disabling"}, {FSO_FRAMEWORK_RESOURCE_STATUS_DISABLED, "FSO_FRAMEWORK_RESOURCE_STATUS_DISABLED", "disabled"}, {0, NULL, NULL}};
		GType fso_framework_resource_status_type_id;
		fso_framework_resource_status_type_id = g_enum_register_static ("FsoFrameworkResourceStatus", values);
		g_once_init_leave (&fso_framework_resource_status_type_id__volatile, fso_framework_resource_status_type_id);
	}
	return fso_framework_resource_status_type_id__volatile;
}