projects/package-update-indicator

annotate pui-types.h @ 0:6884bb8130ca

Initial revision
author Guido Berhoerster <guido+pui@berhoerster.name>
date Sun May 20 11:32:57 2018 +0200 (2018-05-20)
parents
children
rev   line source
guido+pui@0 1 /*
guido+pui@0 2 * Copyright (C) 2018 Guido Berhoerster <guido+pui@berhoerster.name>
guido+pui@0 3 *
guido+pui@0 4 * Permission is hereby granted, free of charge, to any person obtaining
guido+pui@0 5 * a copy of this software and associated documentation files (the
guido+pui@0 6 * "Software"), to deal in the Software without restriction, including
guido+pui@0 7 * without limitation the rights to use, copy, modify, merge, publish,
guido+pui@0 8 * distribute, sublicense, and/or sell copies of the Software, and to
guido+pui@0 9 * permit persons to whom the Software is furnished to do so, subject to
guido+pui@0 10 * the following conditions:
guido+pui@0 11 *
guido+pui@0 12 * The above copyright notice and this permission notice shall be included
guido+pui@0 13 * in all copies or substantial portions of the Software.
guido+pui@0 14 *
guido+pui@0 15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
guido+pui@0 16 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
guido+pui@0 17 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
guido+pui@0 18 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
guido+pui@0 19 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
guido+pui@0 20 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
guido+pui@0 21 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
guido+pui@0 22 */
guido+pui@0 23
guido+pui@0 24 #ifndef PUI_TYPES_H
guido+pui@0 25 #define PUI_TYPES_H
guido+pui@0 26
guido+pui@0 27 #include <glib-object.h>
guido+pui@0 28
guido+pui@0 29 G_BEGIN_DECLS
guido+pui@0 30
guido+pui@0 31 #define PUI_TYPE_STATE (pui_state_get_type())
guido+pui@0 32
guido+pui@0 33 typedef enum {
guido+pui@0 34 PUI_STATE_INITIAL,
guido+pui@0 35 PUI_STATE_UP_TO_DATE,
guido+pui@0 36 PUI_STATE_NORMAL_UPDATES_AVAILABLE,
guido+pui@0 37 PUI_STATE_IMPORTANT_UPDATES_AVAILABLE,
guido+pui@0 38 PUI_STATE_ERROR,
guido+pui@0 39 PUI_STATE_LAST
guido+pui@0 40 } PuiState;
guido+pui@0 41
guido+pui@0 42 GType pui_state_get_type(void);
guido+pui@0 43 gchar * pui_types_enum_to_string(GType, gint);
guido+pui@0 44
guido+pui@0 45 G_END_DECLS
guido+pui@0 46
guido+pui@0 47 #endif /* !PUI_TYPES_H */