23#import <Cocoa/Cocoa.h>
24#import <AVFoundation/AVFoundation.h>
27#include <unordered_map>
29#include <osl/mutex.hxx>
30#include <rtl/ustring.hxx>
36#include <com/sun/star/uno/Reference.h>
37#include <com/sun/star/uno/RuntimeException.hpp>
38#include <com/sun/star/lang/XMultiServiceFactory.hpp>
39#include <com/sun/star/lang/XComponent.hpp>
40#include <com/sun/star/registry/XRegistryKey.hpp>
41#include <com/sun/star/lang/XServiceInfo.hpp>
42#include <com/sun/star/awt/Rectangle.hpp>
43#include <com/sun/star/awt/KeyModifier.hpp>
44#include <com/sun/star/awt/MouseButton.hpp>
45#include <com/sun/star/media/XManager.hpp>
48#define AVMEDIA_MACAVF_PLAYER_IMPLEMENTATIONNAME "com.sun.star.comp.avmedia.Player_MacAVF"
49#define AVMEDIA_MACAVF_PLAYER_SERVICENAME "com.sun.star.media.Player_MacAVF"
51#define AVMEDIA_MACAVF_WINDOW_IMPLEMENTATIONNAME "com.sun.star.comp.avmedia.Window_MacAVF"
52#define AVMEDIA_MACAVF_WINDOW_SERVICENAME "com.sun.star.media.Window_MacAVF"
54#define AVMEDIA_MACAVF_FRAMEGRABBER_IMPLEMENTATIONNAME "com.sun.star.comp.avmedia.FrameGrabber_MacAVF"
55#define AVMEDIA_MACAVF_FRAMEGRABBER_SERVICENAME "com.sun.star.media.FrameGrabber_MacAVF"
62typedef std::unordered_map<NSObject*,avmedia::macavf::MacAVObserverHandler*>
HandlersForObject;
68- (void)observeValueForKeyPath:(NSString*)pKeyPath ofObject:(
id)pObject change:(NSDictionary*)pChangeDict context:(
void*)pContext;
69- (void)onNotification:(NSNotification*)pNotification;
HandlersForObject maHandlersForObject
std::unordered_map< NSObject *, avmedia::macavf::MacAVObserverHandler * > HandlersForObject