Move all of the base plugin classes into the zeek::plugin namespace

This commit is contained in:
Tim Wojtulewicz 2020-05-13 17:11:03 -07:00
parent cbdb8ee074
commit e77e8c4b7b
28 changed files with 404 additions and 240 deletions

View file

@ -13,7 +13,7 @@
#include "zeekygen/Manager.h"
#include "DebugLogger.h"
namespace plugin {
namespace zeek::plugin {
/**
* A class that manages tracking of plugin components (e.g. analyzers) and
@ -267,3 +267,9 @@ void ComponentManager<T, C>::RegisterComponent(C* component,
}
} // namespace plugin
namespace plugin {
template <class T, class C>
using ComponentManager [[deprecated("Remove in v4.1. Use zeek::plugin::ComponentManager instead.")]] =
zeek::plugin::ComponentManager<T, C>;
}