Enigma  3.2.0
A Simple, Reliable and Efficient Encryption Tool
Notification Class Reference

#include <Notification.hpp>

Public Types

enum class  Icon : std::uint8_t { Info = static_cast<std::uint8_t>(pfd::icon::info) , Warning = static_cast<std::uint8_t>(pfd::icon::warning) , Error = static_cast<std::uint8_t>(pfd::icon::error) }
 

Public Member Functions

 Notification (const std::string &title, const std::string &message, Icon icon=Icon::Info)
 
 ~Notification () noexcept=default
 
void Show () const
 

Detailed Description

System Notification

Definition at line 12 of file Notification.hpp.

Member Enumeration Documentation

◆ Icon

enum Notification::Icon : std::uint8_t
strong

Notification Icon type

Enumerator
Info 
Warning 
Error 

Definition at line 17 of file Notification.hpp.

Constructor & Destructor Documentation

◆ Notification()

Notification::Notification ( const std::string &  title,
const std::string &  message,
Icon  icon = Icon::Info 
)

Constructor

Parameters
titletitle of the notification
messagedescription of the notification
iconIcon type of the notification

◆ ~Notification()

Notification::~Notification ( )
defaultnoexcept

Member Function Documentation

◆ Show()

void Notification::Show ( ) const

Spawns System Notification


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