Reformat the world

This commit is contained in:
Tim Wojtulewicz 2021-09-16 15:35:39 -07:00
parent 194cb24547
commit b2f171ec69
714 changed files with 35149 additions and 35203 deletions

View file

@ -6,7 +6,8 @@
#include "zeek/plugin/Component.h"
#include "zeek/plugin/TaggedComponent.h"
namespace zeek::logging {
namespace zeek::logging
{
class WriterFrontend;
class WriterBackend;
@ -14,8 +15,8 @@ class WriterBackend;
/**
* Component description for plugins providing log writers.
*/
class Component : public plugin::Component,
public plugin::TaggedComponent<logging::Tag> {
class Component : public plugin::Component, public plugin::TaggedComponent<logging::Tag>
{
public:
typedef WriterBackend* (*factory_callback)(WriterFrontend* frontend);
@ -48,16 +49,16 @@ public:
/**
* Returns the writer's factory function.
*/
factory_callback Factory() const { return factory; }
factory_callback Factory() const { return factory; }
protected:
/**
* Overriden from plugin::Component.
*/
* Overriden from plugin::Component.
*/
void DoDescribe(ODesc* d) const override;
private:
factory_callback factory;
};
};
} // namespace zeek::logging
} // namespace zeek::logging