IAssistProcessor Class
(TextEditor::IAssistProcessor)The IAssistProcessor class acts as an interface that actually computes an assist proposal. More...
| Header: | #include <IAssistProcessor> |
Public Functions
| virtual TextEditor::IAssistProposal * | perform(const TextEditor::AssistInterface *) = 0 |
Detailed Description
See also IAssistProposal and IAssistProvider.
Member Function Documentation
[pure virtual] TextEditor::IAssistProposal *IAssistProcessor::perform(const TextEditor::AssistInterface *)
Computes a proposal and returns it. Access to the document is made through the interface. If this is an asynchronous processor the interface will be detached.
The processor takes ownership of the interface. Also, one should be careful in the case of sharing data across asynchronous processors since there might be more than one instance of them computing a proposal at a particular time.
See also AssistInterface::detach().