GVFileNotificationCenter.h 845 B

123456789101112131415161718192021222324252627
  1. /*************************************************************************
  2. * Copyright (c) 2011 AT&T Intellectual Property
  3. * All rights reserved. This program and the accompanying materials
  4. * are made available under the terms of the Eclipse Public License v1.0
  5. * which accompanies this distribution, and is available at
  6. * https://www.eclipse.org/legal/epl-v10.html
  7. *
  8. * Contributors: Details at http://www.graphviz.org/
  9. *************************************************************************/
  10. #import <Foundation/Foundation.h>
  11. @interface GVFileNotificationCenter : NSObject
  12. {
  13. CFFileDescriptorRef _queue;
  14. NSMutableSet *_records;
  15. }
  16. + (void)initialize;
  17. + (id)defaultCenter;
  18. - (id)init;
  19. - (void)addObserver:(id)observer selector:(SEL)selector path:(NSString *)path;
  20. - (void)removeObserver:(id)observer path:(NSString *)path;
  21. @end