Task #1840

Updated by Zbigniew Rebacz over 6 years ago

Application should be able to send system notification without the need of use TrayIcon class.
<pre><code class="cpp">
class TrayIcon {

void Info(const char *title, const char *text, int timeout = 10) { Message(1, title, text, timeout); }
void Warning(const char *title, const char *text, int timeout = 10) { Message(2, title, text, timeout); }
void Error(const char *title, const char *text, int timeout = 10) { Message(3, title, text, timeout); }

};
</code></pre>

So, this can be moved to CtrlCore as a separate method class like:
<pre><code class="cpp"> &lt;pre&gt;
class Notification final {
public:
Notification() = delete;

static Info(...) {...}
}
</code></pre> &lt;/pre&gt;

Back