diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2018-11-25 08:51:51 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2018-11-25 08:51:51 +0200 |
| commit | c02a988bda6724dcbd1d689be2010ce55de59368 (patch) | |
| tree | f0e9bcc67c0db00fe04517b6bccbacb63a5214ac /Software/Visual_Studio/PPC/Tango.PPC.Common/Notifications | |
| parent | 88a0169f624c77b77b21a871ace9e51a9245807d (diff) | |
| download | Tango-c02a988bda6724dcbd1d689be2010ce55de59368.tar.gz Tango-c02a988bda6724dcbd1d689be2010ce55de59368.zip | |
Storage Module!
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Notifications')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/Notifications/INotificationProvider.cs | 25 | ||||
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/Notifications/TaskBarItem.cs | 13 |
2 files changed, 38 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Notifications/INotificationProvider.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Notifications/INotificationProvider.cs index 39cf2879f..dc693e305 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Notifications/INotificationProvider.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Notifications/INotificationProvider.cs @@ -23,6 +23,11 @@ namespace Tango.PPC.Common.Notifications ObservableCollection<NotificationItem> NotificationItems { get; } /// <summary> + /// Gets the collection of taskbar items. + /// </summary> + ObservableCollection<TaskBarItem> TaskBarItems { get; } + + /// <summary> /// Gets the current application bar item. /// </summary> AppBarItem CurrentAppBarItem { get; } @@ -167,5 +172,25 @@ namespace Tango.PPC.Common.Notifications /// </summary> /// <param name="appBarItem">The application bar item.</param> void PopAppBarItem(AppBarItem appBarItem); + + /// <summary> + /// Pushes the task bar item. + /// </summary> + /// <param name="taskBarItem">The task bar item.</param> + /// <returns></returns> + TaskBarItem PushTaskBarItem(TaskBarItem taskBarItem); + + /// <summary> + /// Handles the Push Task Bar Item event. + /// </summary> + /// <typeparam name="T"></typeparam> + /// <returns></returns> + TaskBarItem PushTaskBarItem<T>() where T : TaskBarItem; + + /// <summary> + /// Pops the task bar item. + /// </summary> + /// <param name="TaskBarItem">The task bar item.</param> + void PopTaskBarItem(TaskBarItem taskBarItem); } } diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Notifications/TaskBarItem.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Notifications/TaskBarItem.cs new file mode 100644 index 000000000..2d6a90317 --- /dev/null +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Notifications/TaskBarItem.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.PPC.Common.Notifications +{ + public abstract class TaskBarItem : ItemBase + { + + } +} |
