#ifndef __DIOBJECT_CPP__
#define __DIOBJECT_CPP__

#include <windows.h>
#include <dinput.h>

#pragma comment ( lib , "dinput8.lib" )
#pragma comment ( lib , "dxguid.lib" )

class							cDIObject{
public:
	LPDIRECTINPUT8			Object;

	cDIObject( void ){Object = NULL;}
	~cDIObject(){}

	LPDIRECTINPUT8			operator->(){return( Object );}

	bool					InitDirectInput( HINSTANCE );
	void					Release( void );
};

cDIObject					DIObject;

#endif