/* xdg-app-error.c * * Copyright (C) 2015 Red Hat, Inc * * This file 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 of the * License, or (at your option) any later version. * * This file 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 program. If not, see . * * Authors: * Alexander Larsson */ #ifndef XDG_APP_ERROR_H #define XDG_APP_ERROR_H #include G_BEGIN_DECLS /** * XdgAppError: * @XDG_APP_ERROR_ALREADY_INSTALLED: App/runtime is already installed * @XDG_APP_ERROR_NOT_INSTALLED: App/runtime is not installed */ typedef enum { XDG_APP_ERROR_ALREADY_INSTALLED, XDG_APP_ERROR_NOT_INSTALLED, } XdgAppError; #define XDG_APP_ERROR xdg_app_error_quark() GQuark xdg_app_error_quark (void); G_END_DECLS #endif /* XDG_APP_ERROR_H */