xo-reader2: streamline setup
This commit is contained in:
parent
14bcd9dec6
commit
f4532235c0
7 changed files with 48 additions and 76 deletions
25
include/xo/reader2/SetupReader2.hpp
Normal file
25
include/xo/reader2/SetupReader2.hpp
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/** @file SetupReader2.hpp
|
||||
*
|
||||
* @author Roland Conybeare, Jan 2026
|
||||
**/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <xo/alloc2/Collector.hpp>
|
||||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
struct SetupReader2 {
|
||||
public:
|
||||
using ACollector = xo::mm::ACollector;
|
||||
|
||||
public:
|
||||
/** Register reader2 (facet,impl) combinations with FacetRegistry **/
|
||||
static bool register_facets();
|
||||
/** Register object types with @p gc **/
|
||||
static bool register_types(obj<ACollector> gc);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
/* end SetupReader2.hpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue