virtualx-engine/drivers/pe_bliss/pe_directory.cpp
masoud bh 24f3f43457 Add icon to exe file in windows export
add version_info and icon sections in "export to windows platform".
add version_info and icon to godot exe file (editor & template exe).
fix an problem in image class.
change all default icons to android export icon (a little more rounded).
create an python script for convert file to cpp byte array for use in
'splash.h'.
2015-11-09 02:23:58 +03:30

38 lines
549 B
C++

#include "pe_directory.h"
namespace pe_bliss
{
//Default constructor
image_directory::image_directory()
:rva_(0), size_(0)
{}
//Constructor from data
image_directory::image_directory(uint32_t rva, uint32_t size)
:rva_(rva), size_(size)
{}
//Returns RVA
uint32_t image_directory::get_rva() const
{
return rva_;
}
//Returns size
uint32_t image_directory::get_size() const
{
return size_;
}
//Sets RVA
void image_directory::set_rva(uint32_t rva)
{
rva_ = rva;
}
//Sets size
void image_directory::set_size(uint32_t size)
{
size_ = size;
}
}