| 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- |
| 2 | * |
| 3 | * Copyright (C) 2008 Richard Hughes <[email protected]> |
| 4 | * |
| 5 | * Licensed under the GNU General Public License Version 2 |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2 of the License, or |
| 10 | * (at your option) any later version. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | * GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this program; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 20 | */ |
| 21 | |
| 22 | #if !defined (__UPOWER_H_INSIDE__) && !defined (UP_COMPILATIONcxx . . $ `<built-in>:416:9`!) |
| 23 | #error "Only <upower.h> can be included directly." |
| 24 | #endif |
| 25 | |
| 26 | #ifndef __UP_HISTORY_ITEM_H |
| 27 | #define __UP_HISTORY_ITEM_Hcxx . . $ `libupower-glib/up-history-item.h:27:9`! |
| 28 | |
| 29 | #include <glib-object.h> |
| 30 | #include <libupower-glib/up-types.h>cxx . . $ `<file>/libupower-glib/up-types.h`/ |
| 31 | |
| 32 | G_BEGIN_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:947:9`! |
| 33 | |
| 34 | #define UP_TYPE_HISTORY_ITEMcxx . . $ `libupower-glib/up-history-item.h:34:9`! (up_history_item_get_type ()) |
| 35 | #define UP_HISTORY_ITEMcxx . . $ `libupower-glib/up-history-item.h:35:9`!(o) (G_TYPE_CHECK_INSTANCE_CASTcxx . . $ `<external>/9567554376676449156/gtype.h:528:9`! ((o), UP_TYPE_HISTORY_ITEMcxx . . $ `libupower-glib/up-history-item.h:34:9`!, UpHistoryItem)) |
| 36 | #define UP_HISTORY_ITEM_CLASScxx . . $ `libupower-glib/up-history-item.h:36:9`!(k) (G_TYPE_CHECK_CLASS_CAST((k), UP_TYPE_HISTORY_ITEM, UpHistoryItemClass)) |
| 37 | #define UP_IS_HISTORY_ITEMcxx . . $ `libupower-glib/up-history-item.h:37:9`!(o) (G_TYPE_CHECK_INSTANCE_TYPEcxx . . $ `<external>/9567554376676449156/gtype.h:541:9`! ((o), UP_TYPE_HISTORY_ITEMcxx . . $ `libupower-glib/up-history-item.h:34:9`!)) |
| 38 | #define UP_IS_HISTORY_ITEM_CLASScxx . . $ `libupower-glib/up-history-item.h:38:9`!(k) (G_TYPE_CHECK_CLASS_TYPE ((k), UP_TYPE_HISTORY_ITEM)) |
| 39 | #define UP_HISTORY_ITEM_GET_CLASScxx . . $ `libupower-glib/up-history-item.h:39:9`!(o) (G_TYPE_INSTANCE_GET_CLASS ((o), UP_TYPE_HISTORY_ITEM, UpHistoryItemClass)) |
| 40 | |
| 41 | typedef struct UpHistoryItemPrivatecxx . . $ UpHistoryItemPrivate# UpHistoryItemPrivatecxx . . $ UpHistoryItemPrivate#; |
| 42 | |
| 43 | typedef structcxx . . $ $anonymous_type_a3090f727fe2396e_0# { |
| 44 | GObjectcxx . . $ GObject# parentcxx . . $ $anonymous_type_a3090f727fe2396e_0#parent.; |
| 45 | UpHistoryItemPrivatecxx . . $ UpHistoryItemPrivate# *privcxx . . $ $anonymous_type_a3090f727fe2396e_0#priv.; |
| 46 | } UpHistoryItemcxx . . $ UpHistoryItem#; |
| 47 | |
| 48 | typedef structcxx . . $ $anonymous_type_a3090f727fe2396e_1# { |
| 49 | GObjectClasscxx . . $ GObjectClass# parent_classcxx . . $ $anonymous_type_a3090f727fe2396e_1#parent_class.; |
| 50 | } UpHistoryItemClasscxx . . $ UpHistoryItemClass#; |
| 51 | |
| 52 | GTypecxx . . $ GType# up_history_item_get_typecxx . . $ up_history_item_get_type(f708dce9a8856c70). (void); |
| 53 | UpHistoryItemcxx . . $ UpHistoryItem# *up_history_item_newcxx . . $ up_history_item_new(82273b23b009fa61). (void); |
| 54 | |
| 55 | gdoublecxx . . $ gdouble# up_history_item_get_valuecxx . . $ up_history_item_get_value(4fb850e72b047ab9). (UpHistoryItemcxx . . $ UpHistoryItem# *history_item); |
| 56 | void up_history_item_set_valuecxx . . $ up_history_item_set_value(ae4c302cc210804b). (UpHistoryItemcxx . . $ UpHistoryItem# *history_item, |
| 57 | gdoublecxx . . $ gdouble# value); |
| 58 | guintcxx . . $ guint# up_history_item_get_timecxx . . $ up_history_item_get_time(5bfcac49fad1ecb1). (UpHistoryItemcxx . . $ UpHistoryItem# *history_item); |
| 59 | void up_history_item_set_timecxx . . $ up_history_item_set_time(60d3d214d540690f). (UpHistoryItemcxx . . $ UpHistoryItem# *history_item, |
| 60 | guintcxx . . $ guint# time); |
| 61 | void up_history_item_set_time_to_presentcxx . . $ up_history_item_set_time_to_present(e81e4da037254de8). (UpHistoryItemcxx . . $ UpHistoryItem# *history_item); |
| 62 | UpDeviceStatecxx . . $ UpDeviceState# up_history_item_get_statecxx . . $ up_history_item_get_state(70da0429526d4d6c). (UpHistoryItemcxx . . $ UpHistoryItem# *history_item); |
| 63 | void up_history_item_set_statecxx . . $ up_history_item_set_state(3111f22542668fd0). (UpHistoryItemcxx . . $ UpHistoryItem# *history_item, |
| 64 | UpDeviceStatecxx . . $ UpDeviceState# state); |
| 65 | gcharcxx . . $ gchar# *up_history_item_to_stringcxx . . $ up_history_item_to_string(9a495cefe2495618). (UpHistoryItemcxx . . $ UpHistoryItem# *history_item); |
| 66 | gbooleancxx . . $ gboolean# up_history_item_set_from_stringcxx . . $ up_history_item_set_from_string(21a30e52893fcb57). (UpHistoryItemcxx . . $ UpHistoryItem# *history_item, |
| 67 | const gcharcxx . . $ gchar# *text); |
| 68 | |
| 69 | G_END_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:948:9`! |
| 70 | |
| 71 | #endif /* __UP_HISTORY_ITEM_H */ |