Numworks Epsilon  1.4.1
Graphing Calculator Operating System
app.cpp
Go to the documentation of this file.
1 #include "app.h"
2 #include "../apps_container.h"
3 #include <assert.h>
4 
5 namespace USB {
6 
7 I18n::Message App::Descriptor::name() {
8  return upperName();
9 }
10 
11 I18n::Message App::Descriptor::upperName() {
12  return I18n::Message::USBAppCapital;
13 }
14 
16  return new App(container, this);
17 }
18 
20  static Descriptor descriptor;
21  return &descriptor;
22 }
23 
25  ::App(container, snapshot, &m_usbConnectedController)
26 {
27 }
28 
30  return false;
31 }
32 
33 }
Snapshot * snapshot()
Definition: app.cpp:41
bool processEvent(Ion::Events::Event) override
Definition: app.cpp:29
Definition: app.h:9
App(Container *container, Snapshot *snapshot, ViewController *rootViewController, I18n::Message warningMessage=(I18n::Message) 0)
Definition: app.cpp:30
I18n::Message upperName() override
Definition: app.cpp:11
Definition: app.cpp:5
I18n::Message name() override
Definition: app.cpp:7
Descriptor * descriptor() override
Definition: app.cpp:19
const Container * container() const
Definition: app.cpp:102
App * unpack(Container *container) override
Definition: app.cpp:15