v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ActivityControl Class Referenceabstract

#include <v8.h>

Public Types

enum  ControlOption { kContinue = 0, kAbort = 1 }
 

Public Member Functions

virtual ~ActivityControl ()
 
virtual ControlOption ReportProgressValue (int done, int total)=0
 

Detailed Description

An interface for reporting progress and controlling long-running activities.

Definition at line 3985 of file v8.h.

Member Enumeration Documentation

Enumerator
kContinue 
kAbort 

Definition at line 3987 of file v8.h.

Constructor & Destructor Documentation

virtual ~ActivityControl ( )
inlinevirtual

Definition at line 3991 of file v8.h.

Member Function Documentation

virtual ControlOption ReportProgressValue ( int  done,
int  total 
)
pure virtual

Notify about current progress. The activity can be stopped by returning kAbort as the callback result.


The documentation for this class was generated from the following file: