Task #1840

System notification should not be limited only to tray icon

Added by Zbigniew Rebacz over 1 year ago. Updated 3 months ago.

Status:NewStart date:02/18/2018
Priority:HighDue date:
Assignee:Miroslav Fidler% Done:

0%

Category:CtrlCoreSpent time:-
Target version:Release 2019.2 - NTH

Description

Application should be able to send system notification without the need of use TrayIcon class.

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); }

};

So, this can be moved to CtrlCore as a separate method class like:

class Notification final {
public:
    Notification() = delete;

    static Info(...) {...}
}

History

#1 Updated by Zbigniew Rebacz over 1 year ago

  • Assignee set to Miroslav Fidler

#2 Updated by Zbigniew Rebacz over 1 year ago

Please let me know what do you think?

#3 Updated by Zbigniew Rebacz over 1 year ago

  • Description updated (diff)

#4 Updated by Zbigniew Rebacz over 1 year ago

  • Description updated (diff)

#5 Updated by Zbigniew Rebacz over 1 year ago

  • Description updated (diff)

#6 Updated by Zbigniew Rebacz over 1 year ago

  • Target version changed from Release 2018.1 - NTH to Release 2019.1 - NTH

#7 Updated by Zbigniew Rebacz 3 months ago

  • Target version changed from Release 2019.1 - NTH to Release 2019.2 - NTH

Also available in: Atom PDF