mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-09 15:28:21 -04:00
Mac classic: Import some functionality directly
This commit is contained in:
parent
ca8f617b1b
commit
19c9c15e62
@ -19,7 +19,6 @@
|
|||||||
#include <MacMemory.h>
|
#include <MacMemory.h>
|
||||||
#include <Processes.h>
|
#include <Processes.h>
|
||||||
#include <Files.h>
|
#include <Files.h>
|
||||||
#include <Timer.h>
|
|
||||||
|
|
||||||
const cc_result ReturnCode_FileShareViolation = 1000000000; /* TODO: not used apparently */
|
const cc_result ReturnCode_FileShareViolation = 1000000000; /* TODO: not used apparently */
|
||||||
const cc_result ReturnCode_FileNotFound = ENOENT;
|
const cc_result ReturnCode_FileNotFound = ENOENT;
|
||||||
@ -30,6 +29,13 @@ const cc_result ReturnCode_DirectoryExists = EEXIST;
|
|||||||
const char* Platform_AppNameSuffix = " MAC68k";
|
const char* Platform_AppNameSuffix = " MAC68k";
|
||||||
cc_bool Platform_SingleProcess = true;
|
cc_bool Platform_SingleProcess = true;
|
||||||
|
|
||||||
|
|
||||||
|
/*########################################################################################################################*
|
||||||
|
*---------------------------------------------------Imported headers------------------------------------------------------*
|
||||||
|
*#########################################################################################################################*/
|
||||||
|
// Availability: in InterfaceLib 7.1 and later
|
||||||
|
static void Microseconds(UnsignedWide* microTickCount) FOURWORDINLINE(0xA193, 0x225F, 0x22C8, 0x2280);
|
||||||
|
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
*---------------------------------------------------------Memory----------------------------------------------------------*
|
*---------------------------------------------------------Memory----------------------------------------------------------*
|
||||||
*#########################################################################################################################*/
|
*#########################################################################################################################*/
|
||||||
|
@ -14,10 +14,20 @@
|
|||||||
#include <Dialogs.h>
|
#include <Dialogs.h>
|
||||||
#include <Fonts.h>
|
#include <Fonts.h>
|
||||||
#include <Events.h>
|
#include <Events.h>
|
||||||
#include <Scrap.h>
|
|
||||||
#include <DiskInit.h>
|
#include <DiskInit.h>
|
||||||
static WindowPtr win;
|
static WindowPtr win;
|
||||||
|
|
||||||
|
|
||||||
|
/*########################################################################################################################*
|
||||||
|
*---------------------------------------------------Imported headers------------------------------------------------------*
|
||||||
|
*#########################################################################################################################*/
|
||||||
|
|
||||||
|
// Availability: in InterfaceLib 7.1 and later
|
||||||
|
static long GetScrap(Handle dst, FourCharCode type, SInt32* offset) ONEWORDINLINE(0xA9FD);
|
||||||
|
// Availability: in InterfaceLib 7.1 and later
|
||||||
|
static OSStatus PutScrap(SInt32 srcLen, FourCharCode type, const void* src) ONEWORDINLINE(0xA9FE);
|
||||||
|
|
||||||
|
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
*--------------------------------------------------Public implementation--------------------------------------------------*
|
*--------------------------------------------------Public implementation--------------------------------------------------*
|
||||||
*#########################################################################################################################*/
|
*#########################################################################################################################*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user