AppleWin/source/frontends/common2/commonframe.h
Andrea Odetti 3348d4420e SaveState: fix some issues in the order of things.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2022-01-10 15:38:13 +00:00

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;
};
}