GCC Code Coverage Report
Directory: src/ Exec Total Coverage
File: src/net/tmwa/mail2handler.cpp Lines: 0 21 0.0 %
Date: 2021-03-17 Branches: 0 0 0.0 %

Line Branch Exec Source
1
/*
2
 *  The ManaPlus Client
3
 *  Copyright (C) 2011-2019  The ManaPlus Developers
4
 *  Copyright (C) 2019-2021  Andrei Karas
5
 *
6
 *  This file is part of The ManaPlus Client.
7
 *
8
 *  This program is free software; you can redistribute it and/or modify
9
 *  it under the terms of the GNU General Public License as published by
10
 *  the Free Software Foundation; either version 2 of the License, or
11
 *  any later version.
12
 *
13
 *  This program is distributed in the hope that it will be useful,
14
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 *  GNU General Public License for more details.
17
 *
18
 *  You should have received a copy of the GNU General Public License
19
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
 */
21
22
#include "net/tmwa/mail2handler.h"
23
24
#include "debug.h"
25
26
namespace TmwAthena
27
{
28
29
Mail2Handler::Mail2Handler()
30
{
31
    mail2Handler = this;
32
}
33
34
Mail2Handler::~Mail2Handler()
35
{
36
    mail2Handler = nullptr;
37
}
38
39
void Mail2Handler::openWriteMail(const std::string &receiver A_UNUSED) const
40
{
41
}
42
43
void Mail2Handler::addItem(const Item *const item A_UNUSED,
44
                           const int amount A_UNUSED) const
45
{
46
}
47
48
void Mail2Handler::removeItem(const int index A_UNUSED,
49
                              const int amount A_UNUSED) const
50
{
51
}
52
53
void Mail2Handler::sendMail(const std::string &to A_UNUSED,
54
                            const std::string &title A_UNUSED,
55
                            const std::string &body A_UNUSED,
56
                            const int64_t &money A_UNUSED) const
57
{
58
}
59
60
void Mail2Handler::queueCheckName(const MailQueueTypeT type A_UNUSED,
61
                                  const std::string &to A_UNUSED,
62
                                  const std::string &title A_UNUSED,
63
                                  const std::string &body A_UNUSED,
64
                                  const int64_t &money A_UNUSED) const
65
{
66
}
67
68
void Mail2Handler::nextPage(const MailOpenTypeT openType A_UNUSED,
69
                            const int64_t mailId A_UNUSED) const
70
{
71
}
72
73
void Mail2Handler::readMail(const MailOpenTypeT openType A_UNUSED,
74
                            const int64_t mailId A_UNUSED) const
75
{
76
}
77
78
void Mail2Handler::deleteMail(const MailOpenTypeT openType A_UNUSED,
79
                              const int64_t mailId A_UNUSED) const
80
{
81
}
82
83
void Mail2Handler::requestMoney(const MailOpenTypeT openType A_UNUSED,
84
                                const int64_t mailId A_UNUSED) const
85
{
86
}
87
88
void Mail2Handler::requestItems(const MailOpenTypeT openType A_UNUSED,
89
                                const int64_t mailId A_UNUSED) const
90
{
91
}
92
93
void Mail2Handler::refreshMailList(const MailOpenTypeT openType A_UNUSED,
94
                                   const int64_t mailId A_UNUSED) const
95
{
96
}
97
98
void Mail2Handler::openMailBox(const MailOpenTypeT openType A_UNUSED) const
99
{
100
}
101
102
void Mail2Handler::closeMailBox() const
103
{
104
}
105
106
void Mail2Handler::cancelWriteMail() const
107
{
108
}
109
110
void Mail2Handler::requestCheckName(const std::string &name A_UNUSED) const
111
{
112
}
113
114
std::string Mail2Handler::getCheckedName() const
115
{
116
    return std::string();
117
}
118
119
}  // namespace TmwAthena