disabled webposter til theres a real web platform

This commit is contained in:
Patrick von Reth 2010-08-04 11:42:44 +02:00
parent 79b4e434f8
commit 1281aefdcf
3 changed files with 9 additions and 7 deletions

View File

@ -36,7 +36,7 @@ SnoreNotificationInstance::~SnoreNotificationInstance(){
void SnoreNotificationInstance::addAlert(const QString &name, const QString &title){
_app->addAlert(new Alert(name,title));
_app->addAlert(new Alert(name,title.isNull()?name:title));
}
@ -54,3 +54,5 @@ int SnoreNotificationInstance::notify(const QString &alert, const QString &title
qDebug()<<"Broadcasting"<<title;
return _snore->broadcastNotification(QSharedPointer<Notification>(new Notification(NULL,_appName,alert,title,text,icon,timeout)));
}
#include "snorenotificationinstance.moc"

View File

@ -17,8 +17,8 @@
#ifndef SNORENOTIFICATIONINSTANCE_H
#define SNORENOTIFICATIONINSTANCE_H
#include "core/snoreserver.h"
#include "core/application.h"
#include "snoreserver.h"
#include "application.h"
class SnoreNotificationInstance:public QObject
{
@ -26,10 +26,10 @@ class SnoreNotificationInstance:public QObject
public:
SnoreNotificationInstance(const QString &appname,SnoreServer *parent);
~SnoreNotificationInstance();
void addAlert(const QString &name,const QString &title);
void addAlert(const QString &name,const QString &title = 0);
void registerWithBackends();
void unregisterWithBackends();
int notify(const QString &alert,const QString &title,const QString &text,const QString &icon=0,int timeout=10);
int notify(const QString &alert,const QString &title,const QString &text,const QString &icon = 0,int timeout = 10);
private:
SnoreNotificationInstance();
const QString _appName;

View File

@ -2,7 +2,7 @@ SET(LIBRARY_OUTPUT_PATH ${EXECUTABLE_OUTPUT_PATH}/snoreplugins)
add_subdirectory(freedesktopnotification)
add_subdirectory(freedesktopfrontend)
add_subdirectory(webposter)
#add_subdirectory(webposter)
add_subdirectory(snarlnetwork)
add_subdirectory(snarl)
#add_subdirectory(dbusbinding)