IsMenuBarVisible in the MacMenubarPlugin

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

IsMenuBarVisible in the MacMenubarPlugin

Eliot Miranda-2
 
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
Reply | Threaded
Open this post in threaded view
|

Re: IsMenuBarVisible in the MacMenubarPlugin

johnmci
 
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 <[hidden email]> 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
===========================================================================