Commit ad1a2e35 authored by David Thompson's avatar David Thompson
Browse files

Add some dependencies to registrars.

parent 48572109
......@@ -12,8 +12,10 @@
#include "smtk/CoreExports.h"
#include "smtk/geometry/Registrar.h"
#include "smtk/operation/Manager.h"
#include "smtk/resource/Manager.h"
#include "smtk/resource/Registrar.h"
namespace smtk
{
......@@ -22,6 +24,8 @@ namespace model
class SMTKCORE_EXPORT Registrar
{
public:
using Dependencies = std::tuple<resource::Registrar, geometry::Registrar>;
static void registerTo(const smtk::operation::Manager::Ptr&);
static void unregisterFrom(const smtk::operation::Manager::Ptr&);
......
......@@ -14,6 +14,7 @@
#include "smtk/attribute/Registrar.h"
#include "smtk/geometry/Manager.h"
#include "smtk/geometry/Registrar.h"
#include "smtk/mesh/resource/Registrar.h"
#include "smtk/model/Registrar.h"
#include "smtk/operation/Manager.h"
......@@ -30,8 +31,13 @@ namespace mesh
class SMTKMESHSESSION_EXPORT Registrar
{
public:
using Dependencies =
std::tuple<operation::Registrar, model::Registrar, attribute::Registrar, mesh::Registrar>;
using Dependencies = std::tuple<
attribute::Registrar,
geometry::Registrar,
operation::Registrar,
model::Registrar,
mesh::Registrar
>;
static void registerTo(const smtk::operation::Manager::Ptr&);
static void unregisterFrom(const smtk::operation::Manager::Ptr&);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment