~kunquat-maintainers/kunquat/kunquat-media

« back to all changes in this revision

Viewing changes to src/lib/Event_global.h

  • Committer: Toni Ruottu
  • Date: 2009-07-06 22:23:01 UTC
  • Revision ID: toni.ruottu@iki.fi-20090706222301-re2ik5yxsojg2qms
removed source code, moved contents of contrib to root directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
 
3
 
/*
4
 
 * Copyright 2009 Tomi Jylhä-Ollila
5
 
 *
6
 
 * This file is part of Kunquat.
7
 
 *
8
 
 * Kunquat is free software: you can redistribute it and/or modify
9
 
 * it under the terms of the GNU General Public License as published by
10
 
 * the Free Software Foundation, either version 3 of the License, or
11
 
 * (at your option) any later version.
12
 
 *
13
 
 * Kunquat is distributed in the hope that it will be useful,
14
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 
 * GNU General Public License for more details.
17
 
 *
18
 
 * You should have received a copy of the GNU General Public License
19
 
 * along with Kunquat.  If not, see <http://www.gnu.org/licenses/>.
20
 
 */
21
 
 
22
 
 
23
 
#ifndef K_EVENT_GLOBAL_H
24
 
#define K_EVENT_GLOBAL_H
25
 
 
26
 
 
27
 
#include <Event.h>
28
 
#include <Playdata.h>
29
 
 
30
 
 
31
 
typedef struct Event_global
32
 
{
33
 
    Event parent;
34
 
    void (*process)(struct Event_global* event, Playdata* play);
35
 
} Event_global;
36
 
 
37
 
 
38
 
/**
39
 
 * Processes the Global event.
40
 
 *
41
 
 * \param event   The Global event -- must not be \c NULL.
42
 
 * \param play    The Playdata -- must not be \c NULL.
43
 
 */
44
 
void Event_global_process(Event_global* event, Playdata* play);
45
 
 
46
 
 
47
 
#endif // K_EVENT_GLOBAL_H
48
 
 
49