2021-01-20 18:17:34 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "linux/linuxframe.h"
|
|
|
|
#include <vector>
|
|
|
|
#include <string>
|
|
|
|
|
2021-02-25 16:04:50 +00:00
|
|
|
namespace common2
|
2021-01-20 18:17:34 +00:00
|
|
|
{
|
|
|
|
|
2021-02-25 16:04:50 +00:00
|
|
|
class CommonFrame : public LinuxFrame
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
CommonFrame();
|
2021-01-20 18:17:34 +00:00
|
|
|
|
2021-02-25 16:04:50 +00:00
|
|
|
BYTE* GetResource(WORD id, LPCSTR lpType, DWORD expectedSize) override;
|
2021-01-20 18:17:34 +00:00
|
|
|
|
2021-02-25 16:04:50 +00:00
|
|
|
protected:
|
|
|
|
static std::string getBitmapFilename(const std::string & resource);
|
|
|
|
|
|
|
|
const std::string myResourcePath;
|
|
|
|
std::vector<BYTE> myResource;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|