LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BannerMessageHandler Class Reference

#include <BannerMessageHandler.h>

Inheritance diagram for BannerMessageHandler:
[legend]
Collaboration diagram for BannerMessageHandler:
[legend]

Signals

void signalHideBanner ()
 

Public Member Functions

void registerView (BannerMessageView *view)
 
void unregisterView (BannerMessageView *view)
 
int viewHeight () const
 
qreal getViewContentWidth (const BannerMessageView *view)
 
void drawView (QPainter *painter, const BannerMessageView *view)
 
void handleBannerMessageEvent (BannerMessageEvent *e)
 
void handleActiveCallBannerEvent (ActiveCallBannerEvent *e)
 
void addMessage (const std::string &appId, const std::string &msgId, const std::string &msg, const std::string &launchParams, const std::string &icon, const std::string &soundClass, const std::string &soundFile, int duration, bool doNotSuppress)
 
void removeMessage (const std::string &appId, const std::string &msgId)
 
void clearMessages (const std::string &appId)
 
void activateCurrentMessage ()
 
sptr< SoundPlayerplaySound (const std::string &appId, const std::string &soundClass, const std::string &soundFile, int duration, bool loop=false, bool wakeupScreen=false)
 

Static Public Member Functions

static BannerMessageHandlerinstance ()
 

Friends

class BannerMessageHandlerPriv
 

Member Function Documentation

void BannerMessageHandler::activateCurrentMessage ( )
void BannerMessageHandler::addMessage ( const std::string &  appId,
const std::string &  msgId,
const std::string &  msg,
const std::string &  launchParams,
const std::string &  icon,
const std::string &  soundClass,
const std::string &  soundFile,
int  duration,
bool  doNotSuppress 
)
void BannerMessageHandler::clearMessages ( const std::string &  appId)
void BannerMessageHandler::drawView ( QPainter *  painter,
const BannerMessageView view 
)
qreal BannerMessageHandler::getViewContentWidth ( const BannerMessageView view)
void BannerMessageHandler::handleActiveCallBannerEvent ( ActiveCallBannerEvent *  e)
void BannerMessageHandler::handleBannerMessageEvent ( BannerMessageEvent *  e)
BannerMessageHandler * BannerMessageHandler::instance ( void  )
static
sptr< SoundPlayer > BannerMessageHandler::playSound ( const std::string &  appId,
const std::string &  soundClass,
const std::string &  soundFile,
int  duration,
bool  loop = false,
bool  wakeupScreen = false 
)
void BannerMessageHandler::registerView ( BannerMessageView view)
void BannerMessageHandler::removeMessage ( const std::string &  appId,
const std::string &  msgId 
)
void BannerMessageHandler::signalHideBanner ( )
signal
void BannerMessageHandler::unregisterView ( BannerMessageView view)
int BannerMessageHandler::viewHeight ( ) const

Friends And Related Function Documentation

friend class BannerMessageHandlerPriv
friend

The documentation for this class was generated from the following files: