Sha256: e1fdfcc61aa692c5ddd56609fd10578f3d502e7f7a3fbf5ebf169706d9eb87b9

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 KB

Contents

// SQLite3Runtime.cpp
#include "SQLite3Runtime.h"
#include "SQLite3Factory.h"
#include "SQLite3_impl.h"
#include "../../wp8/rhoruntime/common/RhoConvertWP8.h"

using namespace Platform;
using namespace rho::apiGenerator;

using namespace rho;
using namespace database;

namespace rhoruntime
{

SQLite3RuntimeComponent::SQLite3RuntimeComponent(ISQLite3Impl^ impl):
    _impl(impl), _cppImpl(0)
{
    // TODO: implement runtime component constructor
}

int64 SQLite3RuntimeComponent::getCppImpl()
{
    if (_cppImpl == 0)
    {
        _cppImpl = _impl->getNativeImpl();
    }
    return _cppImpl;
}

SQLite3SingletonComponent::SQLite3SingletonComponent(ISQLite3SingletonImpl^ impl):
    _impl(impl)
{
    // TODO: implement singleton component constructor
}

void SQLite3SingletonComponent::isBlobAttr(Platform::String^ partition, int sourceID, Platform::String^ attrName, IMethodResult^ oResult)
{
    //((CSQLite3Impl*)getCppImpl())->isBlobAttr(rho::common::convertStringAFromWP8(partition), sourceID, rho::common::convertStringAFromWP8(attrName), *(CMethodResult*)(oResult->getNative()));
}

void SQLite3FactoryComponent::setImpl(ISQLite3FactoryImpl^ impl)
{
    CSQLite3Factory::setImpl(impl);
}

}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tauplatform-1.0.1 lib/commonAPI/coreapi/ext/platform/wp8/generated/lib/SQLite3Runtime.cpp