X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=SlimDXc_Jun2010%28VC%2B%2B2008%29%2Fsource%2Fdesign%2FVector3Converter.h;fp=SlimDXc_Jun2010%28VC%2B%2B2008%29%2Fsource%2Fdesign%2FVector3Converter.h;h=0000000000000000000000000000000000000000;hb=d3453b257c2faf4db202d38666a872929ff220cd;hp=512b138f57427402ef70f1b1822c71804c51d950;hpb=1c2eac207d4963c6bc170b3f7fbe0feeffcd17e0;p=dtxmania%2Fdtxmania.git
diff --git a/SlimDXc_Jun2010(VC++2008)/source/design/Vector3Converter.h b/SlimDXc_Jun2010(VC++2008)/source/design/Vector3Converter.h
deleted file mode 100644
index 512b138f..00000000
--- a/SlimDXc_Jun2010(VC++2008)/source/design/Vector3Converter.h
+++ /dev/null
@@ -1,119 +0,0 @@
-/*
-* Copyright (c) 2007-2010 SlimDX Group
-*
-* Permission is hereby granted, free of charge, to any person obtaining a copy
-* of this software and associated documentation files (the "Software"), to deal
-* in the Software without restriction, including without limitation the rights
-* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-* copies of the Software, and to permit persons to whom the Software is
-* furnished to do so, subject to the following conditions:
-*
-* The above copyright notice and this permission notice shall be included in
-* all copies or substantial portions of the Software.
-*
-* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-* THE SOFTWARE.
-*/
-#pragma once
-
-namespace SlimDX
-{
- value class Vector3;
-
- namespace Design
- {
- ///
- /// Provides a type converter to convert objects to and from various
- /// other representations.
- ///
- public ref class Vector3Converter : System::ComponentModel::ExpandableObjectConverter
- {
- private:
- System::ComponentModel::PropertyDescriptorCollection^ m_Properties;
-
- public:
- ///
- /// Initializes a new instance of the class.
- ///
- Vector3Converter();
-
- ///
- /// Returns whether this converter can convert the object to the specified type, using the specified context.
- ///
- /// A that provides a format context.
- /// A that represents the type you want to convert to.
- /// true if this converter can perform the conversion; otherwise, false.
- virtual bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext^ context,
- System::Type^ destinationType) override;
-
- ///
- /// Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.
- ///
- /// A that provides a format context.
- /// A System.Type that represents the type you want to convert from.
- /// true if this converter can perform the conversion; otherwise, false.
- virtual bool CanConvertFrom(System::ComponentModel::ITypeDescriptorContext^ context,
- System::Type^ sourceType) override;
-
- ///
- /// Converts the given value object to the specified type, using the specified context and culture information.
- ///
- /// A that provides a format context.
- /// A . If null is passed, the current culture is assumed.
- /// The to convert.
- /// A that represents the type you want to convert to.
- /// An that represents the converted value.
- virtual System::Object^ ConvertTo(System::ComponentModel::ITypeDescriptorContext^ context,
- System::Globalization::CultureInfo^ culture, System::Object^ value, System::Type^ destinationType) override;
-
- ///
- /// Converts the given object to the type of this converter, using the specified context and culture information.
- ///
- /// A that provides a format context.
- /// A . If null is passed, the current culture is assumed.
- /// The to convert.
- /// An that represents the converted value.
- virtual System::Object^ ConvertFrom(System::ComponentModel::ITypeDescriptorContext^ context,
- System::Globalization::CultureInfo^ culture, System::Object^ value) override;
-
- ///
- /// Returns whether changing a value on this object requires a call to System::ComponentModel::TypeConverter::CreateInstance(System::Collections::IDictionary^)
- /// to create a new value, using the specified context.
- ///
- /// A that provides a format context.
- /// false if changing a property on this object requires a call to System.ComponentModel::TypeConverter::CreateInstance(System::Collections::IDictionary^) to create a new value; otherwise, false.
- virtual bool GetCreateInstanceSupported(System::ComponentModel::ITypeDescriptorContext^ context) override;
-
- ///
- /// Creates an instance of the type that this is associated with, using the specified context, given a set of property values for the object.
- ///
- /// A that provides a format context.
- /// An of new property values.
- /// An representing the given , or null if the object cannot be created.
- virtual System::Object^ CreateInstance(System::ComponentModel::ITypeDescriptorContext^ context,
- System::Collections::IDictionary^ propertyValues) override;
-
- ///
- /// Returns whether this object supports properties, using the specified context.
- ///
- /// A that provides a format context.
- /// true if GetProperties should be called to find the properties of this object; otherwise, false.
- virtual bool GetPropertiesSupported(System::ComponentModel::ITypeDescriptorContext^ context) override;
-
- ///
- /// Creates an instance of the type that this is associated with, using the specified context, given a set of property values for the object.
- ///
- /// A that provides a format context.
- /// An that specifies the type of array for which to get properties.
- /// An array of type that is used as a filter.
- /// A with the properties that are exposed for this data type, or a null reference (Nothing in Visual Basic) if there are no properties.
- virtual System::ComponentModel::PropertyDescriptorCollection^ GetProperties(System::ComponentModel::ITypeDescriptorContext^ context,
- System::Object^ value, array^ attributes ) override;
- };
- }
-}
\ No newline at end of file