Introduced QmlJS::LookupContext.

This commit is contained in:
Roberto Raggi
2010-07-08 14:38:47 +02:00
parent a2ae7eae4c
commit d70fe1eb61
7 changed files with 192 additions and 36 deletions

View File

@@ -31,12 +31,20 @@
using namespace QmlJS;
static ModelManagerInterface *g_instance = 0;
ModelManagerInterface::ModelManagerInterface(QObject *parent)
: QObject(parent)
{
Q_ASSERT(! g_instance);
g_instance = this;
}
ModelManagerInterface::~ModelManagerInterface()
{
}
ModelManagerInterface *ModelManagerInterface::instance()
{
return g_instance;
}