Sha256: de3fa445335f576ea91ec2ed640b4dc7104d5073204fdc720b250c517975c793

Contents?: true

Size: 644 Bytes

Versions: 21

Compression:

Stored size: 644 Bytes

Contents

#pragma once

#include "common/IRhoClassFactory.h"
#include "net/CURLNetRequest.h"
#include "common/PosixThreadImpl.h"
#include "SystemInfoImpl.h"
#include "../net/sslimpl.h"

namespace rho {
namespace common {
		
class CRhoClassFactory : public common::IRhoClassFactory
{
public:
    net::INetRequest* createNetRequest()
    {
        return new net::CURLNetRequest();
    }
    common::IRhoThreadImpl* createThreadImpl()
    {
        return new CPosixThreadImpl;
    }
    ISystemInfo* createSystemInfo()
    {
        return new CSystemInfoImpl;
    }
    net::ISSL* createSSLEngine()
    {
        return new net::SSLImpl();
    }
};

}
}

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
rhodes-2.0.3 platform/iphone/Classes/rho/common/RhoClassFactory.h
rhodes-2.0.2 platform/iphone/Classes/rho/common/RhoClassFactory.h
rhodes-2.0.0 platform/iphone/Classes/rho/common/RhoClassFactory.h
rhodes-2.0.0.rc2 platform/iphone/Classes/rho/common/RhoClassFactory.h
rhodes-2.0.0.rc1 platform/iphone/Classes/rho/common/RhoClassFactory.h
rhodes-2.0.0.beta11 platform/iphone/Classes/rho/common/RhoClassFactory.h
rhodes-2.0.0.beta10 platform/iphone/Classes/rho/common/RhoClassFactory.h
rhodes-2.0.0.beta9 platform/iphone/Classes/rho/common/RhoClassFactory.h
rhodes-2.0.0.beta8 platform/iphone/Classes/rho/common/RhoClassFactory.h
rhodes-2.0.0.beta7 platform/iphone/Classes/rho/common/RhoClassFactory.h
rhodes-2.0.0.beta6 platform/iphone/Classes/rho/common/RhoClassFactory.h
rhodes-2.0.0.beta4 platform/iphone/Classes/rho/common/RhoClassFactory.h
rhodes-2.0.0.beta3 platform/iphone/Classes/rho/common/RhoClassFactory.h
rhodes-1.5.5 platform/iphone/Classes/rho/common/RhoClassFactory.h
rhodes-2.0.0.beta2 platform/iphone/Classes/rho/common/RhoClassFactory.h
rhodes-2.0.0.beta1 platform/iphone/Classes/rho/common/RhoClassFactory.h
rhodes-1.5.4 platform/iphone/Classes/rho/common/RhoClassFactory.h
rhodes-1.5.3 platform/iphone/Classes/rho/common/RhoClassFactory.h
rhodes-1.5.2 platform/iphone/Classes/rho/common/RhoClassFactory.h
rhodes-1.5.1 platform/iphone/Classes/rho/common/RhoClassFactory.h