The Battle for Wesnoth 1.21.0-dev
 
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
notifications.hpp File Reference
#include <string>
Include dependency graph for notifications.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  desktop
 
namespace  desktop::notifications
 

Enumerations

enum  desktop::notifications::type { desktop::notifications::CHAT , desktop::notifications::TURN_CHANGED , desktop::notifications::OTHER }
 

Functions

void desktop::notifications::send (const std::string &owner, const std::string &message, type t)
 Displays a desktop notification message, from owner, of type t.
 
bool desktop::notifications::available ()
 Returns whether we were compiled with support for desktop notifications.