Sha256: d3b99a793585623c1e972f4b645282d4f5e3bba73991ccb7c9123dcdce8057d8

Contents?: true

Size: 1.4 KB

Versions: 1

Compression:

Stored size: 1.4 KB

Contents

// NavbarRuntime.cpp
#include "NavbarRuntime.h"
#include "NavbarFactory.h"
#include "Navbar_impl.h"
#include "../../wp8/rhoruntime/common/RhoConvertWP8.h"

using namespace Platform;
using namespace rho::apiGenerator;

using namespace rho;

namespace rhoruntime
{

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

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

NavbarSingletonComponent::NavbarSingletonComponent(INavbarSingletonImpl^ impl):
    _impl(impl)
{
    // TODO: implement singleton component constructor
}

void NavbarSingletonComponent::create(Windows::Foundation::Collections::IMapView<Platform::String^, Platform::String^>^ navBarProperties, IMethodResult^ oResult)
{
    //((CNavbarImpl*)getCppImpl())->create(rho::common::convertHashFromWP8(navBarProperties), *(CMethodResult*)(oResult->getNative()));
}

void NavbarSingletonComponent::remove(IMethodResult^ oResult)
{
    //((CNavbarImpl*)getCppImpl())->remove(*(CMethodResult*)(oResult->getNative()));
}

void NavbarSingletonComponent::started(IMethodResult^ oResult)
{
    //((CNavbarImpl*)getCppImpl())->started(*(CMethodResult*)(oResult->getNative()));
}

void NavbarFactoryComponent::setImpl(INavbarFactoryImpl^ impl)
{
    CNavbarFactory::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/NavbarRuntime.cpp