diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-09-12 16:10:50 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-09-12 16:10:50 (GMT) |
commit | 41e89bb5ed1a9d38d1ece1310ef708daad54a9a9 (patch) | |
tree | 729117779ef76f28bff02413ce74daac46ccc565 /Swiften/Application/MacOSX/MacOSXApplicationMessageDisplay.mm | |
parent | de0cdc61015f86a334bc4c0589bafe0bfdf89786 (diff) | |
download | swift-contrib-41e89bb5ed1a9d38d1ece1310ef708daad54a9a9.zip swift-contrib-41e89bb5ed1a9d38d1ece1310ef708daad54a9a9.tar.bz2 |
Moved application message display around.
Diffstat (limited to 'Swiften/Application/MacOSX/MacOSXApplicationMessageDisplay.mm')
-rw-r--r-- | Swiften/Application/MacOSX/MacOSXApplicationMessageDisplay.mm | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Swiften/Application/MacOSX/MacOSXApplicationMessageDisplay.mm b/Swiften/Application/MacOSX/MacOSXApplicationMessageDisplay.mm deleted file mode 100644 index c10c707..0000000 --- a/Swiften/Application/MacOSX/MacOSXApplicationMessageDisplay.mm +++ /dev/null @@ -1,20 +0,0 @@ -#include "Swiften/Application/MacOSX/MacOSXApplicationMessageDisplay.h" - -#include <AppKit/AppKit.h> -#include <Cocoa/Cocoa.h> - -#include "Swiften/Base/String.h" - -namespace Swift { - -MacOSXApplicationMessageDisplay::MacOSXApplicationMessageDisplay() { -} - -void MacOSXApplicationMessageDisplay::setMessage(const String& label) { - NSString *labelString = [[NSString alloc] initWithUTF8String: label.getUTF8Data()]; - [[NSApp dockTile] setBadgeLabel: labelString]; - [labelString release]; - [NSApp requestUserAttention: NSInformationalRequest]; -} - -} |