42 lines · 638 B · C
RawDownload
#ifndef RESOURCEFILE_H#define RESOURCEFILE_H #include <memory>#include "ResType.h"#include "ResourceFork.h" class ResourceFile{public:	enum class Format	{		autodetect,#ifdef __APPLE__		real,#endif		macbin,		diskimage,		basilisk,		applesingle,		//underscore_ad,		//appledouble	}; 	ResourceFile();	ResourceFile(std::string path, Format f = Format::autodetect);	~ResourceFile(); 	bool assign(std::string path, Format f = Format::autodetect); 	bool read();	bool write(); 	std::string pathstring;	Format format;	ResType type;	ResType creator;	Resources resources;	std::string data;}; #endif // RESOURCEFILE_H

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t