diff options
Diffstat (limited to 'libmatemixer/matemixer-app-info-private.h')
-rw-r--r-- | libmatemixer/matemixer-app-info-private.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/libmatemixer/matemixer-app-info-private.h b/libmatemixer/matemixer-app-info-private.h new file mode 100644 index 0000000..486b163 --- /dev/null +++ b/libmatemixer/matemixer-app-info-private.h @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2014 Michal Ratajsky <[email protected]> + * + * 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 of the licence, 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, see <http://www.gnu.org/licenses/>. + */ + +#ifndef MATEMIXER_APP_INFO_PRIVATE_H +#define MATEMIXER_APP_INFO_PRIVATE_H + +#include <glib.h> + +#include "matemixer-types.h" + +G_BEGIN_DECLS + +struct _MateMixerAppInfo +{ + gchar *name; + gchar *id; + gchar *version; + gchar *icon; +}; + +MateMixerAppInfo *_mate_mixer_app_info_new (void); + +void _mate_mixer_app_info_set_name (MateMixerAppInfo *info, + const gchar *name); +void _mate_mixer_app_info_set_id (MateMixerAppInfo *info, + const gchar *id); +void _mate_mixer_app_info_set_version (MateMixerAppInfo *info, + const gchar *version); +void _mate_mixer_app_info_set_icon (MateMixerAppInfo *info, + const gchar *icon); + +MateMixerAppInfo *_mate_mixer_app_info_copy (MateMixerAppInfo *info); +void _mate_mixer_app_info_free (MateMixerAppInfo *info); + +G_END_DECLS + +#endif /* MATEMIXER_APP_INFO_PRIVATE_H */ |