WIP yet more stubs to make it link...
This commit is contained in:
parent
1614769664
commit
706589d422
4 changed files with 31 additions and 2 deletions
|
|
@ -36,6 +36,9 @@ namespace cinelerra
|
|||
|
||||
CINELERRA_ERROR_DEFINE (CAPABILITY_QUERY, "unresolvable capability query");
|
||||
|
||||
|
||||
ConfigRulesInterface<NullType>::~ConfigRulesInterface()
|
||||
{ };
|
||||
|
||||
} // namespace query
|
||||
|
||||
|
|
|
|||
|
|
@ -118,9 +118,9 @@ namespace cinelerra
|
|||
class QueryHandler
|
||||
{
|
||||
protected:
|
||||
virtual ~QueryHandler();
|
||||
virtual ~QueryHandler() { }
|
||||
public:
|
||||
virtual shared_ptr<TY> resolve (Query<TY> q);
|
||||
virtual shared_ptr<TY> resolve (Query<TY> q) = 0;
|
||||
};
|
||||
|
||||
// TODO: the Idea is to provide specialisations for the concrete types
|
||||
|
|
|
|||
|
|
@ -22,6 +22,12 @@
|
|||
|
||||
|
||||
#include "common/query/mockconfigrules.hpp"
|
||||
|
||||
#include "proc/mobject/session/track.hpp"
|
||||
#include "proc/asset/procpatt.hpp"
|
||||
#include "proc/asset/port.hpp"
|
||||
|
||||
|
||||
//#include "common/util.hpp"
|
||||
#include "nobugcfg.h"
|
||||
|
||||
|
|
@ -37,6 +43,24 @@ namespace cinelerra
|
|||
{
|
||||
|
||||
}
|
||||
|
||||
shared_ptr<Track>
|
||||
MockConfigRules::resolve (Query<Track> q)
|
||||
{
|
||||
UNIMPLEMENTED ("solve for Track");
|
||||
}
|
||||
|
||||
shared_ptr<Port>
|
||||
MockConfigRules::resolve (Query<Port> q)
|
||||
{
|
||||
UNIMPLEMENTED ("solve for Port");
|
||||
}
|
||||
|
||||
PProcPatt
|
||||
MockConfigRules::resolve (Query<const ProcPatt> q)
|
||||
{
|
||||
UNIMPLEMENTED ("solve for ProcPatt");
|
||||
}
|
||||
|
||||
|
||||
} // namespace query
|
||||
|
|
|
|||
|
|
@ -66,6 +66,8 @@ namespace cinelerra
|
|||
protected:
|
||||
MockConfigRules ();
|
||||
friend class cinelerra::singleton::StaticCreate<MockConfigRules>;
|
||||
|
||||
virtual ~MockConfigRules() {}
|
||||
|
||||
public:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue