Foxit PDF SDK
foxit::addon::compliance::ProgressCallback Class Referenceabstract

Public Member Functions

virtual void Release ()=0
 A callback function used to release current callback object itself. More...
 
virtual void UpdateCurrentStateData (int current_rate, const WString &current_state_string)=0
 A callback function used to update current progress state data to user in order that user can update their progress bar. More...
 

Detailed Description

This class represent a callback object to update the progress data to user. All the pure virtual functions in this class are used as callback functions and should be implemented by user.

Member Function Documentation

◆ Release()

virtual void foxit::addon::compliance::ProgressCallback::Release ( )
pure virtual

A callback function used to release current callback object itself.

Returns
None.

◆ UpdateCurrentStateData()

virtual void foxit::addon::compliance::ProgressCallback::UpdateCurrentStateData ( int  current_rate,
const WString current_state_string 
)
pure virtual

A callback function used to update current progress state data to user in order that user can update their progress bar.

Parameters
[in]current_rateCurrent rate. It would be between 0 and 100 (inclusive). 100 means finished.
[in]current_state_stringA string that describing what current state is. This may be an empty string.
Returns
None.