sysstatemgmt/systemstatemgr/sus/src/ssmsuscli.cpp
changeset 41 c87e5f80c17d
parent 0 4e1aa6a622a0
child 61 8cb079868133
equal deleted inserted replaced
35:f7565e9c9ce8 41:c87e5f80c17d
   107  Use this function to request asynchronous loading of a utility plugin.
   107  Use this function to request asynchronous loading of a utility plugin.
   108  
   108  
   109  Usage pattern:
   109  Usage pattern:
   110  @code
   110  @code
   111 	RSsmSusCli session;
   111 	RSsmSusCli session;
   112 	session.Connect();
   112 	User::LeaveIfError(fs.Connect());
   113 	CleanupStackClosePushL(session);
   113 	CleanupStackClosePushL(session);
   114 	TPckgC<TSsmSupInfo>* infoBuf = new (ELeave) TPckgC<TSsmSupInfo>(info);
   114 	TPckgC<TSsmSupInfo>* infoBuf = new (ELeave) TPckgC<TSsmSupInfo>(info);
   115 	session.RequestLoadSup(*infoBuf, status);
   115 	session.RequestLoadSup(*infoBuf, status);
   116 	...
   116 	...
   117 	//It is expected that production code will use an active-object instead of User::WaitForRequest.
   117 	//It is expected that production code will use an active-object instead of User::WaitForRequest.