MythTV  master
mythosxutils.h
Go to the documentation of this file.
1 #ifndef MYTHOSXUTILS_H_
2 #define MYTHOSXUTILS_H_
3 
4 // Qt
5 #include <QWidget> // for WId
6 
7 // MythTV
8 #include "mythuiexp.h"
9 
10 // OSX
11 #import <CoreFoundation/CFDictionary.h>
12 #import <ApplicationServices/ApplicationServices.h>
13 
14 MUI_PUBLIC int get_int_CF(CFDictionaryRef dict, CFStringRef key);
15 MUI_PUBLIC float get_float_CF(CFDictionaryRef dict, CFStringRef key);
16 MUI_PUBLIC double get_double_CF(CFDictionaryRef dict, CFStringRef key);
17 MUI_PUBLIC bool get_bool_CF(CFDictionaryRef dict, CFStringRef key);
18 CGDirectDisplayID GetOSXDisplay(WId win);
19 
20 #endif
CGDirectDisplayID GetOSXDisplay(WId win)
MUI_PUBLIC double get_double_CF(CFDictionaryRef dict, CFStringRef key)
#define MUI_PUBLIC
Definition: mythuiexp.h:9
MUI_PUBLIC float get_float_CF(CFDictionaryRef dict, CFStringRef key)
MUI_PUBLIC int get_int_CF(CFDictionaryRef dict, CFStringRef key)
MUI_PUBLIC bool get_bool_CF(CFDictionaryRef dict, CFStringRef key)