3348d4420e
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
24 lines
470 B
C++
24 lines
470 B
C++
#pragma once
|
|
|
|
#include "linux/linuxframe.h"
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
namespace common2
|
|
{
|
|
|
|
class CommonFrame : public LinuxFrame
|
|
{
|
|
public:
|
|
BYTE* GetResource(WORD id, LPCSTR lpType, DWORD expectedSize) override;
|
|
virtual void LoadSnapshot();
|
|
|
|
protected:
|
|
virtual std::string getResourcePath(const std::string & filename) = 0;
|
|
|
|
static std::string getBitmapFilename(const std::string & resource);
|
|
|
|
std::vector<BYTE> myResource;
|
|
};
|
|
|
|
}
|