mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-06-14 19:45:31 -04:00
68 lines
1.4 KiB
C++
68 lines
1.4 KiB
C++
|
||
/*
|
||
* @file Common.hpp
|
||
* @author Mateusz Piesta (mateusz.piesta@mudita.com)
|
||
* @date 28.05.19
|
||
* @brief
|
||
* @copyright Copyright (C) 2019 mudita.com
|
||
* @details
|
||
*/
|
||
|
||
|
||
#ifndef PUREPHONE_COMMON_HPP
|
||
#define PUREPHONE_COMMON_HPP
|
||
|
||
/**
|
||
* 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
|
||
};
|
||
|
||
#endif //PUREPHONE_COMMON_HPP
|