The ToastPostServer class. More...
#include <ToastPostServer.h>
Public Member Functions | |
ToastPostServer (DesktopToast *toast, const QString &monitoring_path, QObject *parent) | |
Constructs a ToastPostServer instance. | |
![]() | |
DesktopServerBase (QObject *parent) | |
DesktopServerBase. | |
__PROPERTY_GETSET (bool, enabled) | |
server en/disable | |
__PROPERTY_GETSET (QString, serverName) | |
server name | |
Additional Inherited Members | |
![]() | |
void | server_ready () |
server ready | |
void | server_unload () |
server unloaded | |
void | server_dead () |
server dead | |
![]() | |
bool | enabled { true } |
is enabled | |
The ToastPostServer class.
Manages the reception and display of toast notifications.
This server is responsible for handling incoming toast information. It likely receives toast messages (possibly via a ToastReceiver
or ToastProxy
), processes them, and then instructs a DesktopToast
component to display the actual notification to the user.
It inherits from DesktopServerBase
, suggesting it operates as a background service or manager within a desktop application context.
ToastPostServer::ToastPostServer | ( | DesktopToast * | toast, |
const QString & | monitoring_path, | ||
QObject * | parent | ||
) |
Constructs a ToastPostServer instance.
toast | A pointer to the DesktopToast object responsible for displaying the actual toast UI. The server does not take ownership of this object. |
monitoring_path | A QString representing a path that the server might monitor for toast-related data or events. This could be a directory for toast files, a named pipe, or similar. |
parent | A pointer to the parent QObject, allowing for proper object hierarchy and memory management. |