Remove obsolete ZEEK_FORWARD_DECLARE_NAMESPACED macros

This commit is contained in:
Tim Wojtulewicz 2021-02-01 17:04:58 -07:00
parent 8c4092a0ad
commit 4ad08172d0
121 changed files with 722 additions and 547 deletions

View file

@ -6,11 +6,11 @@
#include "zeek/plugin/TaggedComponent.h"
#include "zeek/input/Tag.h"
ZEEK_FORWARD_DECLARE_NAMESPACED(ReaderFrontend, zeek, input);
ZEEK_FORWARD_DECLARE_NAMESPACED(ReaderBackend, zeek, input);
namespace zeek::input {
class ReaderFrontend;
class ReaderBackend;
/**
* Component description for plugins providing log readers.
*/

View file

@ -12,13 +12,15 @@
#include "zeek/threading/SerialTypes.h"
#include "zeek/input/Tag.h"
ZEEK_FORWARD_DECLARE_NAMESPACED(RecordVal, zeek);
ZEEK_FORWARD_DECLARE_NAMESPACED(ReaderFrontend, zeek, input);
ZEEK_FORWARD_DECLARE_NAMESPACED(ReaderBackend, zeek, input);
namespace zeek {
class RecordVal;
namespace input {
class ReaderFrontend;
class ReaderBackend;
/**
* Singleton class for managing input streams.
*/

View file

@ -9,10 +9,10 @@
#include "zeek/input/Component.h"
ZEEK_FORWARD_DECLARE_NAMESPACED(ReaderFrontend, zeek::input);
namespace zeek::input {
class ReaderFrontend;
/**
* The modes a reader can be in.
*/

View file

@ -5,10 +5,13 @@
#include "zeek/input/ReaderBackend.h"
#include "zeek/threading/SerialTypes.h"
ZEEK_FORWARD_DECLARE_NAMESPACED(EnumVal, zeek);
ZEEK_FORWARD_DECLARE_NAMESPACED(Manager, zeek, input);
namespace zeek {
namespace zeek::input {
class EnumVal;
namespace input {
class Manager;
/**
* Bridge class between the input::Manager and backend input threads. The
@ -130,4 +133,5 @@ private:
const char* name; // Descriptive name.
};
} // namespace zeek::input
} // namespace input
} // namespace zeek

View file

@ -5,17 +5,21 @@
#include "zeek/zeek-config.h"
#include "zeek/Tag.h"
ZEEK_FORWARD_DECLARE_NAMESPACED(EnumVal, zeek);
namespace zeek {
namespace zeek::plugin {
template <class T> class TaggedComponent;
template <class T, class C> class ComponentManager;
}
class EnumVal;
ZEEK_FORWARD_DECLARE_NAMESPACED(Manager, zeek, input);
ZEEK_FORWARD_DECLARE_NAMESPACED(Component, zeek, input);
namespace plugin {
namespace zeek::input {
template <class T> class TaggedComponent;
template <class T, class C> class ComponentManager;
} // namespace plugin
namespace input {
class Manager;
class Component;
/**
* Class to identify a reader type.
@ -109,4 +113,5 @@ protected:
explicit Tag(EnumValPtr val);
};
} // namespace zeek::input
} // namespace input
} // namespace zeek