Location:
SHGAPI.H
Link against: sheng.lib
class MShgCallBackAPI;
Spreadsheet engine client callback interface.
The client implements this interface to receive notifications from the engine of various events.
Defined in MShgCallBackAPI
:
DisplayInfoMessage()
, GetCurrentCell()
, MShgCallBackAPI_Reserved1()
, NeedToReportCellChanged()
, ReportCellChanged()
, ReportCircularDependencyExists()
, ReportRecalculationInProgress()
, ReportRecalculationNeeded()
virtual void GetCurrentCell(TInt &aWorkSheetNo, TCellRef &aCellRef) const=0;
Gets the client's current cell (e.g. the one with current UI focus).
|
virtual void ReportCellChanged(TInt aWorkSheetNo, const TCellRef &aCellRef)=0;
!! only needed for CELLPOINTER function
Reports that a specified cell has been changed.
This is only called if NeedToReportCellChanged()
is enabled.
|
virtual TBool NeedToReportCellChanged(TInt aWorkSheetNo, const TCellRef &aCellRef) const=0;
Queries if the engine should notify the interface of changes to the specified cell.
Changes are reported through ReportCellChanged()
.
|
|
virtual void ReportRecalculationNeeded(TBool aNeeded)=0;
Reports that the engine needs/does not need to recalculate the spreadsheet.
|
virtual void ReportRecalculationInProgress(TBool aInProgress)=0;
Reports that the engine is recalculating, or has finished recalculating, the spreadsheet.
|
virtual void ReportCircularDependencyExists(TBool aExists)=0;
Reports that the engine has discovered a circular dependency while performing a recalculation.
|
virtual void DisplayInfoMessage(const TDesC &aMessage) const=0;
Displays a brief message.
This is only used for debug purposes.
|
private: virtual IMPORT_C void MShgCallBackAPI_Reserved1();