grim/guifications3
Clone
Summary
Browse
Changes
Graph
removed gf_lib_get_version, gf_lib_get_library_version, and gf_lib_get_website
2011-05-17, Gary Kramlich
808b56734665
removed gf_lib_get_version, gf_lib_get_library_version, and gf_lib_get_website
/*
* 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/>.
*/
#ifdef HAVE_CONFIG_H
#
include
<gf_config.h>
#endif
#include
<gf_lib.h>
#define add_event(feed, name, i18n, desc) { \
event = gf_event_new((name), (i18n), (desc)); \
gf_feed_add_event((feed), event); \
}
/******************************************************************************
* Globals
*****************************************************************************/
static
gboolean
initialized
=
FALSE
;
/******************************************************************************
* API
*****************************************************************************/
void
purple_gf_events_init
(
GfFeed
*
feed
)
{
GfEvent
*
event
=
NULL
;
if
(
initialized
)
return
;
add_event
(
feed
,
"sign-on"
,
_
(
"Sign On"
),
_
(
"fix me"
));
add_event
(
feed
,
"sign-off"
,
_
(
"Sign Off"
),
_
(
"fix me"
));
initialized
=
TRUE
;
}