mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-03 20:57:19 -04:00
31 lines
963 B
C++
31 lines
963 B
C++
#include "Application.hpp"
|
|
|
|
namespace app
|
|
{
|
|
|
|
/* this is is a bad idea but no other exists as of 06.02.2020 */
|
|
static std::string defaultCountryCode = "+48";
|
|
|
|
const inline std::string name_phonebook = "ApplicationPhonebook";
|
|
|
|
class ApplicationPhonebook : public app::Application
|
|
{
|
|
public:
|
|
ApplicationPhonebook(std::string name = name_phonebook, std::string parent = "", bool startBackgound = false);
|
|
virtual ~ApplicationPhonebook();
|
|
|
|
sys::Message_t DataReceivedHandler(sys::DataMessage *msgl, sys::ResponseMessage *resp) override;
|
|
sys::ReturnCodes InitHandler() override;
|
|
sys::ReturnCodes DeinitHandler() override;
|
|
|
|
sys::ReturnCodes SwitchPowerModeHandler(const sys::ServicePowerMode mode) override final
|
|
{
|
|
return sys::ReturnCodes::Success;
|
|
}
|
|
|
|
void createUserInterface() override;
|
|
void destroyUserInterface() override;
|
|
};
|
|
|
|
} // namespace app
|