SketchUp SDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
pluginprogresscallback.h
Go to the documentation of this file.
1 // Copyright 2013 Trimble Navigation Ltd. All Rights Reserved.
2 #ifndef SKETCHUPPLUGINPROGRESSCALLBACK_H_
3 #define SKETCHUPPLUGINPROGRESSCALLBACK_H_
4 
5 #include <string>
6 
45  public:
51  virtual bool HasBeenCancelled() = 0;
52 
57  virtual void SetPercentDone(double percent) = 0;
58 
63  virtual void SetStepSize(double percent) = 0;
64 
69  virtual void Step() = 0;
70 
76  virtual void SetProgressMessage(const std::string& utf8_message) = 0;
77 };
78 
79 #endif // SKETCHUPPLUGINPROGRESSCALLBACK_H_