~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to intern/ghost/intern/GHOST_NDOFManagerCocoa.h

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-02-19 11:24:23 UTC
  • mfrom: (14.2.23 sid)
  • Revision ID: package-import@ubuntu.com-20140219112423-rkmaz2m7ha06d4tk
Tags: 2.69-3ubuntu1
* Merge with Debian; remaining changes:
  - Configure without OpenImageIO on armhf, as it is not available on
    Ubuntu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
#ifdef WITH_INPUT_NDOF
28
28
 
 
29
 
 
30
extern "C" {
 
31
#include <ConnexionClientAPI.h>
 
32
#include <stdio.h>
 
33
}
 
34
 
 
35
 
29
36
#include "GHOST_NDOFManager.h"
 
37
extern "C"  OSErr   GHOST_NDOFManager3Dconnexion_available(void);
 
38
extern "C"  OSErr   GHOST_NDOFManager3Dconnexion_oldDRV(void);
 
39
extern "C"  OSErr   GHOST_NDOFManager3Dconnexion_InstallConnexionHandlers(ConnexionMessageHandlerProc messageHandler, ConnexionAddedHandlerProc addedHandler, ConnexionRemovedHandlerProc removedHandler);
 
40
extern "C"  void GHOST_NDOFManager3Dconnexion_CleanupConnexionHandlers(void);
 
41
extern "C"  UInt16  GHOST_NDOFManager3Dconnexion_RegisterConnexionClient(UInt32 signature, UInt8 *name, UInt16 mode, UInt32 mask);
 
42
extern "C"  void    GHOST_NDOFManager3Dconnexion_SetConnexionClientButtonMask(UInt16 clientID, UInt32 buttonMask);
 
43
extern "C"  void        GHOST_NDOFManager3Dconnexion_UnregisterConnexionClient(UInt16 clientID);
 
44
extern "C"  OSErr       GHOST_NDOFManager3Dconnexion_ConnexionControl(UInt32 message, SInt32 param, SInt32 *result);
30
45
 
31
46
// Event capture is handled within the NDOF manager on Macintosh,
32
47
// so there's no need for SystemCocoa to look for them.
40
55
 
41
56
        // whether multi-axis functionality is available (via the OS or driver)
42
57
        // does not imply that a device is plugged in or being used
43
 
        bool available();
44
 
        bool oldDRV();
45
 
 
 
58
    
46
59
private:
47
60
        unsigned short m_clientID;
48
61
};