… | |
… | |
5 | // THIS IS A GENERATED FILE, RUN callback.pl to regenerate it |
5 | // THIS IS A GENERATED FILE, RUN callback.pl to regenerate it |
6 | // THIS IS A GENERATED FILE, RUN callback.pl to regenerate it |
6 | // THIS IS A GENERATED FILE, RUN callback.pl to regenerate it |
7 | |
7 | |
8 | /* |
8 | /* |
9 | callback.h -- C++ callback mechanism |
9 | callback.h -- C++ callback mechanism |
|
|
10 | Copyright (C) 2003-2005 Marc Lehmann <gvpe@schmorp.de> |
10 | |
11 | |
|
|
12 | This file is part of GVPE. |
|
|
13 | |
11 | This program is free software; you can redistribute it and/or modify |
14 | GVPE is free software; you can redistribute it and/or modify |
12 | it under the terms of the GNU General Public License as published by |
15 | it under the terms of the GNU General Public License as published by |
13 | the Free Software Foundation; either version 2 of the License, or |
16 | the Free Software Foundation; either version 2 of the License, or |
14 | (at your option) any later version. |
17 | (at your option) any later version. |
15 | |
18 | |
16 | This program is distributed in the hope that it will be useful, |
19 | This program is distributed in the hope that it will be useful, |
17 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
20 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
18 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
21 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
19 | GNU General Public License for more details. |
22 | GNU General Public License for more details. |
20 | |
23 | |
21 | You should have received a copy of the GNU General Public License |
24 | You should have received a copy of the GNU General Public License |
22 | along with this program; if not, write to the Free Software |
25 | along with gvpe; if not, write to the Free Software |
23 | Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
26 | Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
24 | */ |
27 | */ |
25 | |
28 | |
26 | #ifndef VPE_CALLBACK_H__ |
29 | #ifndef CALLBACK_H__ |
27 | #define VPE_CALLBACK_H__ |
30 | #define CALLBACK_H__ |
28 | |
31 | |
29 | template<class R> |
32 | template<class R> |
30 | class callback0 { |
33 | class callback0 { |
31 | struct object { }; |
34 | struct object { }; |
32 | |
35 | |