InspIRCd  3.0
isupportmanager.h
1 /*
2  * InspIRCd -- Internet Relay Chat Daemon
3  *
4  * Copyright (C) 2017 Sadie Powell <[email protected]>
5  * Copyright (C) 2014, 2016 Attila Molnar <[email protected]>
6  *
7  * This file is part of InspIRCd. InspIRCd is free software: you can
8  * redistribute it and/or modify it under the terms of the GNU General Public
9  * License as published by the Free Software Foundation, version 2.
10  *
11  * This program is distributed in the hope that it will be useful, but WITHOUT
12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14  * details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 
21 #pragma once
22 
24 class CoreExport ISupportManager
25 {
26  private:
28  std::vector<Numeric::Numeric> cachedlines;
29 
34  void AppendValue(std::string& buffer, const std::string& value);
35 
36  public:
41  void Build();
42 
46  const std::vector<Numeric::Numeric>& GetLines() const { return cachedlines; }
47 
51  void SendTo(LocalUser* user);
52 };
ISupportManager
Definition: isupportmanager.h:24
ISupportManager::GetLines
const std::vector< Numeric::Numeric > & GetLines() const
Definition: isupportmanager.h:46
LocalUser
Definition: users.h:727