mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
26 lines
469 B
C++
26 lines
469 B
C++
#include "app.h"
|
|
#include "../apps_container.h"
|
|
|
|
extern "C" {
|
|
#include <assert.h>
|
|
}
|
|
|
|
namespace HardwareTest {
|
|
|
|
App * App::Snapshot::unpack(Container * container) {
|
|
return new App(container, this);
|
|
}
|
|
|
|
App::Descriptor * App::Snapshot::descriptor() {
|
|
static Descriptor descriptor;
|
|
return &descriptor;
|
|
}
|
|
|
|
App::App(Container * container, Snapshot * snapshot) :
|
|
::App(container, snapshot, &m_keyboardController),
|
|
m_keyboardController(&m_modalViewController)
|
|
{
|
|
}
|
|
|
|
}
|