11 typedef CFTypeRef SecMonitorRef
;
14 class Monitor
: public Transform
17 virtual ~Monitor() { }
18 Monitor(CFStringRef mName
) : Transform(mName
) {}
20 bool IsExternalizable();
25 class BlockMonitor
: public Monitor
28 dispatch_queue_t mDispatchQueue
;
29 SecMessageBlock mBlock
;
32 virtual void AttributeChanged(CFStringRef name
, CFTypeRef value
);
35 BlockMonitor(dispatch_queue_t queue
, SecMessageBlock block
);
38 virtual ~BlockMonitor();
39 static CFTypeRef
Make(dispatch_queue_t dispatch_queue
, SecMessageBlock block
);