OSDN Git Service

Merge branch 'feature/#36529_SlimDXからSharpDXへの移行' into develop
[dtxmania/dtxmania.git] / SlimDXc_Jun2010(VC++2008) / source / directinput / DeviceInstance.h
diff --git a/SlimDXc_Jun2010(VC++2008)/source/directinput/DeviceInstance.h b/SlimDXc_Jun2010(VC++2008)/source/directinput/DeviceInstance.h
deleted file mode 100644 (file)
index 0d74ef8..0000000
+++ /dev/null
@@ -1,138 +0,0 @@
-/*\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
-#pragma once\r
-\r
-#include "../multimedia/Enums.h"\r
-#include "Enums.h"\r
-\r
-namespace SlimDX\r
-{\r
-       namespace DirectInput\r
-       {\r
-               /// <summary>\r
-               /// Contains information about a device's identity.\r
-               /// </summary>\r
-               public ref class DeviceInstance\r
-               {\r
-               private:\r
-                       System::Guid instanceGuid;\r
-                       System::Guid productGuid;\r
-                       System::Guid ffDriverGuid;\r
-                       DeviceType type;\r
-                       int subType;\r
-                       System::String^ instanceName;\r
-                       System::String^ productName;\r
-                       SlimDX::Multimedia::UsageId usage;\r
-                       SlimDX::Multimedia::UsagePage usagePage;\r
-                       bool hid;\r
-\r
-               internal:\r
-                       DeviceInstance( const DIDEVICEINSTANCE &deviceInstance );\r
-\r
-               public:\r
-                       /// <summary>\r
-                       /// Gets the unique identifier for the instance of the device. Instance Guids are\r
-                       /// specific to a particular computer.\r
-                       /// </summary>\r
-                       property System::Guid InstanceGuid\r
-                       {\r
-                               System::Guid get() { return instanceGuid; }\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Gets the unique identifier for the product. This identifier is established\r
-                       /// by the manufacturer of the device.\r
-                       /// </summary>\r
-                       property System::Guid ProductGuid\r
-                       {\r
-                               System::Guid get() { return productGuid; }\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Gets the unique identifier for the driver being used for force-feedback. The\r
-                       /// driver's manufacturer establishes this identifier.\r
-                       /// </summary>\r
-                       property System::Guid ForceFeedbackDriverGuid\r
-                       {\r
-                               System::Guid get() { return ffDriverGuid; }\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Gets the main device type specifier.\r
-                       /// </summary>\r
-                       property DeviceType Type\r
-                       {\r
-                               DeviceType get() { return type; }\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Gets the secondary device type specifier.\r
-                       /// </summary>\r
-                       property int Subtype\r
-                       {\r
-                               int get() { return subType; }\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Gets the friendly name for the instance.\r
-                       /// </summary>\r
-                       property System::String^ InstanceName\r
-                       {\r
-                               System::String^ get() { return instanceName; }\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Gets the friendly name for the product.\r
-                       /// </summary>\r
-                       property System::String^ ProductName\r
-                       {\r
-                               System::String^ get() { return productName; }\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// If the device is a Human Interface Device, this member contains\r
-                       /// the HID usage code.\r
-                       /// </summary>\r
-                       property SlimDX::Multimedia::UsageId UsageId\r
-                       {\r
-                               SlimDX::Multimedia::UsageId get() { return usage; }\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// If the device is a Human Interface Device, this member contains\r
-                       /// the HID usage page code.\r
-                       /// </summary>\r
-                       property SlimDX::Multimedia::UsagePage UsagePage\r
-                       {\r
-                               SlimDX::Multimedia::UsagePage get() { return usagePage; }\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Gets a value indicating whether the device is a Human Interface Device.\r
-                       /// </summary>\r
-                       property bool HumanInterfaceDevice\r
-                       {\r
-                               bool get() { return hid; }\r
-                       }\r
-               };\r
-       }\r
-}
\ No newline at end of file