Sha256: d097c4b448f587e9c3cbaa4aa5355e8c4736baa120d8a3cb9ab4129de1c6251d

Contents?: true

Size: 1.23 KB

Versions: 8

Compression:

Stored size: 1.23 KB

Contents

#include "../generated/cpp/NavbarBase.h"
#include "common/RhodesApp.h"
#include "common/RhoConf.h"
#include "logging/RhoLog.h"

namespace rho {

using namespace apiGenerator;
using namespace common;

class CNavbarImpl: public CNavbarSingletonBase
{
public:

    CNavbarImpl(): CNavbarSingletonBase(){}

    virtual void create(const rho::Hashtable<rho::String, rho::String>& NavbarProperties, rho::apiGenerator::CMethodResult& oResult)
    {
        RAWLOGC_WARNING("Navbar", "create is not supported");
    }

    virtual void remove(rho::apiGenerator::CMethodResult& oResult)
    {
        RAWLOGC_WARNING("Navbar", "remove is not supported");
    }

    virtual void started(rho::apiGenerator::CMethodResult& oResult)
    {
        oResult.set(false);
    }
};

////////////////////////////////////////////////////////////////////////

class CNavbarFactory: public CNavbarFactoryBase
{
public:
    ~CNavbarFactory(){}

    INavbarSingleton* createModuleSingleton()
    { 
        return new CNavbarImpl();
    }
};

}

//extern "C" void Init_Navbar_API();

extern "C" void Init_Navbar()
{
    rho::CNavbarFactory::setInstance( new rho::CNavbarFactory() );
    rho::Init_Navbar_API();
    //RHODESAPP().getExtManager().requireRubyFile("RhoNavbarApi");
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rhodes-7.6.0 lib/commonAPI/coreapi/ext/shared/qt/NavbarImpl.cpp
rhodes-7.5.1 lib/commonAPI/coreapi/ext/shared/qt/NavbarImpl.cpp
rhodes-7.4.1 lib/commonAPI/coreapi/ext/shared/qt/NavbarImpl.cpp
rhodes-7.1.17 lib/commonAPI/coreapi/ext/shared/qt/NavbarImpl.cpp
rhodes-6.2.0 lib/commonAPI/coreapi/ext/shared/qt/NavbarImpl.cpp
rhodes-6.0.11 lib/commonAPI/coreapi/ext/shared/qt/NavbarImpl.cpp
rhodes-5.5.18 lib/commonAPI/coreapi/ext/shared/qt/NavbarImpl.cpp
rhodes-5.5.17 lib/commonAPI/coreapi/ext/shared/qt/NavbarImpl.cpp