gwenhywfar  4.3.3
gwensignal.h
Go to the documentation of this file.
1 /***************************************************************************
2  $RCSfile$
3  -------------------
4  cvs : $Id: stringlist_p.h 786 2005-07-09 13:38:17Z aquamaniac $
5  begin : Thu Apr 03 2003
6  copyright : (C) 2003 by Martin Preuss
7  email : martin@libchipcard.de
8 
9  ***************************************************************************
10  * *
11  * This library is free software; you can redistribute it and/or *
12  * modify it under the terms of the GNU Lesser General Public *
13  * License as published by the Free Software Foundation; either *
14  * version 2.1 of the License, or (at your option) any later version. *
15  * *
16  * This library is distributed in the hope that it will be useful, *
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
19  * Lesser General Public License for more details. *
20  * *
21  * You should have received a copy of the GNU Lesser General Public *
22  * License along with this library; if not, write to the Free Software *
23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, *
24  * MA 02111-1307 USA *
25  * *
26  ***************************************************************************/
27 
28 #ifndef GWENHYWFAR_SIGNAL_H
29 #define GWENHYWFAR_SIGNAL_H
30 
31 #include <gwenhywfar/gwenhywfarapi.h>
32 #include <gwenhywfar/types.h>
33 #include <gwenhywfar/list2.h>
34 
35 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
64 
66 
67 typedef struct GWEN_SIGNAL GWEN_SIGNAL;
68 
69 typedef struct GWEN_SLOT GWEN_SLOT;
70 
71 
76 typedef int (*GWEN_SLOT_FUNCTION)(GWEN_SLOT *slot,
77  void *userData,
78  void *pArg1,
79  void *pArg2,
80  int iArg3,
81  int iArg4);
82 
83 
90 
93 
96  const char *name,
97  const char *typeOfArg1,
98  const char *typeOfArg2);
99 
102  const char *name,
103  const char *typeOfArg1,
104  const char *typeOfArg2);
105 
113  const char *derivedType);
114 
115 
122 
125  const char *derivedType,
126  const char *name,
127  const char *typeOfArg1,
128  const char *typeOfArg2);
129 
131 void GWEN_Signal_free(GWEN_SIGNAL *sig);
132 
133 
136 
137 
139 int GWEN_Signal_Connect(GWEN_SIGNAL *sig, GWEN_SLOT *slot);
140 
143 
153  void *pArg1, void *pArg2, int iArg3, int iArg4);
163 
166  const char *derivedType,
167  const char *name,
168  const char *typeOfArg1,
169  const char *typeOfArg2,
171  void *userData);
172 
174 void GWEN_Slot_free(GWEN_SLOT *slot);
175 
178 
179  /* defgroup */
181 
182  /* defgroup */
184 
185 
186 
187 #ifdef __cplusplus
188 } /* extern C */
189 #endif
190 
191 
192 #endif
193