ClientApi::SetUi( ClientUser * )
Reset the ClientUser object used for this connection.
|
Virtual? |
No |
|
|
Class |
||
|
Arguments |
|
a pointer to a |
|
Returns |
|
Notes
Unless you pass the ClientUser object to the Run() method, you must first
call SetUi(). The new
setting applies to commands executed by calling this
ClientApi object’s Run() method.
Example
The following example illustrates two ways to run p4
info:
ClientApi client; ClientUser ui; client.Run( "info", &ui ); client.SetUi( &ui ); client.Run( "info" );