Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4973 | right-hear | 1 | // -*- c++ -*- |
2 | /* |
||
3 | * Copyright 1999 Karl Nelson |
||
4 | * |
||
5 | * This library is free software; you can redistribute it and/or |
||
6 | * modify it under the terms of the GNU Library General Public |
||
7 | * License as published by the Free Software Foundation; either |
||
8 | * version 2 of the License, or (at your option) any later version. |
||
9 | * |
||
10 | * This library is distributed in the hope that it will be useful, |
||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
||
13 | * Library General Public License for more details. |
||
14 | * |
||
15 | * You should have received a copy of the GNU Library General Public |
||
16 | * License along with this library; if not, write to the Free |
||
17 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
||
18 | */ |
||
19 | #ifndef _SIGC_ADAPTOR_H_ |
||
20 | #define _SIGC_ADAPTOR_H_ |
||
21 | #include |
||
22 | |||
23 | #ifdef SIGC_CXX_NAMESPACES |
||
24 | namespace SigC |
||
25 | { |
||
26 | #endif |
||
27 | |||
28 | struct LIBSIGC_API AdaptorNode : public SlotNode |
||
29 | { |
||
30 | Callback_ data_; |
||
31 | }; |
||
32 | |||
33 | struct LIBSIGC_API AdaptorSlot_ |
||
34 | { |
||
35 | static void copy_callback(SlotData* sdata,AdaptorNode* node); |
||
36 | }; |
||
37 | |||
38 | #ifdef SIGC_CXX_NAMESPACES |
||
39 | } // namespace |
||
40 | #endif |
||
41 | |||
42 | #endif |
||
43 |