Implemented missing app_info constructor and destructor.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@411 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2002-07-23 23:41:15 +00:00
parent 51d6b22ec1
commit caf7e04f7f
+24 -2
View File
@@ -44,8 +44,6 @@ enum {
NOT_IMPLEMENTED = B_ERROR,
};
//static char _GlobalRoster[sizeof(BRoster)];
// _init_roster_
int
_init_roster_()
@@ -62,6 +60,30 @@ _delete_roster_()
return 0;
}
/*-------------------------------------------------------------*/
/* --------- app_info Struct and Values ------------------------ */
// constructor
app_info::app_info()
: thread(-1),
team(-1),
port(-1),
flags(B_MULTIPLE_LAUNCH | B_ARGV_ONLY | _B_APP_INFO_RESERVED1_),
ref()
{
signature[0] = '\0';
}
// destructor
app_info::~app_info()
{
}
/*-------------------------------------------------------------*/
/* --------- BRoster class----------------------------------- */
// constructor
BRoster::BRoster()
: fMess(),