~jamesbrashko/+junk/POGSdevel

« back to all changes in this revision

Viewing changes to POGSNetwork/UserInterface.cs

  • Committer: Matthew Walton
  • Date: 2008-02-10 19:13:10 UTC
  • Revision ID: matthew@aerial-20080210191310-bhvftr53ylmmnlqh
Now using continuation passing style for callback pairs. Simplifies client interface and code dependencies.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
                /**
42
42
                 * <summary>The user should be prompted for a password for their
43
43
                 * chosen character slot. Once a password is obtained, the UI
44
 
                 * should call Client.UserSuppliedSlotPassword() with the password
 
44
                 * will call the supplied callback with the password
45
45
                 * </summary>
46
46
                 */
47
 
                void ObtainCharacterSlotPassword();
 
47
                void ObtainCharacterSlotPassword(StringReturnCallback cb);
48
48
                
49
49
                string GetNextCharacterColour();
50
50
                
51
 
                void ObtainObserverName();
 
51
                /**
 
52
                 * <summary>The user should be prompted for a name for their
 
53
                 * observer. Once obtained, it will be passed back using
 
54
                 * the supplied callback.
 
55
                 * </summary>
 
56
                 */
 
57
                void ObtainObserverName(StringReturnCallback cb);
52
58
        }
53
59
}