Files
MuditaOS/module-apps/application-phonebook/ApplicationPhonebook.hpp
Radoslaw Wicik a8573a404c Apply new style
2020-03-17 10:03:16 +01:00

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