QOF
0.8.7
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
qof
qofevent-p.h
1
/********************************************************************
2
* qofevent-p.h -- private engine event handling interface *
3
* Copyright 2000 Dave Peticolas <dave@krondo.com> *
4
* Copyright 2008 Neil Williams <linux@codehelp.co.uk> *
5
* *
6
* This program is free software; you can redistribute it and/or *
7
* modify it under the terms of the GNU General Public License as *
8
* published by the Free Software Foundation; either version 2 of *
9
* the License, or (at your option) any later version. *
10
* *
11
* This program is distributed in the hope that it will be useful, *
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14
* GNU General Public License for more details. *
15
* *
16
* You should have received a copy of the GNU General Public License*
17
* along with this program; if not, contact: *
18
* *
19
* Free Software Foundation Voice: +1-617-542-5942 *
20
* 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
21
* Boston, MA 02110-1301, USA gnu@gnu.org *
22
* *
23
********************************************************************/
24
25
#ifndef QOF_EVENT_P_H
26
#define QOF_EVENT_P_H
27
28
#include "
qofevent.h
"
29
#include "
qofid.h
"
30
31
/* for backwards compatibility - to be moved back to qofevent.c in libqof2 */
32
typedef
struct
33
{
34
QofEventHandler
handler;
35
gpointer user_data;
36
37
gint handler_id;
38
}
HandlerInfo
;
39
44
void
45
qof_event_generate (
const
GUID
* guid,
QofIdType
e_type,
QofEventId
event_id);
46
47
/* generates an event even when events are suspended! */
48
void
qof_event_force (
QofEntity
* entity,
QofEventId
event_id,
49
gpointer event_data);
50
51
#endif
QofIdType
const gchar * QofIdType
Definition:
qofid.h:81
qofevent.h
QOF event handling interface.
QofEntity_s
Definition:
qofid.h:147
QofEventHandler
void(* QofEventHandler)(QofEntity *ent, QofEventId event_type, gpointer handler_data, gpointer event_data)
Handler invoked when an event is generated.
Definition:
qofevent.h:104
HandlerInfo
Definition:
qofevent-p.h:32
qofid.h
QOF entity type identification system.
QofEventId
gint QofEventId
Definition:
qofevent.h:40
_GUID
Definition:
guid.h:53
Generated on Wed Mar 2 2016 14:41:26 for QOF by
1.8.11