Files
Upsilon/apps/usb/app.cpp
Léa Saviot 54eff38c34 [usb] USB aplication that displays the link to the workshop.
Change-Id: I8458fe2a7f1eb4f04fc63f9e0b49d251c20f4cb6
2018-04-06 14:31:47 +02:00

34 lines
618 B
C++

#include "app.h"
#include "../apps_container.h"
#include <assert.h>
namespace USB {
I18n::Message App::Descriptor::name() {
return upperName();
}
I18n::Message App::Descriptor::upperName() {
return I18n::Message::USBAppCapital;
}
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_usbConnectedController)
{
}
bool App::processEvent(Ion::Events::Event e) {
return false;
}
}