parent
a748b72e3c
commit
6a41334ced
@ -66,7 +66,6 @@ public:
|
||||
NetServer(status_t& status);
|
||||
virtual ~NetServer();
|
||||
|
||||
virtual void AboutRequested();
|
||||
virtual void ReadyToRun();
|
||||
virtual void MessageReceived(BMessage* message);
|
||||
|
||||
@ -154,26 +153,6 @@ NetServer::~NetServer()
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
NetServer::AboutRequested()
|
||||
{
|
||||
BAlert *alert = new BAlert("about", "Networking Server\n"
|
||||
"\tCopyright " B_UTF8_COPYRIGHT "2006, Haiku.\n", "OK");
|
||||
BTextView *view = alert->TextView();
|
||||
BFont font;
|
||||
|
||||
view->SetStylable(true);
|
||||
|
||||
view->GetFont(&font);
|
||||
font.SetSize(18);
|
||||
font.SetFace(B_BOLD_FACE);
|
||||
view->SetFontAndColor(0, 17, &font);
|
||||
|
||||
alert->SetFlags(alert->Flags() | B_CLOSE_ON_ESCAPE);
|
||||
alert->Go(NULL);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
NetServer::ReadyToRun()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user