Advertisement
Guest User

Detecting when a User takes a Screenshot (Header File)

a guest
Dec 23rd, 2010
349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #import <Cocoa/Cocoa.h>
  2.  
  3. @interface YouAppDelegate : NSObject <NSApplicationDelegate> {
  4.    
  5.     BOOL shouldObserveDesktop;
  6.     NSDictionary *knownScreenshotsOnDesktop;
  7.     NSString *screenshotLocation;
  8.     NSString *screenshotFilenameSuffix;
  9.    
  10. }
  11.  
  12. - (void)startObservingDesktop;
  13. - (void)stopObservingDesktop;
  14. - (NSDictionary *)screenshotsOnDesktop;
  15. - (NSDictionary *)screenshotsAtPath:(NSString *)dirpath modifiedAfterDate:(NSDate *)lmod;
  16. - (void)checkForScreenshotsAtPath:(NSString *)dirpath;
  17. - (NSDictionary *)findUnprocessedScreenshotsOnDesktop;
  18.  
  19. @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement