Removed superfluous creation of a BRoster.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6793 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -52,7 +52,7 @@ bool OutputTeam( void * item_p )
|
|||||||
std::cout << info.flags;
|
std::cout << info.flags;
|
||||||
dec( std::cout );
|
dec( std::cout );
|
||||||
|
|
||||||
// Output a signture
|
// Output a signature
|
||||||
std::cout
|
std::cout
|
||||||
<< " (" << info.signature << ')'
|
<< " (" << info.signature << ')'
|
||||||
<< std::endl
|
<< std::endl
|
||||||
@@ -69,17 +69,13 @@ int main( int argc, char ** argv )
|
|||||||
{
|
{
|
||||||
// Don't have an BApplication as it is a waste.
|
// Don't have an BApplication as it is a waste.
|
||||||
|
|
||||||
// Access Roster
|
|
||||||
// - address automatically assigned to be_roster as it's a singleton
|
|
||||||
new BRoster();
|
|
||||||
|
|
||||||
cout
|
cout
|
||||||
<< " path thread team port flags\n"
|
<< " path thread team port flags\n"
|
||||||
"-- -------------------------------- ------ ---- ---- -----"
|
"-- -------------------------------- ------ ---- ---- -----"
|
||||||
<< std::endl
|
<< std::endl
|
||||||
;
|
;
|
||||||
|
|
||||||
// Retriev the running list.
|
// Retrieve the running list.
|
||||||
BList applist( 0 );
|
BList applist( 0 );
|
||||||
be_roster->GetAppList( & applist );
|
be_roster->GetAppList( & applist );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user