File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -41,10 +41,13 @@ typedef void (*OnNetworkEventCallback)();
41
41
CLASS DECLARATION
42
42
******************************************************************************/
43
43
44
+ // forward declaration FIXME
45
+ class GenericConnectionHandler ;
46
+
44
47
class ConnectionHandler {
45
48
public:
46
49
47
- ConnectionHandler (bool const keep_alive, NetworkAdapter interface);
50
+ ConnectionHandler (bool const keep_alive= false , NetworkAdapter interface=NetworkAdapter::NONE );
48
51
49
52
50
53
NetworkConnectionState check ();
@@ -109,5 +112,7 @@ class ConnectionHandler {
109
112
OnNetworkEventCallback _on_connect_event_callback = NULL ,
110
113
_on_disconnect_event_callback = NULL ,
111
114
_on_error_event_callback = NULL ;
115
+
116
+ friend GenericConnectionHandler;
112
117
};
113
118
You can’t perform that action at this time.
0 commit comments