wavelength 1.0.0
Loading...
Searching...
No Matches
deleteremixscreen.h
Go to the documentation of this file.
1#pragma once
2
4#include "met/errorscreen.h"
5#include "os/string.h"
6#include "script/dataarray.h"
7#include "ui/uiscreen.h"
9
17public:
25 explicit DeleteRemixScreen(DataArray *pData) : ErrorScreen(pData) {
26 }
27
34 ~DeleteRemixScreen() override {
35 }
36
45 static UIScreen *New(DataArray *pData) {
46 return new DeleteRemixScreen(pData);
47 }
48
56 const char *Title() override {
57 return "";
58 }
59
68 bool DispatchPriv(Message *pMsg) override;
69
78 void OnRemixDeleted(int nStatus) override;
79
81 void SetRemixName(const char *pszRemixName) {
82 mRemixName = pszRemixName;
83 }
84
85private:
94 bool HandleTransitionComplete(UITransitionCompleteMsg *pMsg);
95
96 String mRemixName;
97};
Reference-counted array of script data nodes.
Definition dataarray.h:20
const char * Title() override
Report the empty title of the screen.
Definition deleteremixscreen.h:56
void SetRemixName(const char *pszRemixName)
Definition deleteremixscreen.h:81
void OnRemixDeleted(int nStatus) override
Go to the done screen after the deletion, or open the dialog of a failure of the memory card.
bool DispatchPriv(Message *pMsg) override
Route the end of the entry to HandleTransitionComplete().
static UIScreen * New(DataArray *pData)
Create a screen from its script description.
Definition deleteremixscreen.h:45
~DeleteRemixScreen() override
Destroy the screen.
Definition deleteremixscreen.h:34
DeleteRemixScreen(DataArray *pData)
Construct the screen from its script description, with no remix.
Definition deleteremixscreen.h:25
ErrorScreen(DataArray *pData)
Construct the screen from its script description.
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
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