[Vm-dev] Re: IsMenuBarVisible in the MacMenubarPlugin

John McIntosh johnmci at smalltalkconsulting.com
Mon May 2 19:56:13 UTC 2016


The macmenubar is a holder for the cocoa implementation which is not there.
The idea was to provide compatibility with the OS 9 1984 view of the mac
menu bar

It should be dropped from the VM, and people use an objective-c api to
manipulate the menubar

On Mon, May 2, 2016 at 11:13 AM, Eliot Miranda <eliot.miranda at gmail.com>
wrote:

> Hi All,
>
>     HIToolbox on Mac OS X defines IsMenuBarVisible
> (/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox).
> There's an empty definition of IsMenuBarVisible
> in platforms/iOS//plugins/MacMenubarPlugin/MacMenuOS9ToOSX.m.  Well, it's
> written as
>
> extern Boolean
> IsMenuBarVisible(void){};
>
> and that form seems to create a definition, not a reference.
>
> Anyway, the damn thing screws up symbol parsing in the VMProfiler.
> Shouldn't the MacMenuBarPlugin be being linked against HIToolbox and have
> all these dummy definitions be dropped?
> _,,,^..^,,,_
> best, Eliot
>



-- 
===========================================================================
John M. McIntosh. Corporate Smalltalk Consulting Ltd
https://www.linkedin.com/in/smalltalk
===========================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160502/93eab929/attachment.htm


More information about the Vm-dev mailing list