[super dealloc];
}
+- (void)readDefaults
+{
+ ITHorizontalWindowPosition horizontalPosition = [[NSUserDefaults standardUserDefaults] integerForKey:@"statusWindowHorizontalPosition"];
+ ITVerticalWindowPosition verticalPosition = [[NSUserDefaults standardUserDefaults] integerForKey:@"statusWindowVerticalPosition"];
+ [_window setHorizontalPosition:horizontalPosition];
+ [_window setVerticalPosition:verticalPosition];
+}
+
- (void)showSongInfoWindowWithSource:(ITMTRemotePlayerSource)source
title: (NSString *)title
album: (NSString *)album
[_window setLocked:YES];
}
+- (void)showReconnectQueryWindow
+{
+ NSString *message = @"The selected shared player is available again.\nWould you like to reconnect to it?.";
+
+ [_window setImage:[NSImage imageNamed:@"Register"]];
+ [_window buildDialogWindowWithMessage:message
+ defaultButton:@"Reconnect"
+ alternateButton:@"Ignore"
+ target:[MainController sharedController]
+ defaultAction:@selector(reconnect)
+ alternateAction:@selector(cancelReconnect)];
+
+ [_window appear:self];
+ [_window setLocked:YES];
+}
@end
\ No newline at end of file