summaryrefslogtreecommitdiff
path: root/indra/viewer_components/updater/llupdaterservice.h
diff options
context:
space:
mode:
authorAndrew A. de Laix <alain@lindenlab.com>2010-11-17 16:27:50 -0800
committerAndrew A. de Laix <alain@lindenlab.com>2010-11-17 16:27:50 -0800
commitc212695cd96f94248b0da2085aeb23c54a5ca76b (patch)
tree3efd8a99bf4addaf53ca66ba8428ac489a9ea4a9 /indra/viewer_components/updater/llupdaterservice.h
parent8e0e5e0bd9fd3e699a36b6babfacab3c0f61935b (diff)
post events for dowload success and error.
Diffstat (limited to 'indra/viewer_components/updater/llupdaterservice.h')
-rw-r--r--indra/viewer_components/updater/llupdaterservice.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/viewer_components/updater/llupdaterservice.h b/indra/viewer_components/updater/llupdaterservice.h
index ec20dc6e05..8d0b95be86 100644
--- a/indra/viewer_components/updater/llupdaterservice.h
+++ b/indra/viewer_components/updater/llupdaterservice.h
@@ -39,6 +39,16 @@ public:
public:
UsageError(const std::string& msg) : std::runtime_error(msg) {}
};
+
+ // Name of the event pump through which update events will be delivered.
+ static std::string const & pumpName(void);
+
+ // Type codes for events posted by this service. Stored the event's 'type' element.
+ enum UpdateEvent {
+ INVALID,
+ DOWNLOAD_COMPLETE,
+ DOWNLOAD_ERROR
+ };
LLUpdaterService();
~LLUpdaterService();