OSDN Git Service

Merge branch 'feature/#36529_SlimDXからSharpDXへの移行' into develop
[dtxmania/dtxmania.git] / SlimDXc_Jun2010(VC++2008) / source / design / FieldPropertyDescriptor.cpp
diff --git a/SlimDXc_Jun2010(VC++2008)/source/design/FieldPropertyDescriptor.cpp b/SlimDXc_Jun2010(VC++2008)/source/design/FieldPropertyDescriptor.cpp
deleted file mode 100644 (file)
index 23a56dc..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-#include "stdafx.h"\r
-/*\r
-* Copyright (c) 2007-2010 SlimDX Group\r
-* \r
-* Permission is hereby granted, free of charge, to any person obtaining a copy\r
-* of this software and associated documentation files (the "Software"), to deal\r
-* in the Software without restriction, including without limitation the rights\r
-* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r
-* copies of the Software, and to permit persons to whom the Software is\r
-* furnished to do so, subject to the following conditions:\r
-* \r
-* The above copyright notice and this permission notice shall be included in\r
-* all copies or substantial portions of the Software.\r
-* \r
-* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
-* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r
-* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r
-* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r
-* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r
-* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\r
-* THE SOFTWARE.\r
-*/\r
-\r
-#include "FieldPropertyDescriptor.h"\r
-\r
-using namespace System;\r
-using namespace System::ComponentModel;\r
-using namespace System::ComponentModel::Design::Serialization;\r
-using namespace System::Reflection;\r
-\r
-namespace SlimDX\r
-{\r
-namespace Design\r
-{\r
-       FieldPropertyDescriptor::FieldPropertyDescriptor( FieldInfo^ fieldInfo )\r
-               : PropertyDescriptor( fieldInfo->Name, \r
-               static_cast<array<Attribute^>^>( fieldInfo->GetCustomAttributes(true) ) )\r
-       {\r
-               m_FieldInfo = fieldInfo;\r
-       }\r
-\r
-       Type^ FieldPropertyDescriptor::ComponentType::get()\r
-       {\r
-               return m_FieldInfo->DeclaringType;\r
-       }\r
-\r
-       bool FieldPropertyDescriptor::IsReadOnly::get()\r
-       {\r
-               return false;\r
-       }\r
-\r
-       Type^ FieldPropertyDescriptor::PropertyType::get()\r
-       {\r
-               return m_FieldInfo->FieldType;\r
-       }\r
-\r
-       bool FieldPropertyDescriptor::CanResetValue( Object^ )\r
-       {\r
-               return false;\r
-       }\r
-\r
-       void FieldPropertyDescriptor::ResetValue( Object^ )\r
-       {\r
-               //don't need to do anything\r
-       }\r
-\r
-       Object^ FieldPropertyDescriptor::GetValue( Object^ component )\r
-       {\r
-               return m_FieldInfo->GetValue( component );\r
-       }\r
-\r
-       void FieldPropertyDescriptor::SetValue( Object^ component, Object^ value )\r
-       {\r
-               m_FieldInfo->SetValue( component, value );\r
-       }\r
-\r
-       bool FieldPropertyDescriptor::ShouldSerializeValue( Object^ )\r
-       {\r
-               return true;\r
-       }\r
-}\r
-}
\ No newline at end of file