Chapter 6. Notification

Table of Contents

Some applications do work in the background while other applications are running in the foreground. For instance, an email client might regularly download new emails even while you are using the web browser. These applications can inform the user about interesting events. For instance, the email application can inform the user that a new email has arrived.

Your application can do this by using the Hildon::Notification class, available in the libhildon-notifymm library. It is based on the widely-used libnotify library and standard.

Header files and linking

To use libhildon-notifymm, you must specify hildon-notifymm in the PKG_CHECK_MODULES check in your file, just as you already check for hildonmm, for instance. You can then include the hildon-notifymm.h header. See the main Header files and linking section for general details about these techniques.