[linux] Fixed build errors

This commit is contained in:
Alex Zolotarev 2011-11-11 10:32:51 +01:00 committed by Alex Zolotarev
parent 9225cde271
commit 6739378625
4 changed files with 39 additions and 0 deletions

View file

@ -4,6 +4,8 @@
#include "../std/vector.hpp"
#include "../std/utility.hpp"
#include "../std/set.hpp"
#include "../std/stdint.hpp"
#include "../std/cstdio.hpp"
namespace downloader
{

View file

@ -0,0 +1,25 @@
#include "http_thread_qt.hpp"
#include "http_thread_callback.hpp"
#include "../std/string.hpp"
// @TODO empty stub, add QT implementation
namespace downloader
{
HttpThread * CreateNativeHttpThread(string const & url,
downloader::IHttpThreadCallback & cb,
int64_t beg,
int64_t end,
int64_t size,
string const & pb)
{
return 0;
}
void DeleteNativeHttpThread(HttpThread * request)
{
}
} // namespace downloader

View file

@ -0,0 +1,7 @@
#pragma once
#include "../std/stdint.hpp"
class HttpThread
{
};

View file

@ -19,6 +19,11 @@ include($$ROOT_DIR/common.pri)
location_service.cpp
HEADERS += wifi_info.hpp \
location_service.hpp
!macx* {
SOURCES += http_thread_qt.cpp
HEADERS += http_thread_qt.hpp
}
win32* {
SOURCES += platform_win.cpp \
wifi_info_windows.cpp