wavelength 1.0.0
Loading...
Searching...
No Matches
netdouploadscreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/freqscreen.h"
5#include "os/string.h"
6#include "script/dataarray.h"
7#include "ui/uiscreen.h"
9
16public:
24 explicit NetDoUploadScreen(DataArray *pData);
25
32 ~NetDoUploadScreen() override {
33 }
34
43 static UIScreen *New(DataArray *pData) {
44 return new NetDoUploadScreen(pData);
45 }
46
55 bool DispatchPriv(Message *pMsg) override;
56
64 const char *Title() override {
65 return "";
66 }
67
69 void SetNote(const char *pszNote) {
70 mNote = pszNote;
71 }
72
73private:
83 void ShowProgress(float fProgress);
84
95 bool HandleTransitionComplete(UITransitionCompleteMsg *pMsg);
96
107 bool HandleRepoRemixStatus(RepoRemixStatusMsg *pMsg);
108
109 String mNote;
110};
Reference-counted array of script data nodes.
Definition dataarray.h:20
FreqScreen(DataArray *pData)
Construct a screen from its script description.
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
static UIScreen * New(DataArray *pData)
Produce a screen on the heap.
Definition netdouploadscreen.h:43
void SetNote(const char *pszNote)
Definition netdouploadscreen.h:69
~NetDoUploadScreen() override
Release the screen.
Definition netdouploadscreen.h:32
NetDoUploadScreen(DataArray *pData)
Construct a screen with no note.
const char * Title() override
Report no title.
Definition netdouploadscreen.h:64
bool DispatchPriv(Message *pMsg) override
Route the status of the upload and the end of the entry.
Progress or result of a transfer of a remix, NetLobby::UploadRemix() or NetLobby::DownloadRemix().
Definition reporemixstatusmsg.h:14
Growable text buffer that is also a PrnStream.
Definition string.h:19
UIScreen(DataArray *pData)
Construct a screen from its script description.
Message a screen sends itself once its panels have finished their entry animations.
Definition uitransitioncompletemsg.h:23