diff --git a/src/gui/qt/logfiledialog/loguploadcallback.cpp b/src/gui/qt/logfiledialog/loguploadcallback.cpp
new file mode 100644
index 00000000..60c8533b
--- /dev/null
+++ b/src/gui/qt/logfiledialog/loguploadcallback.cpp
@@ -0,0 +1,36 @@
+/*****************************************************************************
+ * PokerTH - The open source texas holdem engine *
+ * Copyright (C) 2006-2012 Felix Hammer, Florian Thauer, Lothar May *
+ * *
+ * This program is free software: you can redistribute it and/or modify *
+ * it under the terms of the GNU Affero General Public License as *
+ * published by the Free Software Foundation, either version 3 of the *
+ * License, or (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU Affero General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU Affero General Public License *
+ * along with this program. If not, see . *
+ *****************************************************************************/
+
+#include "loguploadcallback.h"
+
+LogUploadCallback::LogUploadCallback()
+{
+
+}
+
+size_t
+LogUploadCallback::writeCallback(char* buf, size_t size, size_t nmemb, void* up)
+{
+ data = "";
+
+ for (int c = 0; c
+
+class LogUploadCallback
+{
+public:
+ LogUploadCallback();
+
+ size_t writeCallback(char* buf, size_t size, size_t nmemb, void* up);
+ std::string getData() { return data; }
+
+private:
+
+ std::string data;
+
+};
+
+#endif // LOGUPLOADCALLBACK_H