Libpointing
An open-source cross-platform library to get raw events from pointing devices and master transfer functions.
osxDisplayDeviceManager.h
1 /* -*- mode: c++ -*-
2  *
3  * pointing/output/osx/osxDisplayDeviceManager.h --
4  *
5  * Initial software
6  * Authors: Izzatbek Mukhanov
7  * Copyright © Inria
8  *
9  * http://libpointing.org/
10  *
11  * This software may be used and distributed according to the terms of
12  * the GNU General Public License version 2 or any later version.
13  *
14  */
15 
16 #ifndef osxDisplayDeviceManager_h
17 #define osxDisplayDeviceManager_h
18 
19 #include <pointing/output/DisplayDevice.h>
20 #include <pointing/output/DisplayDeviceManager.h>
21 
22 #include <ApplicationServices/ApplicationServices.h>
23 //#include <map>
24 
25 namespace pointing
26 {
32  {
33  static void MyDisplayReconfigurationCallBack(CGDirectDisplayID display, CGDisplayChangeSummaryFlags flags, void *userInfo);
34 
35  void addDisplay(CGDirectDisplayID did);
36  void removeDisplay(CGDirectDisplayID did);
37 
38  DisplayDeviceDescriptor convertDevice(CGDirectDisplayID did);
39 
41 
42  friend class DisplayDeviceManager;
43  };
44 }
45 
46 #endif
Definition: DummyPointingDevice.cpp:23
The osxDisplayDeviceManager class is the helper class to work with all display devices.
Definition: osxDisplayDeviceManager.h:31
Definition: DisplayDeviceManager.h:24
Definition: DisplayDeviceManager.h:43