grim/guifications3
Clone
Summary
Browse
Changes
Graph
implement the preference uri command line and environment variable handling. This hasn't been tested yet, unit tests to come soon.
2009-12-09, Gary Kramlich
c40d12eb29a6
implement the preference uri command line and environment variable handling. This hasn't been tested yet, unit tests to come soon.
refs #69
/*
* Guifications - The end-all, be-all notification framework
* Copyright (C) 2003-2009 Gary Kramlich <grim@reaperworld.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef GF_THEME_INFO_H
#define GF_THEME_INFO_H
#include
<gflib/gf_object.h>
#define GF_TYPE_THEME_INFO (gf_theme_info_get_gtype())
#define GF_THEME_INFO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GF_TYPE_THEME_INFO, GfThemeInfo))
#define GF_THEME_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GF_TYPE_THEME_INFO, GfThemeInfoClass))
#define GF_IS_THEME_INFO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GF_TYPE_THEME_INFO))
#define GF_IS_THEME_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GF_TYPE_THEME_INFO))
#define GF_THEME_INFO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GF_TYPE_THEME_INFO, GfThemeInfoClass))
typedef
struct
_GfThemeInfo
GfThemeInfo
;
typedef
struct
_GfThemeInfoClass
GfThemeInfoClass
;
struct
_GfThemeInfo
{
GfObject
parent
;
void
(
*
_gf_reserved1
)(
void
);
void
(
*
_gf_reserved2
)(
void
);
void
(
*
_gf_reserved3
)(
void
);
void
(
*
_gf_reserved4
)(
void
);
};
struct
_GfThemeInfoClass
{
GfObjectClass
parent
;
void
(
*
_gf_reserved1
)(
void
);
void
(
*
_gf_reserved2
)(
void
);
void
(
*
_gf_reserved3
)(
void
);
void
(
*
_gf_reserved4
)(
void
);
};
G_BEGIN_DECLS
GType
gf_theme_info_get_gtype
(
void
);
GfThemeInfo
*
gf_theme_info_new
(
void
);
void
gf_theme_info_set_name
(
GfThemeInfo
*
theme_info
,
const
gchar
*
name
);
const
gchar
*
gf_theme_info_get_name
(
const
GfThemeInfo
*
theme_info
);
void
gf_theme_info_set_version
(
GfThemeInfo
*
theme_info
,
const
gchar
*
version
);
const
gchar
*
gf_theme_info_get_version
(
const
GfThemeInfo
*
theme_info
);
void
gf_theme_info_set_summary
(
GfThemeInfo
*
theme_info
,
const
gchar
*
summary
);
const
gchar
*
gf_theme_info_get_summary
(
const
GfThemeInfo
*
theme_info
);
void
gf_theme_info_set_description
(
GfThemeInfo
*
theme_info
,
const
gchar
*
description
);
const
gchar
*
gf_theme_info_get_description
(
const
GfThemeInfo
*
theme_info
);
void
gf_theme_info_set_author
(
GfThemeInfo
*
theme_info
,
const
gchar
*
author
);
const
gchar
*
gf_theme_info_get_author
(
const
GfThemeInfo
*
theme_info
);
void
gf_theme_info_set_website
(
GfThemeInfo
*
theme_info
,
const
gchar
*
website
);
const
gchar
*
gf_theme_info_get_website
(
const
GfThemeInfo
*
theme_info
);
G_END_DECLS
#endif
/* GF_THEME_INFO_H */