]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/protocol/http.h
Fix so OGL can build without wxBuffer
[wxWidgets.git] / include / wx / protocol / http.h
index 5aeea291bea7dd176eadb3cc3cac1418257483ec..72080ba71d59fa4853ce29d58f899b56f99422be 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,12 @@ protected:
   bool BuildRequest(const wxString& path, wxHTTP_Req req);
   void SendHeaders();
   bool ParseHeaders();
+
+  // deletes the header value strings
+  void ClearHeaders();
 };
 
-#endif
+#endif // wxUSE_PROTOCOL_HTTP
+
+#endif // _WX_HTTP_H
+