Task #1840

System notification should not be limited only to tray icon

Added by Zbigniew Rebacz about 6 years ago. Updated over 3 years ago.

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

0%

Category:CtrlCoreSpent time:-
Target version:Release 2021.1 - 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 about 6 years ago

  • Assignee set to Miroslav Fidler

#2 Updated by Zbigniew Rebacz about 6 years ago

Please let me know what do you think?

#3 Updated by Zbigniew Rebacz about 6 years ago

  • Description updated (diff)

#4 Updated by Zbigniew Rebacz about 6 years ago

  • Description updated (diff)

#5 Updated by Zbigniew Rebacz about 6 years ago

  • Description updated (diff)

#6 Updated by Zbigniew Rebacz almost 6 years ago

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

#7 Updated by Zbigniew Rebacz over 4 years ago

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

#8 Updated by Zbigniew Rebacz over 4 years ago

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

#9 Updated by Zbigniew Rebacz almost 4 years ago

  • Target version changed from Release 2020.1 - NTH to Release 2020.2 - NTH

#10 Updated by Zbigniew Rebacz over 3 years ago

  • Target version changed from Release 2020.2 - NTH to Release 2021.1 - NTH

Also available in: Atom PDF