edelib
2.1.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
edelib
ForeignCallback.h
1
/*
2
* $Id: ForeignCallback.h 2961 2009-11-25 13:28:03Z karijes $
3
*
4
* Foreign callbacks
5
* Copyright (c) 2005-2009 edelib authors
6
*
7
* This library is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU Lesser General Public
9
* License as published by the Free Software Foundation; either
10
* version 2 of the License, or (at your option) any later version.
11
*
12
* This library is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* Lesser General Public License for more details.
16
*
17
* You should have received a copy of the GNU Lesser General Public License
18
* along with this library. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
21
#ifndef __EDELIB_FOREIGNCALLBACK_H__
22
#define __EDELIB_FOREIGNCALLBACK_H__
23
24
#include "edelib-global.h"
25
26
class
Fl_Window;
27
28
EDELIB_NS_BEGIN
29
79
void
foreign_callback_add
(Fl_Window *win,
const
char
*
id
,
void
(*cb)(Fl_Window*,
void
*),
void
*data = 0);
80
85
void
foreign_callback_remove
(
void
(*cb)(Fl_Window*,
void
*));
86
91
void
foreign_callback_call
(
const
char
*
id
);
92
93
EDELIB_NS_END
94
#endif
95
edelib::foreign_callback_remove
void foreign_callback_remove(void(*cb)(Fl_Window *, void *))
edelib::foreign_callback_call
void foreign_callback_call(const char *id)
edelib::foreign_callback_add
void foreign_callback_add(Fl_Window *win, const char *id, void(*cb)(Fl_Window *, void *), void *data=0)
Generated on Sat Jun 21 2014 14:19:24 for edelib by
1.8.5