AppleWin/source/frontends/common2/commonframe.h
Andrea Odetti 11c44233b4 Revisit initialisation to drive it all from the FrameBase.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-03-27 18:48:05 +00:00

27 lines
481 B
C++

#pragma once
#include "linux/linuxframe.h"
#include <vector>
#include <string>
namespace common2
{
class CommonFrame : public LinuxFrame
{
public:
CommonFrame();
void Initialize() override;
void Destroy() override;
BYTE* GetResource(WORD id, LPCSTR lpType, DWORD expectedSize) override;
protected:
static std::string getBitmapFilename(const std::string & resource);
const std::string myResourcePath;
std::vector<BYTE> myResource;
};
}