2008-03-03 22:52:07 +00:00
|
|
|
//////////////////////////////////////////////////
|
|
|
|
// Blabber [AboutWindow.cpp]
|
|
|
|
//////////////////////////////////////////////////
|
|
|
|
|
2019-07-14 07:40:02 +00:00
|
|
|
#include "AboutWindow.h"
|
2019-09-29 20:12:10 +00:00
|
|
|
|
2008-03-03 22:52:07 +00:00
|
|
|
|
|
|
|
AboutWindow *AboutWindow::_instance = NULL;
|
|
|
|
|
|
|
|
AboutWindow *AboutWindow::Instance() {
|
|
|
|
if (_instance == NULL) {
|
|
|
|
// create window singleton
|
2019-07-14 07:40:02 +00:00
|
|
|
_instance = new AboutWindow();
|
2008-03-03 22:52:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
return _instance;
|
|
|
|
}
|
|
|
|
|
2019-07-14 07:40:02 +00:00
|
|
|
AboutWindow::AboutWindow()
|
|
|
|
: BAboutWindow("Renga", "application/x-vnd.Haiku-Jabber") {
|
2008-03-03 22:52:07 +00:00
|
|
|
// draw credits
|
|
|
|
PopulateCredits();
|
|
|
|
}
|
|
|
|
|
|
|
|
AboutWindow::~AboutWindow() {
|
|
|
|
_instance = NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
void AboutWindow::PopulateCredits() {
|
2019-07-14 07:40:02 +00:00
|
|
|
AddDescription("An XMPP client for Haiku");
|
|
|
|
const char * authors[] = {
|
|
|
|
"Andrea Anzani",
|
|
|
|
"John Blanco",
|
|
|
|
"Adrien Destugues",
|
|
|
|
"Frank Paul Silye",
|
|
|
|
NULL
|
|
|
|
};
|
|
|
|
AddAuthors(authors);
|
|
|
|
const char * special[] = {
|
|
|
|
"Michele Blanco",
|
|
|
|
NULL
|
|
|
|
};
|
|
|
|
AddSpecialThanks(special);
|
|
|
|
const char * graphics[] = {
|
|
|
|
"John Blanco",
|
|
|
|
"Daniel Fischer",
|
|
|
|
"Michele Frau",
|
|
|
|
"jabber.org",
|
|
|
|
NULL
|
|
|
|
};
|
|
|
|
AddText("Graphics", graphics);
|
|
|
|
AddExtraInfo("Based on Jabber for BeOS by John Blanco");
|
|
|
|
AddExtraInfo("Powered by Gloox by Jakob Schröter");
|
2008-03-03 22:52:07 +00:00
|
|
|
}
|
|
|
|
|