RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Apple::MacintoshResourceFileFormat::CodeFragmentResource::Member Class Reference

Public Types

enum  architecture_type : uint32_t { PowerPC = OSTypeToUInt32('p', 'w', 'p', 'c') , Motorola68K = OSTypeToUInt32('m', '6', '8', 'k') }
 
enum  update_level_type : uint8_t { FullLib = 0 , UpdateLib = 1 }
 
enum  usage_type : uint8_t {
  ImportLibrary = 0 , Application = 1 , DropInAddition = 2 , StubLibrary = 3 ,
  WeakStubLibrary = 4
}
 
enum  where_type : uint8_t {
  Memory = 0 , DataFork = 1 , Resource = 2 , NamedFragment = 3 ,
  CFBundle = 4 , CFBundleInt = 5
}
 

Public Member Functions

 Member (architecture_type architecture)
 
offset_t ImageSize () const
 
offset_t WriteFile (const std::shared_ptr< Linker::Writer > &wr) const
 

Static Public Member Functions

static std::shared_ptr< Member > ReadFile (const std::shared_ptr< Linker::Reader > &rd)
 
static std::shared_ptr< Member > CreateEmpty ()
 
static std::shared_ptr< Member > CreateApplication (architecture_type architecture, std::string name)
 Initialize with default settings.
 
static std::shared_ptr< Member > CreateLibrary (architecture_type architecture, std::string name, uint32_t current_version, uint32_t old_def_version)
 Initialize with default settings.
 

Public Attributes

architecture_type architecture
 
update_level_type update_level = FullLib
 
uint32_t current_version = 0
 
uint32_t old_def_version = 0
 
uint32_t app_stack_size = 0
 
int16_t app_subdir_id = 0
 
usage_type usage
 
where_type where = DataFork
 
uint32_t offset = 0
 
uint32_t length = 0
 
uint32_t space_id = 0
 
uint16_t extension_count = 0
 
uint16_t member_size = 0x38
 
std::string name
 

Static Public Attributes

static constexpr uint32_t DefaultStackSize = 0
 
static constexpr int16_t NoAppSubFolder = 0
 
static constexpr uint32_t RSEG = OSTypeToUInt32('r', 's', 'e', 'g')
 
static constexpr uint32_t CFragGoesToEOF = 0
 

The documentation for this class was generated from the following files: