summaryrefslogtreecommitdiff
path: root/noncore/net/ubrowser/httpfactory.h
Side-by-side diff
Diffstat (limited to 'noncore/net/ubrowser/httpfactory.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/ubrowser/httpfactory.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/noncore/net/ubrowser/httpfactory.h b/noncore/net/ubrowser/httpfactory.h
index 1802f56..214120c 100644
--- a/noncore/net/ubrowser/httpfactory.h
+++ b/noncore/net/ubrowser/httpfactory.h
@@ -17,3 +17,3 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include <qmime.h>
-#include <qsocket.h>
+//#include <qsocket.h>
#include <qstring.h>
@@ -21,2 +21,3 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include <qtextbrowser.h>
+#include <qmessagebox.h>
@@ -24,2 +25,9 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <unistd.h>
+#include <netinet/in.h>
+#include <netdb.h>
+#include <arpa/inet.h>
+
#include "httpcomm.h"
@@ -33,3 +41,3 @@ public:
private:
- QSocket *socket;
+// QSocket *socket;
HttpComm *comm;
@@ -38,2 +46,6 @@ private:
QTextBrowser *browser;
+
+ const QByteArray processResponse( int sockfd, bool &isText) const;
+ const QByteArray recieveNormal( int sockfd, int dataLen ) const;
+ const QByteArray recieveChunked( int sockfd ) const;
};