diff options
author | Rick Pasetto <rick@lindenlab.com> | 2009-10-05 18:20:22 -0700 |
---|---|---|
committer | Rick Pasetto <rick@lindenlab.com> | 2009-10-05 18:20:22 -0700 |
commit | e157104c7475ef8570dd18700349cba1f86bf6ec (patch) | |
tree | 653a8284717fbd610b658b84008004ecabe0f9ec /indra/llplugin/llpluginprocessparent.h | |
parent | f0dd8c460362c78e4d17be16c153ad618d4dd60e (diff) | |
parent | 39ee2367a7e771890017fc3d663780437ea69bb2 (diff) |
Merge
Diffstat (limited to 'indra/llplugin/llpluginprocessparent.h')
-rw-r--r-- | indra/llplugin/llpluginprocessparent.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llplugin/llpluginprocessparent.h b/indra/llplugin/llpluginprocessparent.h index 0d0b047c88..754ebeb946 100644 --- a/indra/llplugin/llpluginprocessparent.h +++ b/indra/llplugin/llpluginprocessparent.h @@ -45,6 +45,7 @@ public: virtual ~LLPluginProcessParentOwner(); virtual void receivePluginMessage(const LLPluginMessage &message) = 0; // This will only be called when the plugin has died unexpectedly + virtual void pluginLaunchFailed() {}; virtual void pluginDied() {}; }; @@ -68,6 +69,9 @@ public: bool isDone(void); void killSockets(void); + + // Go to the proper error state + void errorState(void); void setSleepTime(F64 sleep_time, bool force_send = false); F64 getSleepTime(void) const { return mSleepTime; }; @@ -110,6 +114,7 @@ private: STATE_HELLO, // first message from the plugin process has been received STATE_LOADING, // process has been asked to load the plugin STATE_RUNNING, // + STATE_LAUNCH_FAILURE, // Failure before plugin loaded STATE_ERROR, // generic bailout state STATE_CLEANUP, // clean everything up STATE_EXITING, // Tried to kill process, waiting for it to exit |