Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
src
event.h
Go to the documentation of this file.
1
/*
2
* event.h - APme: Aion Automatic Abyss Point Tracker
3
*
4
* Copyright (C) 2012 Mitja Horvat <pinkfluid@gmail.com>
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or (at
9
* your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License along
17
* with this program; if not, write to the Free Software Foundation, Inc.,
18
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
19
*/
20
21
#ifndef EVENT_H_INCLUDED
22
#define EVENT_H_INCLUDED
23
33
enum
event_type
34
{
35
EVENT_SYS_ELEVATE_REQUEST
= 0,
36
EVENT_AION_GROUP_UPDATE
= 100,
37
EVENT_AION_AP_UPDATE
= 101,
38
EVENT_AION_INVENTORY_FULL
= 102,
39
EVENT_AION_LOOT_RIGHTS
= 103,
40
};
41
42
44
typedef
void
event_callback_t
(
enum
event_type
ev);
45
46
extern
void
event_register
(
event_callback_t
*event_cb);
47
extern
void
event_signal
(
enum
event_type
event);
48
53
#endif
/* EVENT_H_INCLUDED */
Generated on Wed Jul 17 2013 00:46:00 by
1.8.4