Sha256: 49af3d2a9c3c9455a06f7806f3415f57f6f9eec7f1295dfc02109e7e291dd739

Contents?: true

Size: 651 Bytes

Versions: 28

Compression:

Stored size: 651 Bytes

Contents

#pragma once

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

namespace rho {
namespace common {
		
class CRhoClassFactory : public common::IRhoClassFactory
{
public:
    net::INetRequestImpl* createNetRequestImpl()
    {
        return new net::CURLNetRequest();
    }
    common::IRhoThreadImpl* createThreadImpl()
    {
        return new CPosixThreadImpl;
    }
    net::ISSL* createSSLEngine()
    {
        return new net::SSLImpl();
    }

    IRhoCrypt* createRhoCrypt()
    {
        return new CRhoCryptImpl();
    }
};

}
}

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
rhodes-2.4.0 platform/shared/common/iphone/RhoClassfactory.h
rhodes-2.4.0.beta.2 platform/shared/common/iphone/RhoClassfactory.h
rhodes-2.4.0.beta.1 platform/shared/common/iphone/RhoClassfactory.h
rhodes-2.3.2 platform/shared/common/iphone/RhoClassfactory.h
rhodes-2.3.2.beta.2 platform/shared/common/iphone/RhoClassfactory.h
rhodes-2.3.2.beta.1 platform/shared/common/iphone/RhoClassfactory.h
rhodes-2.3.1 platform/shared/common/iphone/RhoClassfactory.h
rhodes-2.3.1.beta.1 platform/shared/common/iphone/RhoClassfactory.h