Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3 | magnus | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
2 | <html><head> |
||
3 | <title>liboop: oop_sys_source()</title> |
||
4 | <link rel="stylesheet" type="text/css" href="style.css"> |
||
5 | </head><body> |
||
6 | |||
7 | <h2>oop_sys_source()</h2> |
||
8 | |||
9 | <pre> |
||
10 | #include <oop.h> |
||
11 | |||
12 | /* <em>Get the source interface for a system event source.</em> */ |
||
13 | oop_source *oop_sys_source(oop_source_sys *sys); |
||
14 | </pre> |
||
15 | |||
16 | <h3>Arguments.</h3> |
||
17 | <dl> |
||
18 | <dt><b>oop_source_sys *sys</b> |
||
19 | <dd>The event source from which to fetch the interface. |
||
20 | </dl> |
||
21 | |||
22 | <h3>Description.</h3> |
||
23 | |||
24 | This function returns the standard <em>oop_source</em> interface for the |
||
25 | system event source <em>sys</em>. The interface structure returned contains |
||
26 | function pointers for registering and unregistering callbacks with the event |
||
27 | source; you can pass it to modules which simply want an event source, without |
||
28 | needing to know that you use the system event source in particular.<p> |
||
29 | |||
30 | <hr><a href="ref">liboop reference</a></body></html> |