wavelength 1.0.0
Loading...
Searching...
No Matches
netsavereposlistscreen.h
Go to the documentation of this file.
1#pragma once
2
3#ifdef VIDEO_STANDARD_PAL
4
5#include <list>
6
7#include "met/freqscreen.h"
10#include "script/dataarray.h"
11#include "ui/uiscreen.h"
13
21class NetSaveReposListScreen : public FreqScreen {
22public:
29 explicit NetSaveReposListScreen(DataArray *pData) : FreqScreen(pData) {
30 }
31
37 ~NetSaveReposListScreen() override {
38 }
39
47 static UIScreen *New(DataArray *pData) {
48 return new NetSaveReposListScreen(pData);
49 }
50
58 bool DispatchPriv(Message *pMsg) override;
59
66 const char *Title() override {
67 return "";
68 }
69
71 void SetRemixes(const std::list<NetRepoRemix> &remixes) {
72 mRemixes = remixes;
73 }
74
75private:
85 bool HandleTransitionComplete(UITransitionCompleteMsg *pMsg);
86
97 bool HandleRepoRemixStatus(RepoRemixStatusMsg *pMsg);
98
99 std::list<NetRepoRemix> mRemixes;
100};
101
102#endif
Front-end screen of the metagame, which places the menu projector and plays the menu sounds.
Definition freqscreen.h:28
bool HandleTransitionComplete(UITransitionCompleteMsg *pMsg)
Choose the component the shortcuts section of the metagame configuration lists for the screen.
virtual const char * Title()
Report the localised title of the screen, the token <name>_TITLE.
bool DispatchPriv(Message *pMsg) override
Play the sound of a chosen component, follow a shortcut, and keep unused controllers out.
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition freqscreen.h:57