xo-object2: streamline setup

This commit is contained in:
Roland Conybeare 2026-03-16 14:57:23 -05:00
commit 441044dd01
9 changed files with 55 additions and 104 deletions

View file

@ -0,0 +1,23 @@
/** @file SetupObject2.hpp
*
* @author Roland Conybeare, Jan 2026
**/
#pragma once
#include <xo/alloc2/Collector.hpp>
namespace xo {
namespace scm {
struct SetupObject2 {
public:
using ACollector = xo::mm::ACollector;
public:
static bool register_facets();
static bool register_types(obj<ACollector> gc);
};
}
}
/* end object2_register_facets.hpp */

View file

@ -1,15 +0,0 @@
/** @file object2_register_facets.hpp
*
* @author Roland Conybeare, Jan 2026
**/
#pragma once
namespace xo {
namespace scm {
/** Register object2 (facet,impl) combinations with FacetRegistry **/
bool object2_register_facets();
}
}
/* end object2_register_facets.hpp */

View file

@ -1,17 +0,0 @@
/** @file object2_register_types.hpp
*
* @author Roland Conybeare, Dec 2025
**/
#pragma once
#include <xo/alloc2/Collector.hpp>
namespace xo {
namespace scm {
/** Register object2 (facet,impl) combinations with FacetRegistry **/
bool object2_register_types(obj<xo::mm::ACollector> gc);
}
}
/* end object2_register_types.hpp */