1// 2// PXUserWarmer.m 3// Pixen-XCode 4// 5// Created by Ian Henderson on 09.12.04. 6// Copyright 2004 Open Sword Group. All rights reserved. 7// 8 9#import "PXUserWarmer.h" 10 11 12@implementation PXUserWarmer 13 14+ (void)warmTheUser:(NSString *)string 15{ 16#ifdef __COCOA__ 17 NSAlert *alert = [[NSAlert alloc] init]; 18 [alert setMessageText:@"KABOOM"]; 19 [alert setInformativeText:string]; 20 [alert addButtonWithTitle:@"NOT OK"]; 21 [alert runModal]; 22 [alert release]; 23#else 24 NSLog(string); 25#endif 26} 27 28@end 29