mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-06-28 10:17:24 -04:00
* [EGD-2420] minor fix in call app timer * [EGD-2420] added missing dictionary definitions * [EGD-2420] removed the same preprocesor defintions * [fix][EGD-2420] for adding new entry to calllog DB. It is workaournd as it looks like there is issue with printing 64bit variables in vsnprintf * [EGD-2420] added new timer for call duration on cellular servcice. * [EGD-2420] changed unnecessary LOG_ERRORs to LOG_DEBUGs * [EGD-2420] changed logging levels * [EGD-2420] added TODO
64 lines
1.3 KiB
C++
64 lines
1.3 KiB
C++
|
||
/*
|
||
* @file Common.hpp
|
||
* @author Mateusz Piesta (mateusz.piesta@mudita.com)
|
||
* @date 28.05.19
|
||
* @brief
|
||
* @copyright Copyright (C) 2019 mudita.com
|
||
* @details
|
||
*/
|
||
#pragma once
|
||
|
||
/**
|
||
* Types of sms message
|
||
*/
|
||
enum class SMSType {
|
||
DRAFT = 0x01,
|
||
FAILED = 0x02,
|
||
INBOX = 0x04,
|
||
OUTBOX = 0x08,
|
||
QUEUED = 0x10,
|
||
ALL = 0xFF
|
||
};
|
||
|
||
/**
|
||
* Types of contacts
|
||
*/
|
||
enum class ContactType {
|
||
USER = 1,
|
||
TEMPORARY,
|
||
};
|
||
|
||
enum class ContactNumberType
|
||
{
|
||
CELL = 0, /*!< ID defines that number is a cellphone number. */
|
||
HOME, /*!< ID defines that number is a home number. */
|
||
WORK, /*!< ID defines that number belongs to predefined work number’s group. */
|
||
FAKS, /*!< ID defines that number if a faks number. */
|
||
PAGER, /*!< ID defines that number is a pager number. */
|
||
OTHER /*!< ID defines that number is for device other than defined above. */
|
||
};
|
||
|
||
enum class ContactAddressType
|
||
{
|
||
HOME = 0, /*!< ID defines that address is home address. */
|
||
WORK, /*!< ID defines that address is work address. */
|
||
OTHER /*!< ID defines that address doesn’t belong to any of the types defined above. */
|
||
};
|
||
|
||
enum class SettingsLanguage
|
||
{
|
||
ENGLISH=0x01,
|
||
POLISH=0x02,
|
||
GERMAN=0x04,
|
||
SPANISH=0x08,
|
||
|
||
};
|
||
|
||
enum class SettingsPinMode
|
||
{
|
||
ALWAYS=0,
|
||
DAYS=1
|
||
};
|
||
|