Blender V2.61 - r43446
|
00001 /* 00002 * ***** BEGIN GPL LICENSE BLOCK ***** 00003 * 00004 * This program is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU General Public License 00006 * as published by the Free Software Foundation; either version 2 00007 * of the License, or (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program; if not, write to the Free Software Foundation, 00016 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00017 * 00018 * Contributor(s): 00019 * Mike Erwin 00020 * 00021 * ***** END GPL LICENSE BLOCK ***** 00022 */ 00023 00024 #ifndef _GHOST_NDOFMANAGERCOCOA_H_ 00025 #define _GHOST_NDOFMANAGERCOCOA_H_ 00026 00027 #ifdef WITH_INPUT_NDOF 00028 00029 #include "GHOST_NDOFManager.h" 00030 00031 // Event capture is handled within the NDOF manager on Macintosh, 00032 // so there's no need for SystemCocoa to look for them. 00033 00034 class GHOST_NDOFManagerCocoa : public GHOST_NDOFManager 00035 { 00036 public: 00037 GHOST_NDOFManagerCocoa(GHOST_System&); 00038 00039 ~GHOST_NDOFManagerCocoa(); 00040 00041 // whether multi-axis functionality is available (via the OS or driver) 00042 // does not imply that a device is plugged in or being used 00043 bool available(); 00044 bool oldDRV(); 00045 00046 private: 00047 unsigned short m_clientID; 00048 }; 00049 00050 00051 #endif // WITH_INPUT_NDOF 00052 #endif // #include guard