summaryrefslogtreecommitdiff
path: root/client/netcom.h
diff options
context:
space:
mode:
authordeva <deva>2008-08-19 07:50:47 +0000
committerdeva <deva>2008-08-19 07:50:47 +0000
commit26a6b739a38e928d005ac689e693a4d4dd7dc3ea (patch)
treec9f60b66fc795cf67baaac95ebb9eac03494f677 /client/netcom.h
parent6a2cc91b62f227ca71d759654ed34c138d236800 (diff)
Made the netcom object global, for socket reuse.
Diffstat (limited to 'client/netcom.h')
-rw-r--r--client/netcom.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/netcom.h b/client/netcom.h
index 18d6dbe..33a57f4 100644
--- a/client/netcom.h
+++ b/client/netcom.h
@@ -56,4 +56,8 @@ private:
QString cpr;
};
+namespace Global {
+ extern NetCom *netcom;
+};
+
#endif/*__PRACRO_NETCOM_H__*/