Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
AssetObjectDefinitions.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under MIT License. See LICENSE.md for details.
3 //
4 // This file is part of YamlDotNet - A .NET library for YAML.
5 // Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013 Antoine Aubry
6 
7 // Permission is hereby granted, free of charge, to any person obtaining a copy of
8 // this software and associated documentation files (the "Software"), to deal in
9 // the Software without restriction, including without limitation the rights to
10 // use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
11 // of the Software, and to permit persons to whom the Software is furnished to do
12 // so, subject to the following conditions:
13 
14 // The above copyright notice and this permission notice shall be included in all
15 // copies or substantial portions of the Software.
16 
17 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23 // SOFTWARE.
24 
25 using System.ComponentModel.Composition;
26 using Microsoft.VisualStudio.Text.Classification;
28 
29 namespace SiliconStudio.Paradox.VisualStudio.Assets
30 {
31  internal static class AssetObjectDefinitions
32  {
33  /// <summary>
34  /// Content Type
35  /// </summary>
36  [Export]
37  [Name(Constants.ContentType)]
38  [BaseDefinition("code")]
39  internal static ContentTypeDefinition hidingContentTypeDefinition = null;
40 
41  /// <summary>
42  /// File extensions
43  /// </summary>
44  [Export]
45  [FileExtension(".pdxpkg")]
46  [ContentType(Constants.ContentType)]
47  internal static FileExtensionToContentTypeDefinition pdxpkgFileExtensionDefinition = null;
48 
49  [Export]
50  [FileExtension(".pdxfnt")]
51  [ContentType(Constants.ContentType)]
52  internal static FileExtensionToContentTypeDefinition pdxfntFileExtensionDefinition = null;
53 
54  [Export]
55  [FileExtension(".pdxfxlib")]
56  [ContentType(Constants.ContentType)]
57  internal static FileExtensionToContentTypeDefinition pdxfxlibFileExtensionDefinition = null;
58 
59  [Export]
60  [FileExtension(".pdxlightconf")]
61  [ContentType(Constants.ContentType)]
62  internal static FileExtensionToContentTypeDefinition pdxlightconfFileExtensionDefinition = null;
63 
64  [Export]
65  [FileExtension(".pdxtex")]
66  [ContentType(Constants.ContentType)]
67  internal static FileExtensionToContentTypeDefinition pdxtexFileExtensionDefinition = null;
68 
69  [Export]
70  [FileExtension(".pdxentity")]
71  [ContentType(Constants.ContentType)]
72  internal static FileExtensionToContentTypeDefinition pdxentityFileExtensionDefinition = null;
73 
74 
75  [Export]
76  [FileExtension(".pdxm3d")]
77  [ContentType(Constants.ContentType)]
78  internal static FileExtensionToContentTypeDefinition pdxm3dFileExtensionDefinition = null;
79 
80  [Export]
81  [FileExtension(".pdxanim")]
82  [ContentType(Constants.ContentType)]
83  internal static FileExtensionToContentTypeDefinition pdxanimFileExtensionDefinition = null;
84 
85  [Export]
86  [FileExtension(".pdxsnd")]
87  [ContentType(Constants.ContentType)]
88  internal static FileExtensionToContentTypeDefinition pdxsndFileExtensionDefinition = null;
89 
90  [Export]
91  [FileExtension(".pdxmat")]
92  [ContentType(Constants.ContentType)]
93  internal static FileExtensionToContentTypeDefinition pdxmatFileExtensionDefinition = null;
94 
95  [Export]
96  [FileExtension(".pdxsprite")]
97  [ContentType(Constants.ContentType)]
98  internal static FileExtensionToContentTypeDefinition pdxsprtFileExtensionDefinition = null;
99 
100  /// <summary>
101  /// Classification type definitions
102  /// </summary>
103  [Export(typeof(ClassificationTypeDefinition))]
104  [Name(AnchorClassificationName)]
105  internal static ClassificationTypeDefinition YamlAnchorType = null;
106  public const string AnchorClassificationName = "Paradox.YamlAnchor";
107 
108  [Export(typeof(ClassificationTypeDefinition))]
109  [Name(AliasClassificationName)]
110  internal static ClassificationTypeDefinition YamlAliasType = null;
111  public const string AliasClassificationName = "Paradox.YamlAlias";
112 
113  [Export(typeof(ClassificationTypeDefinition))]
114  [Name(NumberClassificationName)]
115  internal static ClassificationTypeDefinition YamlNumberType = null;
116  public const string NumberClassificationName = "Paradox.YamlNumber";
117 
118  [Export(typeof(ClassificationTypeDefinition))]
119  [Name(KeyClassificationName)]
120  internal static ClassificationTypeDefinition YamlKeyType = null;
121  public const string KeyClassificationName = "Paradox.YamlKey";
122 
123  [Export(typeof(ClassificationTypeDefinition))]
124  [Name(ErrorClassificationName)]
125  internal static ClassificationTypeDefinition YamlErrorType = null;
126  public const string ErrorClassificationName = "Paradox.YamlError";
127  }
128 }
global::MonoTouch.Constants Constants
Definition: TouchRunner.cs:42
SiliconStudio.Core.Utilities Utilities
Definition: Texture.cs:29