wavelength 1.0.0
Loading...
Searching...
No Matches
loadnetconfigsscreen.h
Go to the documentation of this file.
1#pragma once
2
3#include <list>
4
6#include "met/errorscreen.h"
8#include "script/dataarray.h"
9#include "ui/uiscreen.h"
11
21public:
29#ifdef VIDEO_STANDARD_PAL
30 explicit LoadNetConfigsScreen(DataArray *pData) : ErrorScreen(pData), mRelist(0) {
31 }
32#else
33 explicit LoadNetConfigsScreen(DataArray *pData) : ErrorScreen(pData) {
34 }
35#endif
36
44 }
45
54 static UIScreen *New(DataArray *pData) {
55 return new LoadNetConfigsScreen(pData);
56 }
57
58#ifdef VIDEO_STANDARD_PAL
65 void Poll(float fTime) override;
66#endif
67
75 const char *Title() override {
76 return "";
77 }
78
87 bool DispatchPriv(Message *pMsg) override;
88
97 void OnNetConfigsListed(int nStatus, std::list<InetConfig> *pConfigs) override;
98
99private:
108 bool HandleTransitionComplete(UITransitionCompleteMsg *pMsg);
109
110#ifdef VIDEO_STANDARD_PAL
111 int mRelist; // Whether the next poll lists the configurations again.
112#endif
113};
Reference-counted array of script data nodes.
Definition dataarray.h:20
ErrorScreen(DataArray *pData)
Construct the screen from its script description.
~LoadNetConfigsScreen() override
Destroy the screen.
Definition loadnetconfigsscreen.h:43
void OnNetConfigsListed(int nStatus, std::list< InetConfig > *pConfigs) override
Hand the configurations to fn_config and go there, or open the dialog of the failure.
const char * Title() override
Report the empty title of the screen.
Definition loadnetconfigsscreen.h:75
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition loadnetconfigsscreen.h:54
bool DispatchPriv(Message *pMsg) override
Route the end of the entry to HandleTransitionComplete().
LoadNetConfigsScreen(DataArray *pData)
Construct the screen from its script description.
Definition loadnetconfigsscreen.h:33
Receiver of the outcome of the memory card work MCManager runs.
Definition memcarduser.h:19
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
virtual void Poll(float fTime)
Advance the panels to a time, and finish the exit or the entry once their animations stop.
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