aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Archive/ArchiveConstants.cs
diff options
context:
space:
mode:
authorMike Mazur2009-03-12 06:04:17 +0000
committerMike Mazur2009-03-12 06:04:17 +0000
commit7b2977d625d46718fe39051c778c477022153cc1 (patch)
tree58c39648c77751cf2b728e0a784e244e7e043735 /OpenSim/Framework/Archive/ArchiveConstants.cs
parentMoving TarArchive to OpenSim.Framework.Archive (diff)
downloadopensim-SC_OLD-7b2977d625d46718fe39051c778c477022153cc1.zip
opensim-SC_OLD-7b2977d625d46718fe39051c778c477022153cc1.tar.gz
opensim-SC_OLD-7b2977d625d46718fe39051c778c477022153cc1.tar.bz2
opensim-SC_OLD-7b2977d625d46718fe39051c778c477022153cc1.tar.xz
Move ArchiveConstants to OpenSim.Framework.Archive
- move a couple constants from InventoryArchiveConstants to ArchiveConstants, now only one of these is needed - change InventoryArchiveConstants references to ArchiveConstants - remove InventoryArchive AssetInventoryServer plugin dependency on OpenSim.Region.CodeModules - trim trailing whitespace
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Archive/ArchiveConstants.cs (renamed from OpenSim/Region/CoreModules/World/Archiver/ArchiveConstants.cs)14
1 files changed, 12 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Archiver/ArchiveConstants.cs b/OpenSim/Framework/Archive/ArchiveConstants.cs
index f5f1fdb..f830e98 100644
--- a/OpenSim/Region/CoreModules/World/Archiver/ArchiveConstants.cs
+++ b/OpenSim/Framework/Archive/ArchiveConstants.cs
@@ -28,7 +28,7 @@
28using System.Collections.Generic; 28using System.Collections.Generic;
29using OpenMetaverse; 29using OpenMetaverse;
30 30
31namespace OpenSim.Region.CoreModules.World.Archiver 31namespace OpenSim.Framework.Archive
32{ 32{
33 /// <summary> 33 /// <summary>
34 /// Constants for the archiving module 34 /// Constants for the archiving module
@@ -46,6 +46,11 @@ namespace OpenSim.Region.CoreModules.World.Archiver
46 public static readonly string ASSETS_PATH = "assets/"; 46 public static readonly string ASSETS_PATH = "assets/";
47 47
48 /// <summary> 48 /// <summary>
49 /// Path for the inventory data
50 /// </summary>
51 public static readonly string INVENTORY_PATH = "inventory/";
52
53 /// <summary>
49 /// Path for the prims file 54 /// Path for the prims file
50 /// </summary> 55 /// </summary>
51 public static readonly string OBJECTS_PATH = "objects/"; 56 public static readonly string OBJECTS_PATH = "objects/";
@@ -54,7 +59,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver
54 /// Path for terrains. Technically these may be assets, but I think it's quite nice to split them out. 59 /// Path for terrains. Technically these may be assets, but I think it's quite nice to split them out.
55 /// </summary> 60 /// </summary>
56 public static readonly string TERRAINS_PATH = "terrains/"; 61 public static readonly string TERRAINS_PATH = "terrains/";
57 62
58 /// <summary> 63 /// <summary>
59 /// Path for region settings. 64 /// Path for region settings.
60 /// </summary> 65 /// </summary>
@@ -66,6 +71,11 @@ namespace OpenSim.Region.CoreModules.World.Archiver
66 public static readonly string ASSET_EXTENSION_SEPARATOR = "_"; 71 public static readonly string ASSET_EXTENSION_SEPARATOR = "_";
67 72
68 /// <summary> 73 /// <summary>
74 /// Used to separate components in an inventory node name
75 /// </summary>
76 public static readonly string INVENTORY_NODE_NAME_COMPONENT_SEPARATOR = "__";
77
78 /// <summary>
69 /// Extensions used for asset types in the archive 79 /// Extensions used for asset types in the archive
70 /// </summary> 80 /// </summary>
71 public static readonly IDictionary<sbyte, string> ASSET_TYPE_TO_EXTENSION = new Dictionary<sbyte, string>(); 81 public static readonly IDictionary<sbyte, string> ASSET_TYPE_TO_EXTENSION = new Dictionary<sbyte, string>();