From 005434abce2f7f741f92fc81f24fb0a61c38ce56 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 7 Oct 2016 17:57:35 -0400 Subject: Set shared library suffix to .so, add missing serializable type GetTypes definition --- src/serialize.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/serialize.cpp b/src/serialize.cpp index 099151191..1cf9bcb58 100644 --- a/src/serialize.cpp +++ b/src/serialize.cpp @@ -255,6 +255,11 @@ TypeBase *TypeBase::Find(const Anope::string &name) return ServiceManager::Get()->FindService(name); } +const std::vector& TypeBase::GetTypes() +{ + return ServiceManager::Get()->FindServices(); +} + FieldBase::FieldBase(Module *c, const Anope::string &n, const Anope::string &t, bool d) : Service(c, FieldBase::NAME) , serialize_type(t) -- cgit