OSDN Git Service

Merge branch 'feature/#36529_SlimDXからSharpDXへの移行' into develop
[dtxmania/dtxmania.git] / SlimDXc_Jun2010(VC++2008) / source / directinput / DeviceDI.h
diff --git a/SlimDXc_Jun2010(VC++2008)/source/directinput/DeviceDI.h b/SlimDXc_Jun2010(VC++2008)/source/directinput/DeviceDI.h
deleted file mode 100644 (file)
index d8b065b..0000000
+++ /dev/null
@@ -1,184 +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 "Enums.h"\r
-#include "DeviceInstance.h"\r
-#include "DeviceObjectInstance.h"\r
-#include "DeviceProperties.h"\r
-#include "ObjectProperties.h"\r
-#include "CapabilitiesDI.h"\r
-#include "DirectInput.h"\r
-#include "EffectInfo.h"\r
-#include "DeviceImageHeader.h"\r
-#include "EffectFile.h"\r
-#include "ObjectData.h"\r
-\r
-namespace SlimDX\r
-{\r
-       namespace DirectInput\r
-       {\r
-               ref class Effect;\r
-\r
-               public ref class Device abstract : public ComObject\r
-               {\r
-                       COMOBJECT_BASE(IDirectInputDevice8);\r
-\r
-               private:\r
-                       Capabilities^ caps;\r
-                       DeviceInstance^ information;\r
-                       DeviceProperties^ properties;\r
-\r
-               internal:\r
-                       Device() { }\r
-\r
-               protected:\r
-                       Device( DirectInput^ directInput, System::Guid subsystem );\r
-\r
-               public:\r
-                       /// <summary>\r
-                       /// Obtains access to the input device.\r
-                       /// </summary>\r
-                       /// <returns>A <see cref="SlimDX::Result"/> object describing the result of the operation.</returns>\r
-                       Result Acquire();\r
-\r
-                       /// <summary>\r
-                       /// Releases access to the device.\r
-                       /// </summary>\r
-                       /// <returns>A <see cref="SlimDX::Result"/> object describing the result of the operation.</returns>\r
-                       Result Unacquire();\r
-                       \r
-                       /// <summary>\r
-                       /// Sets the device's cooperative level.\r
-                       /// </summary>\r
-                       /// <param name="handle">A handle of a window to associate with the device.</param>\r
-                       /// <param name="flags">Flags that describe the cooperative level of the device.</param>\r
-                       /// <returns>A <see cref="SlimDX::Result"/> object describing the result of the operation.</returns>\r
-                       Result SetCooperativeLevel( System::IntPtr handle, CooperativeLevel flags );\r
-\r
-                       /// <summary>\r
-                       /// Sets the device's cooperative level.\r
-                       /// </summary>\r
-                       /// <param name="control">A control to associate with the device.</param>\r
-                       /// <param name="flags">Flags that describe the cooperative level of the device.</param>\r
-                       /// <returns>A <see cref="SlimDX::Result"/> object describing the result of the operation.</returns>\r
-                       Result SetCooperativeLevel( System::Windows::Forms::Control^ control, CooperativeLevel flags );\r
-\r
-                       /// <summary>\r
-                       /// Runs the DirectInput control panel associated with this device. If the\r
-                       /// device does not have a control panel associated with it, the default\r
-                       /// device control panel is launched.\r
-                       /// </summary>\r
-                       /// <returns>A <see cref="SlimDX::Result"/> object describing the result of the operation.</returns>\r
-                       Result RunControlPanel();\r
-\r
-                       /// <summary>\r
-                       /// Runs the DirectInput control panel associated with this device. If the\r
-                       /// device does not have a control panel associated with it, the default\r
-                       /// device control panel is launched.\r
-                       /// </summary>\r
-                       /// <param name="parent">The parent control.</param>\r
-                       /// <returns>A <see cref="SlimDX::Result"/> object describing the result of the operation.</returns>\r
-                       Result RunControlPanel( System::Windows::Forms::Control^ parent );\r
-\r
-                       /// <summary>\r
-                       /// Retrieves data from polled objects on a DirectInput device.\r
-                       /// </summary>\r
-                       /// <returns>A <see cref="SlimDX::Result"/> object describing the result of the operation.</returns>\r
-                       Result Poll();\r
-\r
-                       DeviceImageHeader GetDeviceImages();\r
-                       EffectInfo GetEffectInfo( System::Guid guid );\r
-                       Result SendData( array<ObjectData>^ data, bool overlay );\r
-\r
-                       DeviceObjectInstance GetObjectInfoByUsage( int usageCode );\r
-                       DeviceObjectInstance GetObjectInfoById( int objectId );\r
-\r
-                       Result SetNotification( System::Threading::WaitHandle^ eventHandle );\r
-\r
-                       /// <summary>\r
-                       /// Retrieves a collection of objects on the device.\r
-                       /// </summary>\r
-                       /// <param name="objectType">A filter for the returned device objects collection.</param>\r
-                       /// <returns>A collection of device objects matching the specified filter.</returns>\r
-                       System::Collections::Generic::IList<DeviceObjectInstance>^ GetObjects( ObjectDeviceType objectType );\r
-\r
-                       /// <summary>\r
-                       /// Retrieves a collection of objects on the device.\r
-                       /// </summary>\r
-                       /// <returns>A collection of all device objects on the device.</returns>\r
-                       System::Collections::Generic::IList<DeviceObjectInstance>^ GetObjects();\r
-\r
-                       System::Collections::Generic::IList<EffectInfo>^ GetEffects();\r
-                       System::Collections::Generic::IList<EffectInfo>^ GetEffects( EffectType type );\r
-\r
-                       System::Collections::Generic::IList<EffectFile>^ GetEffectsInFile( System::String^ fileName );\r
-                       System::Collections::Generic::IList<EffectFile>^ GetEffectsInFile( System::String^ fileName, EffectFileFlags flags );\r
-\r
-                       Result WriteEffectsToFile( System::String^ fileName, array<EffectFile>^ effects );\r
-                       Result WriteEffectsToFile( System::String^ fileName, array<EffectFile>^ effects, bool includeNonstandardEffects );\r
-\r
-                       /// <summary>\r
-                       /// Gets properties about a single object on an input device.\r
-                       /// </summary>\r
-                       /// <param name="usageCode">The usageCode of the object whose properties are to be retrieved.</param>\r
-                       /// <returns>The properties of the desired object.</returns>\r
-                       ObjectProperties^ GetObjectPropertiesByUsage( int usageCode );\r
-\r
-                       /// <summary>\r
-                       /// Gets properties about a single object on an input device.\r
-                       /// </summary>\r
-                       /// <param name="objectId">The identifier of the object whose properties are to be retrieved.</param>\r
-                       /// <returns>The properties of the desired object.</returns>\r
-                       ObjectProperties^ GetObjectPropertiesById( int objectId );\r
-\r
-                       /// <summary>\r
-                       /// Sends a hardware-specific command to the force-feedback driver.\r
-                       /// </summary>\r
-                       /// <param name="command">The command to be sent.</param>\r
-                       /// <param name="data">The data to be sent to the device.</param>\r
-                       /// <param name="outputSize">The expected size of the output buffer.</param>\r
-                       /// <returns>The output data of the command.</returns>\r
-                       array<System::Byte>^ Escape( int command, array<System::Byte>^ data, int outputSize );\r
-\r
-                       property System::Collections::Generic::IList<Effect^>^ CreatedEffects\r
-                       {\r
-                               System::Collections::Generic::IList<Effect^>^ get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Gets a set of properties that control the behavior of the device.\r
-                       /// </summary>\r
-                       property DeviceProperties^ Properties { DeviceProperties^ get(); }\r
-\r
-                       /// <summary>\r
-                       /// Gets the capabilities of the device.\r
-                       /// </summary>\r
-                       property Capabilities^ Capabilities { SlimDX::DirectInput::Capabilities^ get(); }\r
-\r
-                       /// <summary>\r
-                       /// Gets information about the device's identity.\r
-                       /// </summary>\r
-                       property DeviceInstance^ Information { DeviceInstance^ get(); }\r
-               };\r
-       }\r
-}
\ No newline at end of file