/*
 * Copyright (C) 2008-2013 Red Hat, Inc.
 *
 * Licensed under GPL version 2 or later.
 *
 * Author: David Zeuthen <zeuthen@gmail.com>
 */

#pragma once

#include <gtk/gtk.h>

G_BEGIN_DECLS

typedef enum {
    GDU_POWER_STATE_FLAGS_NONE = 0,
    GDU_POWER_STATE_FLAGS_STANDBY = (1 << 0),
    GDU_POWER_STATE_FLAGS_CHECKING = (1 << 1),
    GDU_POWER_STATE_FLAGS_FAILED = (1 << 2)
} G_GNUC_FLAG_ENUM GduPowerStateFlags;

typedef enum {
    GDU_DEVICE_TREE_MODEL_FLAGS_NONE = 0,
    GDU_DEVICE_TREE_MODEL_FLAGS_FLAT = (1 << 0),
    GDU_DEVICE_TREE_MODEL_FLAGS_UPDATE_POWER_STATE = (1 << 1),
    GDU_DEVICE_TREE_MODEL_FLAGS_UPDATE_PULSE = (1 << 2),
    GDU_DEVICE_TREE_MODEL_FLAGS_ONE_LINE_NAME = (1 << 3),
    GDU_DEVICE_TREE_MODEL_FLAGS_INCLUDE_DEVICE_NAME = (1 << 4),
    GDU_DEVICE_TREE_MODEL_FLAGS_INCLUDE_NONE_ITEM = (1 << 5),
} G_GNUC_FLAG_ENUM GduDeviceTreeModelFlags;

G_END_DECLS
