mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 03:33:44 +01:00
Basic upload via web browser support, only single file almost works
This commit is contained in:
1 parent
c686d48268
commit
dc682fb2c8
13 files changed
+420
-26
No files matched your search
+4
-2
@@ -4,9 +4,9 @@
|
||||
#include "Common/StringUtils.h"
|
||||
#include "Core/WebServer.h"
|
||||
|
||||
UploadScreen::UploadScreen() {
|
||||
UploadScreen::UploadScreen(const Path &targetFolder) : targetFolder_(targetFolder) {
|
||||
net::GetLocalIP4List(localIPs_);
|
||||
|
||||
WebServerSetUploadPath(targetFolder);
|
||||
StartWebServer(WebServerFlags::FILE_UPLOAD);
|
||||
}
|
||||
|
||||
@@ -36,6 +36,8 @@ void UploadScreen::CreateViews() {
|
||||
root_->Add(new TextView(co->T("Connecting...")));
|
||||
}
|
||||
|
||||
root_->Add(new TextView(std::string(co->T("Uploading to: ")) + targetFolder_.ToVisualString()));
|
||||
|
||||
//infoText->SetTextAlignment(TEXT_ALIGN_CENTER);
|
||||
//verticalLayout->AddView(infoText);
|
||||
//AddStandardBack(verticalLayout);
|
||||
|
||||
Reference in new issue
Block a user