13 #ifndef ROOT_TMacOSXSystem
14 #define ROOT_TMacOSXSystem
39 class TMacOSXSystem :
public TUnixSystem {
45 void DispatchOneEvent(Bool_t pendingOnly);
46 bool CocoaInitialized()
const;
49 void InitializeCocoa();
51 bool ProcessPendingEvents();
52 void WaitEvents(Long_t nextto);
54 void AddFileHandler(TFileHandler *fh);
55 TFileHandler *RemoveFileHandler(TFileHandler *fh);
57 void ProcessApplicationDefinedEvent(
void *event);
59 std::unique_ptr<ROOT::MacOSX::Details::MacOSXSystem> fPimpl;
60 bool fCocoaInitialized;
63 TMacOSXSystem(
const TMacOSXSystem &rhs);
64 TMacOSXSystem &operator = (
const TMacOSXSystem &rhs);
66 ClassDef(TMacOSXSystem, 0);