Blame view

build4/epsilon-master/apps/settings/app.cpp 784 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
  #include "app.h"
  #include "settings_icon.h"
  #include "../i18n.h"
  
  namespace Settings {
  
  I18n::Message App::Descriptor::name() {
    return I18n::Message::SettingsApp;
  }
  
  I18n::Message App::Descriptor::upperName() {
    return I18n::Message::SettingsAppCapital;
  }
  
  const Image * App::Descriptor::icon() {
    return ImageStore::SettingsIcon;
  }
  
  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) :
    Shared::TextFieldDelegateApp(container, snapshot, &m_stackViewController),
    m_mainController(&m_stackViewController),
    m_stackViewController(&m_modalViewController, &m_mainController)
  {
  }
  
  }