| 28 | boost::signals2::signal<void (const Notification::Ptr&, const MessageOrigin::Ptr&)> Notification::OnLastNotifiedStatePerUserCleared; |
| 29 | |
| 30 | String NotificationNameComposer::MakeName(const String& shortName, const Object::Ptr& context) const |
| 31 | { |
| 32 | Notification::Ptr notification = dynamic_pointer_cast<Notification>(context); |
| 33 | |
| 34 | if (!notification) |
| 35 | return ""; |
| 36 | |
| 37 | String name = notification->GetHostName(); |
| 38 | |
| 39 | if (!notification->GetServiceName().IsEmpty()) |
| 40 | name += "!" + notification->GetServiceName(); |
| 41 | |
| 42 | name += "!" + shortName; |
| 43 | |
| 44 | return name; |
| 45 | } |
| 46 | |
| 47 | Dictionary::Ptr NotificationNameComposer::ParseName(const String& name) const |
| 48 | { |
nothing calls this directly
no test coverage detected