You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
460 B
30 lines
460 B
// this file is autogenerated, do not modify!!!
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include <map>
|
|
|
|
namespace dev
|
|
{
|
|
namespace eth
|
|
{
|
|
|
|
class ${ETH_RESOURCE_NAME}
|
|
{
|
|
public:
|
|
${ETH_RESOURCE_NAME}()
|
|
{
|
|
${ETH_RESULT_DATA}
|
|
${ETH_RESULT_INIT}
|
|
}
|
|
|
|
std::string loadResourceAsString(std::string _name) { return std::string(m_resources[_name], m_sizes[_name]); }
|
|
|
|
private:
|
|
std::map <std::string, const char*> m_resources;
|
|
std::map <std::string, unsigned> m_sizes;
|
|
};
|
|
|
|
}
|
|
}
|
|
|
|
|