CCIMXDesktop
 
Loading...
Searching...
No Matches
ToastPostServer Class Reference

The ToastPostServer class. More...

#include <ToastPostServer.h>

Inheritance diagram for ToastPostServer:
DesktopServerBase

Public Member Functions

 ToastPostServer (DesktopToast *toast, const QString &monitoring_path, QObject *parent)
 Constructs a ToastPostServer instance.
 
- Public Member Functions inherited from DesktopServerBase
 DesktopServerBase (QObject *parent)
 DesktopServerBase.
 
 __PROPERTY_GETSET (bool, enabled)
 server en/disable
 
 __PROPERTY_GETSET (QString, serverName)
 server name
 

Additional Inherited Members

- Signals inherited from DesktopServerBase
void server_ready ()
 server ready
 
void server_unload ()
 server unloaded
 
void server_dead ()
 server dead
 
- Protected Attributes inherited from DesktopServerBase
bool enabled { true }
 is enabled
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ToastPostServer()

ToastPostServer::ToastPostServer ( DesktopToast toast,
const QString &  monitoring_path,
QObject *  parent 
)

Constructs a ToastPostServer instance.

Parameters
toastA pointer to the DesktopToast object responsible for displaying the actual toast UI. The server does not take ownership of this object.
monitoring_pathA 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.
parentA pointer to the parent QObject, allowing for proper object hierarchy and memory management.

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