Files
MuditaOS/module-db/Common/Common.hpp
Piotr Tański 1d2f5cf7a4 [EGD-7754] Dates bumped in disclaimers
Dates bumped from 2020 to 2021.
2021-10-11 19:08:26 +02:00

58 lines
1.4 KiB
C++
Raw Permalink 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.
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
#include <cstdint> // for uint32_t
/**
* Types of sms message
*/
enum class SMSType : uint32_t
{
DRAFT = 0x01,
FAILED = 0x02,
INBOX = 0x04,
OUTBOX = 0x08,
QUEUED = 0x10,
INPUT = 0x12,
UNKNOWN = 0xFF
};
enum class EntryState
{
ALL, /// read and unread (by user) entries
READ, /// only read (by user) entries
UNREAD /// only unread (by user) entries
};
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
};