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