00001 // 00002 // LoginController.h 00003 // MacTrek 00004 // 00005 // Created by Aqua on 27/05/2006. 00006 // Copyright 2006 Luky Soft. All rights reserved. 00007 // 00008 00009 #import <Cocoa/Cocoa.h> 00010 #import "BaseClass.h" 00011 #import "LoginManager.h" 00012 #import "SelectServerController.h" 00013 00014 @interface LoginController : BaseClass { 00015 IBOutlet NSTextField *playerName; 00016 IBOutlet NSTextField *playerPassword; 00017 IBOutlet NSTextField *playerPasswordVerify; 00018 IBOutlet NSTextField *loginInstruction; 00019 IBOutlet NSLevelIndicator *loginClock; 00020 IBOutlet NSButton *outfitButton; 00021 00022 // our helper to talk to the server 00023 LoginManager *loginManager; 00024 } 00025 00026 - (void) reset; 00027 - (void) enablePlayerName; 00028 - (void) disablePlayerName; 00029 // handling of input events 00030 - (void)loginDidEndEditing:(NSNotification *)aNotification; 00031 - (void) setMultiThreaded:(bool)multi; 00032 - (void) startClock; 00033 - (void) stopClock; 00034 00035 @end