Opened 12 years ago

Last modified 4 years ago

#8535 assigned enhancement

BRoster should expose a public API to show or hide a team — at Initial Version

Reported by: hey68you Owned by: axeld
Priority: normal Milestone: Unscheduled
Component: Kits/Application Kit Version: R1/Development
Keywords: BRoster Cc: hey68you@…
Blocked By: Blocking:
Platform: All

Description

There are 2 private API functions that Deskbar uses to show and hide all windows of a running application:

The 2 private functions are:

They are declared in headers/private/interface/WindowInfo.h and implemented in InterfaceDefs.cpp

do_minimize_team(...);
do_bring_to_front_team(...);

I would be nice if these could be exposed as public APIs in BRoster (which already has the related public function):

status_t ActivateApp(team_id team) const;

(The problem with ActivateApp() is that if the application is currently hidden, this method will not un-hide it).

It was proposed as a start that we create 2 new public functions in BRoster:

status_t HideTeam(team_id team);
status_t BringTeamToFront(team_id team);

Change History (0)

Note: See TracTickets for help on using tickets.