Files
MuditaOS/module-db/Common/Common.hpp

68 lines
1.4 KiB
C++
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* @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 numbers 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 doesnt 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