summaryrefslogtreecommitdiff
path: root/indra/newview/llviewernetwork.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewernetwork.h')
-rw-r--r--indra/newview/llviewernetwork.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/indra/newview/llviewernetwork.h b/indra/newview/llviewernetwork.h
index 2ed663e038..7d9c70994c 100644
--- a/indra/newview/llviewernetwork.h
+++ b/indra/newview/llviewernetwork.h
@@ -174,6 +174,20 @@ class LLGridManager : public LLSingleton<LLGridManager>
//@}
+ typedef enum e_grid_platform {
+ NOPLATFORM = 0,
+ SLMAIN,
+ SLBETA,
+ OPENSIM,
+ HALCYON
+ } EGridPlatform;
+
+ typedef enum e_add_grid {
+ ADD_MANUAL = 0,
+ ADD_HYPERGRID,
+ ADD_LINK
+ } EAddGridType;
+
/* ================================================================
* @name Selecting the current grid
* @{
@@ -198,6 +212,11 @@ class LLGridManager : public LLSingleton<LLGridManager>
/// Is the selected grid one of the hard-coded default grids (Agni or Aditi)
bool isSystemGrid() { return isSystemGrid(mGrid); }
+ /// Is the selected grid Second Life?
+ bool isInSecondlife();
+
+ bool isInOpenSim();
+
/// Is the selected grid a production grid?
bool isInProductionGrid();
/**