Patch by plfiorini: Integration of InfoPopper as a system service. See ticket

#1245. There are some TODOs outlined in the ticket, but they will be much
easier to review as individual patches against trunk, versus as a new version
of the huge patch.

I've messed a lot with src/servers/notification/NotificationsView.cpp in order
to resolve a crash I was getting when testing this thing (rewrote line
wrapping). I've also replaced the icons with the one that zuMi did long ago.

Thanks, plfiorini, for working on this code as much as you did!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36949 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2010-05-27 14:48:27 +00:00
parent 279d26af87
commit de9dcd41f8
50 changed files with 5460 additions and 4 deletions
@@ -0,0 +1,53 @@
/*
* Copyright 2010, Haiku, Inc. All Rights Reserved.
* Copyright 2009, Pier Luigi Fiorini.
* Distributed under the terms of the MIT License.
*
* Authors:
* Pier Luigi Fiorini, [email protected]
*/
#include <Application.h>
#include "PrefletWin.h"
class PrefletApp : public BApplication {
public:
PrefletApp();
virtual void ReadyToRun();
virtual bool QuitRequested();
private:
PrefletWin* fWindow;
};
PrefletApp::PrefletApp()
:
BApplication("application/x-vnd.Haiku-Notifications")
{
}
void
PrefletApp::ReadyToRun()
{
fWindow = new PrefletWin;
}
bool
PrefletApp::QuitRequested()
{
return true;
}
int
main(int argc, char* argv[])
{
PrefletApp app;
app.Run();
return 0;
}