sysstatemgmt/systemstatemgr/sus/src/ssmsuscli.cpp
branchRCL_3
changeset 22 8cb079868133
parent 21 ccb4f6b3db21
equal deleted inserted replaced
21:ccb4f6b3db21 22:8cb079868133
   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 	User::LeaveIfError(fs.Connect());
   112 	session.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.