~aleteoryx/muditaos

ref: sign_test muditaos/module-db/Common/Common.hpp -rw-r--r-- 1.4 KiB
a217eeb3 — Dawid Wojtas [BH-2024] Fix lack of alarm directory after updating software 1 year, 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// 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 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
};