mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 20:19:38 +00:00
API cleanup, fix some lingering InvalWindowRects
This commit is contained in:
@@ -538,12 +538,6 @@ void GetTime(DateTimeRec *dateTime)
|
||||
dateTime->minute = minute;
|
||||
}
|
||||
|
||||
UInt32 GetDblTime()
|
||||
{
|
||||
PL_NotYetImplemented_Minor();
|
||||
return 30;
|
||||
}
|
||||
|
||||
void FlushEvents(int mask, int unknown)
|
||||
{
|
||||
PortabilityLayer::EventQueue *queue = PortabilityLayer::EventQueue::GetInstance();
|
||||
@@ -558,11 +552,6 @@ void ExitToShell()
|
||||
PL_NotYetImplemented();
|
||||
}
|
||||
|
||||
void InvalWindowRect(WindowPtr window, const Rect *rect)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
}
|
||||
|
||||
Handle NewHandle(Size size)
|
||||
{
|
||||
PortabilityLayer::MMHandleBlock *hBlock = PortabilityLayer::MemoryManager::GetInstance()->AllocHandle(size);
|
||||
@@ -608,11 +597,6 @@ void DisposePtr(void *ptr)
|
||||
PortabilityLayer::MemoryManager::GetInstance()->Release(ptr);
|
||||
}
|
||||
|
||||
void BlockMove(const void *src, void *dest, Size size)
|
||||
{
|
||||
memcpy(dest, src, size);
|
||||
}
|
||||
|
||||
bool WaitForEvent(TimeTaggedVOSEvent *eventOut, uint32_t ticks)
|
||||
{
|
||||
for (;;)
|
||||
@@ -631,21 +615,6 @@ bool WaitForEvent(TimeTaggedVOSEvent *eventOut, uint32_t ticks)
|
||||
return false;
|
||||
}
|
||||
|
||||
void DrawControls(WindowPtr window)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
}
|
||||
|
||||
void DrawGrowIcon(WindowPtr window)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
}
|
||||
|
||||
void DebugStr(const PLPasStr &str)
|
||||
{
|
||||
PL_NotYetImplemented();
|
||||
}
|
||||
|
||||
void PL_NotYetImplemented()
|
||||
{
|
||||
assert(false);
|
||||
|
||||
Reference in New Issue
Block a user