Task #1840

Updated by Zbigniew Rebacz over 3 years ago

Application should be able to send system notification without the need of use TrayIcon class.
<pre><class="cpp"> &lt;pre&gt;&lt;class language=&quot;cpp&quot;&gt;
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); }

};
</class></pre>

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

static Info(...) {...}
}
</pre>

Back