Renga/ui/AboutWindow.cpp

56 lines
1.1 KiB
C++
Raw Permalink Normal View History

//////////////////////////////////////////////////
// Blabber [AboutWindow.cpp]
//////////////////////////////////////////////////
2019-07-14 07:40:02 +00:00
#include "AboutWindow.h"
2019-09-29 20:12:10 +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();
}
return _instance;
}
2019-07-14 07:40:02 +00:00
AboutWindow::AboutWindow()
: BAboutWindow("Renga", "application/x-vnd.Haiku-Jabber") {
// 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");
}