1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 09:13:15 +02:00

Move some headers around.

This commit is contained in:
Sadie Powell
2025-03-08 12:22:07 +00:00
parent 9e37a643f1
commit df0cd3ef3e
48 changed files with 55 additions and 55 deletions
+37
View File
@@ -0,0 +1,37 @@
/*
*
* (C) 2003-2025 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
*/
#pragma once
struct EntryMsg
{
Anope::string chan;
Anope::string creator;
Anope::string message;
time_t when;
virtual ~EntryMsg() = default;
protected:
EntryMsg() = default;
};
struct EntryMessageList
: Serialize::Checker<std::vector<EntryMsg *> >
{
protected:
EntryMessageList() : Serialize::Checker<std::vector<EntryMsg *> >("EntryMsg") { }
public:
virtual ~EntryMessageList()
{
for (unsigned i = (*this)->size(); i > 0; --i)
delete (*this)->at(i - 1);
}
virtual EntryMsg *Create() = 0;
};