]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/protocol/http.h
added some macros to define version strings from version number (instead of having...
[wxWidgets.git] / include / wx / protocol / http.h
index 5aeea291bea7dd176eadb3cc3cac1418257483ec..feb10b394732911b455ed7cbc2a843e0f72e5413 100644 (file)
 #ifndef _WX_HTTP_H
 #define _WX_HTTP_H
 
+#include "wx/defs.h"
+
+#if wxUSE_PROTOCOL_HTTP
+
 #include "wx/list.h"
 #include "wx/protocol/protocol.h"
 
@@ -46,6 +50,14 @@ protected:
   bool BuildRequest(const wxString& path, wxHTTP_Req req);
   void SendHeaders();
   bool ParseHeaders();
+
+  // deletes the header value strings
+  void ClearHeaders();
+
+    DECLARE_NO_COPY_CLASS(wxHTTP)
 };
 
-#endif
+#endif // wxUSE_PROTOCOL_HTTP
+
+#endif // _WX_HTTP_H
+