├── Chrome ├── English.lproj │ └── InfoPlist.strings ├── Chrome_Prefix.pch ├── Chrome.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── project.pbxproj ├── CLChromeRaindrop.h ├── Raindrop.plist ├── Info.plist ├── CLChromeRaindrop.m └── Chrome.h ├── Chromium ├── English.lproj │ └── InfoPlist.strings ├── Chromium_Prefix.pch ├── Chromium.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── project.pbxproj ├── CLChromiumRaindrop.h ├── Raindrop.plist ├── Info.plist ├── CLChromiumRaindrop.m └── Chromium.h ├── Finder ├── English.lproj │ └── InfoPlist.strings ├── Finder-Prefix.pch ├── Finder.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── project.pbxproj ├── CLFinderRaindrop.h ├── Raindrop.plist ├── Finder-Info.plist └── CLFinderRaindrop.m ├── Grab ├── Grab │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── Grab-Prefix.pch │ ├── CLGrabRaindrop.h │ ├── Raindrop.plist │ ├── Grab-Info.plist │ └── CLGrabRaindrop.m └── Grab.xcodeproj │ ├── project.xcworkspace │ └── contents.xcworkspacedata │ └── project.pbxproj ├── Safari ├── English.lproj │ └── InfoPlist.strings ├── Safari-Prefix.pch ├── Safari.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── project.pbxproj ├── CLSafariRaindrop.h ├── CLRaindropProtocol.h ├── Raindrop.plist ├── Safari-Info.plist ├── CLSafariRaindrop.m └── Safari.h ├── iPhoto ├── English.lproj │ └── InfoPlist.strings ├── iPhoto_Prefix.pch ├── iPhoto.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── project.pbxproj ├── CLPhotoRaindrop.h ├── Raindrop.plist ├── Info.plist ├── CLPhotoRaindrop.m └── iPhoto.h ├── iTunes ├── English.lproj │ └── InfoPlist.strings ├── iTunes_Prefix.pch ├── CLTunesRaindrop.h ├── Raindrop.plist ├── Info.plist ├── CLTunesRaindrop.m └── iTunes.xcodeproj │ └── project.pbxproj ├── Firefox ├── Firefox │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── Firefox-Prefix.pch │ ├── CLFirefoxRaindrop.h │ ├── Raindrop.plist │ ├── Firefox-Info.plist │ └── CLFirefoxRaindrop.m └── Firefox.xcodeproj │ ├── project.xcworkspace │ └── contents.xcworkspacedata │ └── project.pbxproj ├── Photoshop ├── English.lproj │ └── InfoPlist.strings ├── Photoshop_Prefix.pch ├── Photoshop.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── project.pbxproj ├── CLPhotoshopRaindrop.h ├── Raindrop.plist ├── Info.plist └── CLPhotoshopRaindrop.m ├── Screenshots ├── English.lproj │ └── InfoPlist.strings ├── Screenshots_Prefix.pch ├── Raindrop.plist ├── CLScreenshotsRaindrop.h ├── Info.plist ├── CLScreenshotsRaindrop.m └── Screenshots.xcodeproj │ └── project.pbxproj ├── .gitignore ├── CLRaindropHelperProtocol.h ├── NSPasteboard+NPStateRestoration.h ├── CLRaindropProtocol.h └── NSPasteboard+NPStateRestoration.m /Chrome/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Chromium/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Finder/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Grab/Grab/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Safari/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /iPhoto/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /iTunes/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Firefox/Firefox/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Photoshop/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Screenshots/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Grab/Grab/Grab-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'Grab' target in the 'Grab' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /Chrome/Chrome_Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'Chrome' target in the 'Chrome' project. 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /Finder/Finder-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'Finder' target in the 'Finder' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /Safari/Safari-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'Safari' target in the 'Safari' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /iPhoto/iPhoto_Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'iPhoto' target in the 'iPhoto' project. 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /iTunes/iTunes_Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'iTunes' target in the 'iTunes' project. 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /Chromium/Chromium_Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'Chromium' target in the 'Chromium' project. 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /Firefox/Firefox/Firefox-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'Firefox' target in the 'Firefox' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /Photoshop/Photoshop_Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'Photoshop' target in the 'Photoshop' project. 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /Screenshots/Screenshots_Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'Screenshots' target in the 'Screenshots' project. 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /Grab/Grab.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Chrome/Chrome.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Finder/Finder.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Safari/Safari.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /iPhoto/iPhoto.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.swp 3 | *~.nib 4 | 5 | */build/* 6 | 7 | *.pbxuser 8 | *.mode1v3 9 | *.mode2v3 10 | *.perspective 11 | *.perspectivev3 12 | 13 | */*.xcodeproj/xcuserdata/* 14 | */*.xcodeproj/project.xcworkspace/xcuserdata/* 15 | -------------------------------------------------------------------------------- /Chromium/Chromium.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Firefox/Firefox.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Photoshop/Photoshop.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Chrome/CLChromeRaindrop.h: -------------------------------------------------------------------------------- 1 | // 2 | // CLChromeRaindrop.h 3 | // Chrome 4 | // 5 | // Created by Matthias Plappert on 20.02.11. 6 | // Copyright 2011 phaps. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "CLRaindropProtocol.h" 11 | 12 | 13 | @interface CLChromeRaindrop : NSObject { 14 | 15 | } 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Grab/Grab/CLGrabRaindrop.h: -------------------------------------------------------------------------------- 1 | // 2 | // CLGrabRaindrop.h 3 | // Grab 4 | // 5 | // Created by Nick Paulson on 3/30/11. 6 | // Copyright 2011 Linebreak. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "CLRaindropProtocol.h" 11 | 12 | @interface CLGrabRaindrop : NSObject { 13 | 14 | } 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Finder/CLFinderRaindrop.h: -------------------------------------------------------------------------------- 1 | // 2 | // CLFinderRaindrop.h 3 | // Finder 4 | // 5 | // Created by Nick Paulson on 2/10/11. 6 | // Copyright 2011 Linebreak. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "CLRaindropProtocol.h" 11 | 12 | @interface CLFinderRaindrop : NSObject { 13 | 14 | } 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Photoshop/CLPhotoshopRaindrop.h: -------------------------------------------------------------------------------- 1 | // 2 | // CLPhotoshopRaindrop.h 3 | // Photoshop 4 | // 5 | // Created by Nick Paulson on 1/28/11. 6 | // Copyright 2011 Linebreak. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "CLRaindropProtocol.h" 11 | 12 | @interface CLPhotoshopRaindrop : NSObject { 13 | 14 | } 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Safari/CLSafariRaindrop.h: -------------------------------------------------------------------------------- 1 | // 2 | // CLSafariRaindrop.h 3 | // Safari 4 | // 5 | // Created by Nick Paulson on 2/10/11. 6 | // Copyright 2011 Linebreak. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "CLRaindropProtocol.h" 11 | 12 | @interface CLSafariRaindrop : NSObject { 13 | 14 | } 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Chromium/CLChromiumRaindrop.h: -------------------------------------------------------------------------------- 1 | // 2 | // CLChromeRaindrop.h 3 | // Chromium 4 | // 5 | // Created by John Michel on 04082011. 6 | // Copyright 2011 John Michel. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "CLRaindropProtocol.h" 11 | 12 | 13 | @interface CLChromiumRaindrop : NSObject { 14 | 15 | } 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Firefox/Firefox/CLFirefoxRaindrop.h: -------------------------------------------------------------------------------- 1 | // 2 | // CLFirefoxRaindrop.h 3 | // Firefox 4 | // 5 | // Created by Nick Paulson on 2/27/11. 6 | // Copyright 2011 Linebreak. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "CLRaindropProtocol.h" 11 | 12 | @interface CLFirefoxRaindrop : NSObject { 13 | 14 | } 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /iPhoto/CLPhotoRaindrop.h: -------------------------------------------------------------------------------- 1 | // 2 | // CLPhotoRaindrop.h 3 | // iPhoto 4 | // 5 | // Created by Matthias Plappert on 20.02.11. 6 | // Copyright 2011 phaps. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "iPhoto.h" 11 | #import "CLRaindropProtocol.h" 12 | 13 | 14 | @interface CLPhotoRaindrop : NSObject { 15 | 16 | } 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /iTunes/CLTunesRaindrop.h: -------------------------------------------------------------------------------- 1 | // 2 | // CLTunesRaindrop.h 3 | // iTunes 4 | // 5 | // Created by Matthias Plappert on 20.02.11. 6 | // Copyright 2011 phaps. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "iTunes.h" 11 | #import "CLRaindropProtocol.h" 12 | 13 | 14 | @interface CLTunesRaindrop : NSObject { 15 | 16 | } 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /CLRaindropHelperProtocol.h: -------------------------------------------------------------------------------- 1 | // 2 | // CLRaindropHelperProtocol.h 3 | // CloudRaindropHelper 4 | // 5 | // Created by Nick Paulson on 1/28/11. 6 | // Copyright 2011 Linebreak. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @protocol CLRaindropHelperProtocol 13 | - (void)handlePasteboardWithName:(NSString *)pasteboardName; 14 | @end 15 | -------------------------------------------------------------------------------- /NSPasteboard+NPStateRestoration.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSPasteboard+NPStateRestoration.h 3 | // Firefox 4 | // 5 | // Created by Nick Paulson on 2/27/11. 6 | // Copyright 2011 Linebreak. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface NSPasteboard (NPStateRestoration) 13 | 14 | - (void)savePasteboardState; 15 | - (void)restorePasteboardState; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /CLRaindropProtocol.h: -------------------------------------------------------------------------------- 1 | // 2 | // CLRaindropProtocol.h 3 | // CloudRaindropHelper 4 | // 5 | // Created by Nick Paulson on 1/28/11. 6 | // Copyright 2011 Linebreak. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @protocol CLRaindropHelperProtocol; 12 | @protocol CLRaindropProtocol 13 | @optional 14 | - (id)initWithHelper:(id )helper; 15 | - (NSString *)pasteboardNameForTriggeredRaindrop; 16 | @end 17 | -------------------------------------------------------------------------------- /Safari/CLRaindropProtocol.h: -------------------------------------------------------------------------------- 1 | // 2 | // CLRaindropProtocol.h 3 | // CloudRaindropHelper 4 | // 5 | // Created by Nick Paulson on 1/28/11. 6 | // Copyright 2011 Linebreak. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @protocol CLRaindropHelperProtocol; 12 | @protocol CLRaindropProtocol 13 | @optional 14 | - (id)initWithHelper:(id )helper; 15 | - (NSString *)pasteboardNameForTriggeredRaindrop; 16 | - (void)cleanupRaindrop; 17 | @end 18 | -------------------------------------------------------------------------------- /Grab/Grab/Raindrop.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CLRaindropCreator 6 | Linebreak S.L. 7 | CLRaindropDescription 8 | Uploads the frontmost grab. 9 | CLRaindropName 10 | Grab 11 | CLRaindropTargetBundleID 12 | com.apple.Grab 13 | CLRaindropURL 14 | http://getcloudapp.com/ 15 | 16 | 17 | -------------------------------------------------------------------------------- /iPhoto/Raindrop.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CLRaindropCreator 6 | Linebreak S.L. 7 | CLRaindropDescription 8 | Uploads the selected photos. 9 | CLRaindropName 10 | iPhoto 11 | CLRaindropTargetBundleID 12 | com.apple.iPhoto 13 | CLRaindropURL 14 | http://getcloudapp.com/ 15 | 16 | 17 | -------------------------------------------------------------------------------- /iTunes/Raindrop.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CLRaindropCreator 6 | Linebreak S.L. 7 | CLRaindropDescription 8 | Uploads the selected tracks. 9 | CLRaindropName 10 | iTunes 11 | CLRaindropTargetBundleID 12 | com.apple.iTunes 13 | CLRaindropURL 14 | http://getcloudapp.com/ 15 | 16 | 17 | -------------------------------------------------------------------------------- /Chrome/Raindrop.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CLRaindropCreator 6 | Linebreak S.L. 7 | CLRaindropDescription 8 | Shortens the front window's URL. 9 | CLRaindropName 10 | Chrome 11 | CLRaindropTargetBundleID 12 | com.google.Chrome 13 | CLRaindropURL 14 | http://getcloudapp.com/ 15 | 16 | 17 | -------------------------------------------------------------------------------- /Chromium/Raindrop.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CLRaindropCreator 6 | John Michel 7 | CLRaindropDescription 8 | Shortens the front window's URL. 9 | CLRaindropName 10 | Chromium 11 | CLRaindropTargetBundleID 12 | org.chromium.Chromium 13 | CLRaindropURL 14 | http://cowbird.org/ 15 | 16 | 17 | -------------------------------------------------------------------------------- /Finder/Raindrop.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CLRaindropCreator 6 | Linebreak S.L. 7 | CLRaindropDescription 8 | Uploads the selected files and folders. 9 | CLRaindropName 10 | Finder 11 | CLRaindropTargetBundleID 12 | com.apple.finder 13 | CLRaindropURL 14 | http://getcloudapp.com/ 15 | 16 | 17 | -------------------------------------------------------------------------------- /Safari/Raindrop.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CLRaindropCreator 6 | Linebreak S.L. 7 | CLRaindropDescription 8 | Shortens the front window's URL. 9 | CLRaindropName 10 | Safari 11 | CLRaindropTargetBundleID 12 | com.apple.Safari 13 | CLRaindropURL 14 | http://getcloudapp.com/ 15 | 16 | 17 | -------------------------------------------------------------------------------- /Firefox/Firefox/Raindrop.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CLRaindropCreator 6 | Linebreak S.L. 7 | CLRaindropDescription 8 | Shortens the front window's URL. 9 | CLRaindropName 10 | Firefox 11 | CLRaindropTargetBundleID 12 | org.mozilla.firefox 13 | CLRaindropURL 14 | http://getcloudapp.com/ 15 | 16 | 17 | -------------------------------------------------------------------------------- /Photoshop/Raindrop.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CLRaindropCreator 6 | Linebreak S.L. 7 | CLRaindropURL 8 | http://getcloudapp.com/ 9 | CLRaindropTargetBundleID 10 | com.adobe.Photoshop 11 | CLRaindropName 12 | Photoshop 13 | CLRaindropDescription 14 | Uploads the frontmost document in its current state. 15 | 16 | 17 | -------------------------------------------------------------------------------- /Screenshots/Raindrop.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CLRaindropCreator 6 | Linebreak S.L. 7 | CLRaindropURL 8 | http://getcloudapp.com/ 9 | CLRaindropName 10 | Screenshots 11 | CLRaindropDescription 12 | Automatically uploads screenshot files. 13 | CLRaindropDownpourEnabled 14 | 15 | CLRaindropDownpourActionDescription 16 | Autoupload Screenshots 17 | 18 | 19 | -------------------------------------------------------------------------------- /Screenshots/CLScreenshotsRaindrop.h: -------------------------------------------------------------------------------- 1 | // 2 | // CLScreenshotsRaindrop.h 3 | // Screenshots 4 | // 5 | // Created by Nick Paulson & Matthias Plappert on 1/28/11. 6 | // Copyright 2011 Linebreak. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "CLRaindropProtocol.h" 11 | #import "CLRaindropHelperProtocol.h" 12 | 13 | 14 | @interface CLScreenshotsRaindrop : NSObject { 15 | id _helper; 16 | 17 | NSDate *_startDate; 18 | NSMetadataQuery *_metadataQuery; 19 | } 20 | 21 | @property (nonatomic, readwrite, retain) id helper; 22 | 23 | - (NSString *)screenCaptureLocation; 24 | - (NSDictionary *)screenCapturePrefs; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Photoshop/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | com.linebreak.Raindrop.${PRODUCT_NAME:rfc1034Identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | BNDL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | NSPrincipalClass 26 | CLPhotoshopRaindrop 27 | 28 | 29 | -------------------------------------------------------------------------------- /Screenshots/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | com.linebreak.Raindrop.${PRODUCT_NAME:rfc1034Identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | BNDL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | NSPrincipalClass 26 | CLScreenshotsRaindrop 27 | 28 | 29 | -------------------------------------------------------------------------------- /Chrome/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | com.linebreak.Raindrop.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | BNDL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | NSHumanReadableCopyright 26 | Copyright © 2011 Linebreak. All rights reserved. 27 | NSPrincipalClass 28 | CLChromeRaindrop 29 | 30 | 31 | -------------------------------------------------------------------------------- /iPhoto/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | com.linebreak.Raindrop.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | BNDL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | NSHumanReadableCopyright 26 | Copyright © 2011 Linebreak. All rights reserved. 27 | NSPrincipalClass 28 | CLPhotoRaindrop 29 | 30 | 31 | -------------------------------------------------------------------------------- /iTunes/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | com.linebreak.Raindrop.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | BNDL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | NSHumanReadableCopyright 26 | Copyright © 2011 Linebreak. All rights reserved. 27 | NSPrincipalClass 28 | CLTunesRaindrop 29 | 30 | 31 | -------------------------------------------------------------------------------- /Chromium/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | org.cowbird.Raindrop.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | BNDL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | NSHumanReadableCopyright 26 | Copyright © 2011 John Michel. All rights reserved. 27 | NSPrincipalClass 28 | CLChromiumRaindrop 29 | 30 | 31 | -------------------------------------------------------------------------------- /Finder/Finder-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | com.linebreak.Raindrop.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | BNDL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | NSHumanReadableCopyright 26 | Copyright © 2011 Linebreak. All rights reserved. 27 | NSPrincipalClass 28 | CLFinderRaindrop 29 | 30 | 31 | -------------------------------------------------------------------------------- /Grab/Grab/Grab-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | com.linebreak.Raindrop.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | BNDL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | NSHumanReadableCopyright 26 | Copyright © 2011 Linebreak. All rights reserved. 27 | NSPrincipalClass 28 | CLGrabRaindrop 29 | 30 | 31 | -------------------------------------------------------------------------------- /Safari/Safari-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | com.linebreak.Raindrop.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | BNDL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | NSHumanReadableCopyright 26 | Copyright © 2011 Linebreak. All rights reserved. 27 | NSPrincipalClass 28 | CLSafariRaindrop 29 | 30 | 31 | -------------------------------------------------------------------------------- /Firefox/Firefox/Firefox-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | com.linebreak.Raindrop.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | BNDL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | NSHumanReadableCopyright 26 | Copyright © 2011 Linebreak. All rights reserved. 27 | NSPrincipalClass 28 | CLFirefoxRaindrop 29 | 30 | 31 | -------------------------------------------------------------------------------- /iTunes/CLTunesRaindrop.m: -------------------------------------------------------------------------------- 1 | // 2 | // CLTunesRaindrop.m 3 | // iTunes 4 | // 5 | // Created by Matthias Plappert on 20.02.11. 6 | // Copyright 2011 phaps. All rights reserved. 7 | // 8 | 9 | #import "CLTunesRaindrop.h" 10 | 11 | 12 | @implementation CLTunesRaindrop 13 | 14 | - (NSString *)pasteboardNameForTriggeredRaindrop 15 | { 16 | iTunesApplication *itunes = [SBApplication applicationWithBundleIdentifier:@"com.apple.iTunes"]; 17 | NSArray *selectedTracks = [[itunes selection] get]; 18 | 19 | if (selectedTracks == nil || [selectedTracks count] == 0) { 20 | return nil; 21 | } 22 | 23 | NSMutableArray *items = [NSMutableArray array]; 24 | for (iTunesFileTrack *track in selectedTracks) { 25 | if ([track respondsToSelector:@selector(location)]) { 26 | NSPasteboardItem *item = [[NSPasteboardItem alloc] init]; 27 | [item setString:[[track location] absoluteString] forType:(NSString *)kUTTypeFileURL]; 28 | [items addObject:item]; 29 | [item release]; 30 | } 31 | } 32 | 33 | if ([items count] == 0) { 34 | return nil; 35 | } 36 | 37 | NSPasteboard *pasteboard = [NSPasteboard pasteboardWithUniqueName]; 38 | [pasteboard writeObjects:items]; 39 | return pasteboard.name; 40 | } 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /Finder/CLFinderRaindrop.m: -------------------------------------------------------------------------------- 1 | // 2 | // CLFinderRaindrop.m 3 | // Finder 4 | // 5 | // Created by Nick Paulson on 2/10/11. 6 | // Copyright 2011 Linebreak. All rights reserved. 7 | // 8 | 9 | #import "CLFinderRaindrop.h" 10 | #import "Finder.h" 11 | 12 | @implementation CLFinderRaindrop 13 | 14 | - (NSString *)pasteboardNameForTriggeredRaindrop { 15 | FinderApplication *finder = [SBApplication applicationWithBundleIdentifier:@"com.apple.finder"]; 16 | NSArray *selectedItems = [[finder selection] get]; 17 | 18 | if (selectedItems == nil || [selectedItems count] == 0) 19 | return nil; 20 | 21 | NSMutableArray *pbItems = [NSMutableArray array]; 22 | for (FinderItem *curr in selectedItems) { 23 | if (![curr respondsToSelector:@selector(URL)]) 24 | return nil; 25 | NSURL *theURL = [NSURL URLWithString:[curr URL]]; 26 | NSPasteboardItem *item = [[[NSPasteboardItem alloc] init] autorelease]; 27 | [item setString:[theURL absoluteString] forType:(NSString *)kUTTypeFileURL]; 28 | [pbItems addObject:item]; 29 | } 30 | 31 | if ([pbItems count] == 0) 32 | return nil; 33 | 34 | NSPasteboard *pasteboard = [NSPasteboard pasteboardWithUniqueName]; 35 | [pasteboard writeObjects:pbItems]; 36 | return pasteboard.name; 37 | } 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /iPhoto/CLPhotoRaindrop.m: -------------------------------------------------------------------------------- 1 | // 2 | // CLPhotoRaindrop.m 3 | // iPhoto 4 | // 5 | // Created by Matthias Plappert on 20.02.11. 6 | // Copyright 2011 phaps. All rights reserved. 7 | // 8 | 9 | #import "CLPhotoRaindrop.h" 10 | 11 | 12 | @implementation CLPhotoRaindrop 13 | 14 | - (NSString *)pasteboardNameForTriggeredRaindrop 15 | { 16 | iPhotoApplication *iPhoto = [SBApplication applicationWithBundleIdentifier:@"com.apple.iPhoto"]; 17 | NSArray *selectedPhotos = [iPhoto selection]; 18 | 19 | if (selectedPhotos == nil || [selectedPhotos count] == 0) { 20 | return nil; 21 | } 22 | 23 | NSMutableArray *items = [NSMutableArray array]; 24 | for (iPhotoPhoto *photo in selectedPhotos) { 25 | if ([photo isKindOfClass:NSClassFromString(@"IPhotoPhoto")]) { // Hack to keep compiler happy 26 | NSPasteboardItem *item = [[NSPasteboardItem alloc] init]; 27 | [item setString:[[NSURL fileURLWithPath:[photo imagePath]] absoluteString] forType:(NSString *)kUTTypeFileURL]; 28 | [items addObject:item]; 29 | [item release]; 30 | } 31 | } 32 | 33 | if ([items count] == 0) { 34 | return nil; 35 | } 36 | 37 | NSPasteboard *pasteboard = [NSPasteboard pasteboardWithUniqueName]; 38 | [pasteboard writeObjects:items]; 39 | return pasteboard.name; 40 | } 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /Safari/CLSafariRaindrop.m: -------------------------------------------------------------------------------- 1 | // 2 | // CLSafariRaindrop.m 3 | // Safari 4 | // 5 | // Created by Nick Paulson on 2/10/11. 6 | // Copyright 2011 Linebreak. All rights reserved. 7 | // 8 | 9 | #import "CLSafariRaindrop.h" 10 | #import "Safari.h" 11 | 12 | @implementation CLSafariRaindrop 13 | 14 | - (NSString *)pasteboardNameForTriggeredRaindrop { 15 | SafariApplication *safariApplication = [SBApplication applicationWithBundleIdentifier:@"com.apple.Safari"]; 16 | 17 | if (safariApplication != nil) { 18 | 19 | SBElementArray *safariDocs = [safariApplication documents]; 20 | 21 | if (safariDocs != nil && [safariDocs count] > 0) { 22 | 23 | NSString *docURL = (NSString *)[(SafariDocument *)[safariDocs objectAtIndex:0] URL]; 24 | 25 | if ([docURL length] > 0) { 26 | NSString *docName = nil; 27 | 28 | SBElementArray *windows = [safariApplication windows]; 29 | if ([windows count] > 0) { 30 | docName = [[windows objectAtIndex:0] name]; 31 | } 32 | 33 | NSPasteboardItem *item = [[NSPasteboardItem alloc] init]; 34 | [item setString:docName forType:@"public.url-name"]; 35 | [item setString:docURL forType:(NSString *)kUTTypeURL]; 36 | NSPasteboard *pasteboard = [NSPasteboard pasteboardWithUniqueName]; 37 | [pasteboard writeObjects:[NSArray arrayWithObject:item]]; 38 | [item release]; 39 | return pasteboard.name; 40 | } 41 | } 42 | } 43 | return nil; 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Chrome/CLChromeRaindrop.m: -------------------------------------------------------------------------------- 1 | // 2 | // CLChromeRaindrop.m 3 | // Chrome 4 | // 5 | // Created by Matthias Plappert on 20.02.11. 6 | // Copyright 2011 phaps. All rights reserved. 7 | // 8 | 9 | #import "CLChromeRaindrop.h" 10 | #import "Chrome.h" 11 | 12 | 13 | @implementation CLChromeRaindrop 14 | 15 | - (NSString *)pasteboardNameForTriggeredRaindrop 16 | { 17 | ChromeApplication *chrome = [SBApplication applicationWithBundleIdentifier:@"com.google.Chrome"]; 18 | if (chrome == nil) { 19 | return nil; 20 | } 21 | 22 | // Get frontmost window 23 | ChromeWindow *frontmostWindow = nil; 24 | SBElementArray *windows = [chrome windows]; 25 | if (windows == nil) { 26 | return nil; 27 | } 28 | 29 | for (ChromeWindow *window in windows) { 30 | if (frontmostWindow == nil) { 31 | frontmostWindow = window; 32 | } else if (frontmostWindow.index > window.index) { 33 | frontmostWindow = window; 34 | } 35 | } 36 | 37 | if (frontmostWindow == nil) { 38 | return nil; 39 | } 40 | 41 | // Get active tab 42 | ChromeTab *tab = [frontmostWindow activeTab]; 43 | if (tab == nil || tab.URL == nil) { 44 | return nil; 45 | } 46 | 47 | // Write to pasteboard 48 | NSPasteboardItem *item = [[NSPasteboardItem alloc] init]; 49 | [item setString:tab.title != nil ? tab.title : tab.URL forType:@"public.url-name"]; 50 | [item setString:tab.URL forType:(NSString *)kUTTypeURL]; 51 | NSPasteboard *pasteboard = [NSPasteboard pasteboardWithUniqueName]; 52 | [pasteboard writeObjects:[NSArray arrayWithObject:item]]; 53 | [item release]; 54 | 55 | return pasteboard.name; 56 | } 57 | 58 | @end 59 | -------------------------------------------------------------------------------- /Chromium/CLChromiumRaindrop.m: -------------------------------------------------------------------------------- 1 | // 2 | // CLChromiumRaindrop.m 3 | // Chromium 4 | // 5 | // Created by John Michel on 04082011. 6 | // Copyright 2011 John Michel. All rights reserved. 7 | // 8 | 9 | #import "CLChromiumRaindrop.h" 10 | #import "Chromium.h" 11 | 12 | 13 | @implementation CLChromiumRaindrop 14 | 15 | - (NSString *)pasteboardNameForTriggeredRaindrop 16 | { 17 | ChromiumApplication *chrome = [SBApplication applicationWithBundleIdentifier:@"org.chromium.Chromium"]; 18 | if (chrome == nil) { 19 | return nil; 20 | } 21 | 22 | // Get frontmost window 23 | ChromeWindow *frontmostWindow = nil; 24 | SBElementArray *windows = [chrome windows]; 25 | if (windows == nil) { 26 | return nil; 27 | } 28 | 29 | for (ChromeWindow *window in windows) { 30 | if (frontmostWindow == nil) { 31 | frontmostWindow = window; 32 | } else if (frontmostWindow.index > window.index) { 33 | frontmostWindow = window; 34 | } 35 | } 36 | 37 | if (frontmostWindow == nil) { 38 | return nil; 39 | } 40 | 41 | // Get active tab 42 | ChromeTab *tab = [frontmostWindow activeTab]; 43 | if (tab == nil || tab.URL == nil) { 44 | return nil; 45 | } 46 | 47 | // Write to pasteboard 48 | NSPasteboardItem *item = [[NSPasteboardItem alloc] init]; 49 | [item setString:tab.title != nil ? tab.title : tab.URL forType:@"public.url-name"]; 50 | [item setString:tab.URL forType:(NSString *)kUTTypeURL]; 51 | NSPasteboard *pasteboard = [NSPasteboard pasteboardWithUniqueName]; 52 | [pasteboard writeObjects:[NSArray arrayWithObject:item]]; 53 | [item release]; 54 | 55 | return pasteboard.name; 56 | } 57 | 58 | @end 59 | -------------------------------------------------------------------------------- /Photoshop/CLPhotoshopRaindrop.m: -------------------------------------------------------------------------------- 1 | // 2 | // CLPhotoshopRaindrop.m 3 | // Photoshop 4 | // 5 | // Created by Nick Paulson on 1/28/11. 6 | // Copyright 2011 Linebreak. All rights reserved. 7 | // 8 | 9 | #import "CLPhotoshopRaindrop.h" 10 | #import "Photoshop.h" 11 | 12 | #define kTempFileLocation [NSTemporaryDirectory() stringByAppendingPathComponent:@"CloudPSTemp.png"] 13 | 14 | @implementation CLPhotoshopRaindrop 15 | 16 | - (NSString *)pasteboardNameForTriggeredRaindrop { 17 | PhotoshopApplication *adobePhotoshop = [SBApplication applicationWithBundleIdentifier:@"com.adobe.Photoshop"]; 18 | 19 | PhotoshopDocument *currDoc = [adobePhotoshop currentDocument]; 20 | PhotoshopDocument *temp = [currDoc saveIn:[NSURL URLWithString:kTempFileLocation] as:PhotoshopSvFmPNG copying:YES appending:PhotoshopE300LowercaseExtension withOptions:nil]; 21 | 22 | if (temp == nil) 23 | return nil; 24 | 25 | NSString *name = [currDoc name]; 26 | name = [name stringByDeletingPathExtension]; 27 | if (name == nil || [name length] == 0) 28 | name = @"Photoshop Document"; 29 | 30 | name = [name stringByAppendingString:@".png"]; 31 | 32 | NSData *imageData = [NSData dataWithContentsOfFile:kTempFileLocation]; 33 | 34 | if ([[NSFileManager defaultManager] fileExistsAtPath:kTempFileLocation]) //Sanity check 35 | [[NSFileManager defaultManager] removeItemAtPath:kTempFileLocation error:nil]; 36 | 37 | if (imageData == nil) 38 | return nil; 39 | 40 | NSPasteboard *pasteboard = [NSPasteboard pasteboardWithUniqueName]; 41 | NSPasteboardItem *item = [[[NSPasteboardItem alloc] init] autorelease]; 42 | [item setData:imageData forType:(NSString *)kUTTypePNG]; 43 | [item setString:name forType:@"public.url-name"]; 44 | [pasteboard writeObjects:[NSArray arrayWithObject:item]]; 45 | 46 | return [pasteboard name]; 47 | } 48 | 49 | @end 50 | -------------------------------------------------------------------------------- /NSPasteboard+NPStateRestoration.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSPasteboard+NPStateRestoration.m 3 | // Firefox 4 | // 5 | // Created by Nick Paulson on 2/27/11. 6 | // Copyright 2011 Linebreak. All rights reserved. 7 | // 8 | 9 | #import "NSPasteboard+NPStateRestoration.h" 10 | 11 | static NSMutableDictionary *restorationArrayByPasteboardValue = nil; 12 | 13 | @implementation NSPasteboard (NPStateRestoration) 14 | 15 | - (void)savePasteboardState { 16 | if (restorationArrayByPasteboardValue == nil) 17 | restorationArrayByPasteboardValue = [[NSMutableDictionary alloc] init]; 18 | 19 | NSValue *selfValue = [NSValue valueWithNonretainedObject:self]; 20 | NSArray *restoreArray = [restorationArrayByPasteboardValue objectForKey:selfValue]; 21 | if (restoreArray == nil) 22 | restoreArray = [NSArray array]; 23 | 24 | NSMutableDictionary *pbDict = [NSMutableDictionary dictionary]; 25 | 26 | for (NSString *currType in [self types]) { 27 | NSData *currData = [self dataForType:currType]; 28 | if (currData != nil) 29 | [pbDict setObject:currData forKey:currType]; 30 | } 31 | 32 | [restorationArrayByPasteboardValue setObject:[restoreArray arrayByAddingObject:pbDict] forKey:selfValue]; 33 | } 34 | 35 | - (void)restorePasteboardState { 36 | NSValue *selfValue = [NSValue valueWithNonretainedObject:self]; 37 | NSArray *restoreArray = [restorationArrayByPasteboardValue objectForKey:selfValue]; 38 | if ([restoreArray count] > 0) { 39 | [self clearContents]; 40 | 41 | NSDictionary *pbDict = [restoreArray lastObject]; 42 | [self declareTypes:[pbDict allKeys] owner:self]; 43 | for (NSString *currType in [pbDict allKeys]) { 44 | [self setData:[pbDict objectForKey:currType] forType:currType]; 45 | } 46 | 47 | NSMutableArray *newRestoreArray = [restoreArray mutableCopy]; 48 | [newRestoreArray removeObject:pbDict]; 49 | [restorationArrayByPasteboardValue setObject:[NSArray arrayWithArray:newRestoreArray] forKey:selfValue]; 50 | [newRestoreArray release]; 51 | } 52 | } 53 | 54 | @end 55 | -------------------------------------------------------------------------------- /Firefox/Firefox/CLFirefoxRaindrop.m: -------------------------------------------------------------------------------- 1 | // 2 | // CLFirefoxRaindrop.m 3 | // Firefox 4 | // 5 | // Created by Nick Paulson on 2/27/11. 6 | // Copyright 2011 Linebreak. All rights reserved. 7 | // 8 | 9 | #import "CLFirefoxRaindrop.h" 10 | #import "NSPasteboard+NPStateRestoration.h" 11 | 12 | @implementation CLFirefoxRaindrop 13 | 14 | - (NSString *)pasteboardNameForTriggeredRaindrop { 15 | 16 | NSInteger origCount = [[NSPasteboard generalPasteboard] changeCount]; 17 | 18 | [[NSPasteboard generalPasteboard] savePasteboardState]; 19 | 20 | ProcessSerialNumber psn; 21 | GetFrontProcess(&psn); 22 | CGEventRef lDown = CGEventCreateKeyboardEvent(NULL, (CGKeyCode)37, true); 23 | CGEventRef lUp = CGEventCreateKeyboardEvent(NULL, (CGKeyCode)37, false); 24 | 25 | CGEventSetFlags(lDown, kCGEventFlagMaskCommand); 26 | CGEventPostToPSN(&psn, lDown); 27 | CGEventPostToPSN(&psn, lUp); 28 | 29 | CFRelease(lDown); 30 | CFRelease(lUp); 31 | 32 | [NSThread sleepForTimeInterval:0.50]; 33 | 34 | CGEventRef cDown = CGEventCreateKeyboardEvent(NULL, (CGKeyCode)8, true); 35 | CGEventRef cUp = CGEventCreateKeyboardEvent(NULL, (CGKeyCode)8, false); 36 | 37 | CGEventSetFlags(cDown, kCGEventFlagMaskCommand); 38 | CGEventPostToPSN(&psn, cDown); 39 | CGEventPostToPSN(&psn, cUp); 40 | 41 | CFRelease(cDown); 42 | CFRelease(cUp); 43 | 44 | [NSThread sleepForTimeInterval:0.30]; 45 | 46 | NSInteger newCount = [[NSPasteboard generalPasteboard] changeCount]; 47 | 48 | if (newCount == (origCount + 1)) { 49 | NSArray *pbTypes = [[NSPasteboard generalPasteboard] types]; 50 | if ([pbTypes containsObject:NSStringPboardType]) { 51 | NSString *urlString = [[NSPasteboard generalPasteboard] stringForType:NSStringPboardType]; 52 | 53 | NSPasteboardItem *item = [[[NSPasteboardItem alloc] init] autorelease]; 54 | [item setString:urlString forType:(NSString *)kUTTypeURL]; 55 | 56 | NSPasteboard *pasteboard = [NSPasteboard pasteboardWithUniqueName]; 57 | if ([pasteboard writeObjects:[NSArray arrayWithObject:item]]) { 58 | [[NSPasteboard generalPasteboard] restorePasteboardState]; 59 | return pasteboard.name; 60 | } 61 | } 62 | } 63 | [[NSPasteboard generalPasteboard] restorePasteboardState]; 64 | return nil; 65 | } 66 | 67 | @end 68 | -------------------------------------------------------------------------------- /Grab/Grab/CLGrabRaindrop.m: -------------------------------------------------------------------------------- 1 | // 2 | // CLGrabRaindrop.m 3 | // Grab 4 | // 5 | // Created by Nick Paulson on 3/30/11. 6 | // Copyright 2011 Linebreak. All rights reserved. 7 | // 8 | 9 | #import "CLGrabRaindrop.h" 10 | #import "NSPasteboard+NPStateRestoration.h" 11 | 12 | @implementation CLGrabRaindrop 13 | 14 | - (NSString *)pasteboardNameForTriggeredRaindrop 15 | { 16 | NSData *imageData = nil; 17 | [[NSPasteboard generalPasteboard] savePasteboardState]; 18 | { 19 | NSInteger origCount = [[NSPasteboard generalPasteboard] changeCount]; 20 | 21 | CGEventRef cDown = CGEventCreateKeyboardEvent(NULL, (CGKeyCode)8, true); 22 | CGEventSetFlags(cDown, kCGEventFlagMaskCommand); 23 | CGEventPost(kCGSessionEventTap, cDown); 24 | CFRelease(cDown); 25 | 26 | CGEventRef cUp = CGEventCreateKeyboardEvent(NULL, (CGKeyCode)8, false); 27 | CGEventSetFlags(cUp, kCGEventFlagMaskCommand); 28 | CGEventPost(kCGSessionEventTap, cUp); 29 | CFRelease(cUp); 30 | 31 | CGEventRef commandUp = CGEventCreateKeyboardEvent(NULL, (CGKeyCode)55, false); 32 | CGEventPost(kCGSessionEventTap, commandUp); 33 | CFRelease(commandUp); 34 | 35 | [NSThread sleepForTimeInterval:0.55]; 36 | 37 | NSInteger newCount = [[NSPasteboard generalPasteboard] changeCount]; 38 | 39 | if (newCount <= origCount) 40 | return nil; 41 | 42 | NSArray *pbTypes = [[NSPasteboard generalPasteboard] types]; 43 | if (![pbTypes containsObject:NSTIFFPboardType]) 44 | return nil; 45 | 46 | imageData = [[NSPasteboard generalPasteboard] dataForType:NSTIFFPboardType]; 47 | 48 | } 49 | [[NSPasteboard generalPasteboard] restorePasteboardState]; 50 | 51 | if (imageData == nil || [imageData length] == 0) 52 | return nil; 53 | 54 | NSBitmapImageRep *bitRep = [[NSBitmapImageRep alloc] initWithData:imageData]; 55 | if (bitRep == nil) 56 | return nil; 57 | NSData *pngData = [bitRep representationUsingType:NSPNGFileType properties:nil]; 58 | [bitRep release]; 59 | 60 | NSPasteboard *pasteboard = [NSPasteboard pasteboardWithUniqueName]; 61 | 62 | NSPasteboardItem *item = [[NSPasteboardItem alloc] init]; 63 | [item setData:pngData forType:(NSString *)kUTTypePNG]; 64 | [item setString:@"Grab.png" forType:(NSString *)@"public.url-name"]; 65 | if (![pasteboard writeObjects:[NSArray arrayWithObject:item]]) { 66 | pasteboard = nil; 67 | } 68 | [item release]; 69 | 70 | return pasteboard.name; 71 | } 72 | 73 | @end 74 | -------------------------------------------------------------------------------- /Screenshots/CLScreenshotsRaindrop.m: -------------------------------------------------------------------------------- 1 | // 2 | // CLScreenshotsRaindrop.m 3 | // Screenshots 4 | // 5 | // Created by Nick Paulson & Matthias Plappert on 1/28/11. 6 | // Copyright 2011 Linebreak. All rights reserved. 7 | // 8 | 9 | #import "CLScreenshotsRaindrop.h" 10 | #import "CLRaindropHelperProtocol.h" 11 | 12 | 13 | @implementation CLScreenshotsRaindrop 14 | 15 | @synthesize helper = _helper; 16 | 17 | - (id)initWithHelper:(id )theHelper 18 | { 19 | if ((self = [super init])) { 20 | self.helper = theHelper; 21 | 22 | _startDate = [[NSDate date] retain]; 23 | 24 | // Setup query. Do not use KVO because it (for very odd reasons) retains the observer 25 | _metadataQuery = [[NSMetadataQuery alloc] init]; 26 | [_metadataQuery setSearchScopes:[NSArray arrayWithObject:[self screenCaptureLocation]]]; 27 | NSString *predicateFormat = @"kMDItemIsScreenCapture = YES"; 28 | NSPredicate *predicate = [NSPredicate predicateWithFormat:predicateFormat, [NSDate date]]; 29 | [_metadataQuery setPredicate:predicate]; 30 | [_metadataQuery setNotificationBatchingInterval:0.1f]; 31 | [_metadataQuery setDelegate:self]; 32 | [_metadataQuery startQuery]; 33 | } 34 | return self; 35 | } 36 | 37 | #pragma mark - 38 | #pragma mark NSMetadataQueryDelegate 39 | 40 | - (id)metadataQuery:(NSMetadataQuery *)query replacementObjectForResultObject:(NSMetadataItem *)result 41 | { 42 | if (!result) { 43 | return result; 44 | } 45 | 46 | // Check dates (NSPredicate fails to do so) 47 | NSDate *fsCreationDate = [result valueForAttribute:@"kMDItemFSCreationDate"]; 48 | //NSDate *modificationDate = [result valueForAttribute:@"kMDItemContentModificationDate"]; 49 | //NSDate *creationDate = [result valueForAttribute:@"kMDItemContentCreationDate"]; 50 | NSDate *lastUsedDate = [result valueForAttribute:@"kMDItemLastUsedDate"]; 51 | 52 | // Fix for 10.8: 53 | // modificationDate and creationDate appear to be nil in 10.7 and earlier, but are not nil in 10.8 which was causing auto-uploads to fail 54 | // 55 | //if ([fsCreationDate timeIntervalSinceDate:_startDate] < 0.0f || modificationDate != nil || creationDate != nil || lastUsedDate != nil) { 56 | if ([fsCreationDate timeIntervalSinceDate:_startDate] < 0.0f || lastUsedDate != nil) { 57 | return result; 58 | } 59 | 60 | NSString *filename = [result valueForAttribute:@"kMDItemFSName"]; 61 | if (filename != nil) { 62 | NSString *path = [[self screenCaptureLocation] stringByAppendingPathComponent:filename]; 63 | if (path != nil && [[NSFileManager defaultManager] fileExistsAtPath:path]) { 64 | // Create pasteboard 65 | NSPasteboard *pasteboard = [NSPasteboard pasteboardWithUniqueName]; 66 | 67 | NSPasteboardItem *item = [[NSPasteboardItem alloc] init]; 68 | [item setString:[[NSURL fileURLWithPath:path] absoluteString] forType:(NSString *)kUTTypeFileURL]; 69 | if ([pasteboard writeObjects:[NSArray arrayWithObject:item]]) { 70 | [self.helper handlePasteboardWithName:pasteboard.name]; 71 | } 72 | [item release]; 73 | } 74 | } 75 | 76 | return result; 77 | } 78 | 79 | #pragma mark - 80 | #pragma mark Accessors 81 | 82 | - (NSString *)screenCaptureLocation 83 | { 84 | NSString *location = [[self screenCapturePrefs] objectForKey:@"location"]; 85 | if (location) { 86 | location = [location stringByExpandingTildeInPath]; 87 | if (![location hasSuffix:@"/"]) { 88 | location = [location stringByAppendingString:@"/"]; 89 | } 90 | return location; 91 | } 92 | 93 | return [[@"~/Desktop" stringByExpandingTildeInPath] stringByAppendingString:@"/"]; 94 | } 95 | 96 | - (NSDictionary *)screenCapturePrefs 97 | { 98 | return [[NSUserDefaults standardUserDefaults] persistentDomainForName:@"com.apple.screencapture"]; 99 | } 100 | 101 | #pragma mark - 102 | #pragma mark Memory management 103 | 104 | - (void)dealloc 105 | { 106 | self.helper = nil; 107 | 108 | [_startDate release]; 109 | [_metadataQuery stopQuery]; 110 | [_metadataQuery release]; 111 | 112 | [super dealloc]; 113 | } 114 | 115 | 116 | @end 117 | -------------------------------------------------------------------------------- /Chrome/Chrome.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Chrome.h 3 | */ 4 | 5 | #import 6 | #import 7 | 8 | 9 | @class ChromeApplication, ChromeWindow, ChromeTab, ChromeBookmarkFolder, ChromeBookmarkItem; 10 | 11 | 12 | 13 | /* 14 | * Standard Suite 15 | */ 16 | 17 | // The application's top-level scripting object. 18 | @interface ChromeApplication : SBApplication 19 | 20 | - (SBElementArray *) windows; 21 | 22 | @property (copy, readonly) NSString *name; // The name of the application. 23 | @property (readonly) BOOL frontmost; // Is this the frontmost (active) application? 24 | @property (copy, readonly) NSString *version; // The version of the application. 25 | 26 | - (void) open:(NSArray *)x; // Open a document. 27 | - (void) quit; // Quit the application. 28 | - (BOOL) exists:(id)x; // Verify if an object exists. 29 | 30 | @end 31 | 32 | // A window. 33 | @interface ChromeWindow : SBObject 34 | 35 | - (SBElementArray *) tabs; 36 | 37 | @property (copy, readonly) NSString *name; // The full title of the window. 38 | - (NSInteger) id; // The unique identifier of the window. 39 | @property NSInteger index; // The index of the window, ordered front to back. 40 | @property NSRect bounds; // The bounding rectangle of the window. 41 | @property (readonly) BOOL closeable; // Whether the window has a close box. 42 | @property (readonly) BOOL minimizable; // Whether the window can be minimized. 43 | @property BOOL minimized; // Whether the window is currently minimized. 44 | @property (readonly) BOOL resizable; // Whether the window can be resized. 45 | @property BOOL visible; // Whether the window is currently visible. 46 | @property (readonly) BOOL zoomable; // Whether the window can be zoomed. 47 | @property BOOL zoomed; // Whether the window is currently zoomed. 48 | @property (copy, readonly) ChromeTab *activeTab; // Returns the currently selected tab 49 | @property (copy) NSString *mode; // Represents the mode of the window which can be 'normal' or 'incognito', can be set only once during creation of the window. 50 | @property NSInteger activeTabIndex; // The index of the active tab. 51 | 52 | - (void) saveIn:(NSURL *)in_ as:(NSString *)as; // Save an object. 53 | - (void) close; // Close a window. 54 | - (void) delete; // Delete an object. 55 | - (SBObject *) duplicateTo:(SBObject *)to withProperties:(NSDictionary *)withProperties; // Copy object(s) and put the copies at a new location. 56 | - (SBObject *) moveTo:(SBObject *)to; // Move object(s) to a new location. 57 | - (void) print; // Print an object. 58 | - (void) reload; // Reload a tab. 59 | - (void) goBack; // Go Back (If Possible). 60 | - (void) goForward; // Go Forward (If Possible). 61 | - (void) selectAll; // Select all. 62 | - (void) cutSelection; // Cut selected text (If Possible). 63 | - (void) copySelection; // Copy text. 64 | - (void) pasteSelection; // Paste text (If Possible). 65 | - (void) undo; // Undo the last change. 66 | - (void) redo; // Redo the last change. 67 | - (void) stop; // Stop the current tab from loading. 68 | - (void) viewSource; // View the HTML source of the tab. 69 | - (id) executeJavascript:(NSString *)javascript; // Execute a piece of javascript. 70 | 71 | @end 72 | 73 | 74 | 75 | /* 76 | * Chromium Suite 77 | */ 78 | 79 | // The application's top-level scripting object. 80 | @interface ChromeApplication (ChromiumSuite) 81 | 82 | - (SBElementArray *) bookmarkFolders; 83 | 84 | @property (copy, readonly) ChromeBookmarkFolder *bookmarksBar; // The bookmarks bar bookmark folder. 85 | @property (copy, readonly) ChromeBookmarkFolder *otherBookmarks; // The other bookmarks bookmark folder. 86 | 87 | @end 88 | 89 | // A tab. 90 | @interface ChromeTab : SBObject 91 | 92 | - (NSInteger) id; // Unique ID of the tab. 93 | @property (copy, readonly) NSString *title; // The title of the tab. 94 | @property (copy) NSString *URL; // The url visible to the user. 95 | @property (readonly) BOOL loading; // Is loading? 96 | 97 | - (void) saveIn:(NSURL *)in_ as:(NSString *)as; // Save an object. 98 | - (void) close; // Close a window. 99 | - (void) delete; // Delete an object. 100 | - (SBObject *) duplicateTo:(SBObject *)to withProperties:(NSDictionary *)withProperties; // Copy object(s) and put the copies at a new location. 101 | - (SBObject *) moveTo:(SBObject *)to; // Move object(s) to a new location. 102 | - (void) print; // Print an object. 103 | - (void) reload; // Reload a tab. 104 | - (void) goBack; // Go Back (If Possible). 105 | - (void) goForward; // Go Forward (If Possible). 106 | - (void) selectAll; // Select all. 107 | - (void) cutSelection; // Cut selected text (If Possible). 108 | - (void) copySelection; // Copy text. 109 | - (void) pasteSelection; // Paste text (If Possible). 110 | - (void) undo; // Undo the last change. 111 | - (void) redo; // Redo the last change. 112 | - (void) stop; // Stop the current tab from loading. 113 | - (void) viewSource; // View the HTML source of the tab. 114 | - (id) executeJavascript:(NSString *)javascript; // Execute a piece of javascript. 115 | 116 | @end 117 | 118 | // A bookmarks folder that contains other bookmarks folder and bookmark items. 119 | @interface ChromeBookmarkFolder : SBObject 120 | 121 | - (SBElementArray *) bookmarkFolders; 122 | - (SBElementArray *) bookmarkItems; 123 | 124 | - (NSNumber *) id; // Unique ID of the bookmark folder. 125 | @property (copy) NSString *title; // The title of the folder. 126 | @property (copy, readonly) NSNumber *index; // Returns the index with respect to its parent bookmark folder 127 | 128 | - (void) saveIn:(NSURL *)in_ as:(NSString *)as; // Save an object. 129 | - (void) close; // Close a window. 130 | - (void) delete; // Delete an object. 131 | - (SBObject *) duplicateTo:(SBObject *)to withProperties:(NSDictionary *)withProperties; // Copy object(s) and put the copies at a new location. 132 | - (SBObject *) moveTo:(SBObject *)to; // Move object(s) to a new location. 133 | - (void) print; // Print an object. 134 | - (void) reload; // Reload a tab. 135 | - (void) goBack; // Go Back (If Possible). 136 | - (void) goForward; // Go Forward (If Possible). 137 | - (void) selectAll; // Select all. 138 | - (void) cutSelection; // Cut selected text (If Possible). 139 | - (void) copySelection; // Copy text. 140 | - (void) pasteSelection; // Paste text (If Possible). 141 | - (void) undo; // Undo the last change. 142 | - (void) redo; // Redo the last change. 143 | - (void) stop; // Stop the current tab from loading. 144 | - (void) viewSource; // View the HTML source of the tab. 145 | - (id) executeJavascript:(NSString *)javascript; // Execute a piece of javascript. 146 | 147 | @end 148 | 149 | // An item consists of an URL and the title of a bookmark 150 | @interface ChromeBookmarkItem : SBObject 151 | 152 | - (NSInteger) id; // Unique ID of the bookmark item. 153 | @property (copy) NSString *title; // The title of the bookmark item. 154 | @property (copy) NSString *URL; // The URL of the bookmark. 155 | @property (copy, readonly) NSNumber *index; // Returns the index with respect to its parent bookmark folder 156 | 157 | - (void) saveIn:(NSURL *)in_ as:(NSString *)as; // Save an object. 158 | - (void) close; // Close a window. 159 | - (void) delete; // Delete an object. 160 | - (SBObject *) duplicateTo:(SBObject *)to withProperties:(NSDictionary *)withProperties; // Copy object(s) and put the copies at a new location. 161 | - (SBObject *) moveTo:(SBObject *)to; // Move object(s) to a new location. 162 | - (void) print; // Print an object. 163 | - (void) reload; // Reload a tab. 164 | - (void) goBack; // Go Back (If Possible). 165 | - (void) goForward; // Go Forward (If Possible). 166 | - (void) selectAll; // Select all. 167 | - (void) cutSelection; // Cut selected text (If Possible). 168 | - (void) copySelection; // Copy text. 169 | - (void) pasteSelection; // Paste text (If Possible). 170 | - (void) undo; // Undo the last change. 171 | - (void) redo; // Redo the last change. 172 | - (void) stop; // Stop the current tab from loading. 173 | - (void) viewSource; // View the HTML source of the tab. 174 | - (id) executeJavascript:(NSString *)javascript; // Execute a piece of javascript. 175 | 176 | @end 177 | 178 | -------------------------------------------------------------------------------- /Chromium/Chromium.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Chromium.h 3 | */ 4 | 5 | #import 6 | #import 7 | 8 | 9 | @class ChromiumApplication, ChromeWindow, ChromeTab, ChromeBookmarkFolder, ChromeBookmarkItem; 10 | 11 | 12 | 13 | /* 14 | * Standard Suite 15 | */ 16 | 17 | // The application's top-level scripting object. 18 | @interface ChromiumApplication : SBApplication 19 | 20 | - (SBElementArray *) windows; 21 | 22 | @property (copy, readonly) NSString *name; // The name of the application. 23 | @property (readonly) BOOL frontmost; // Is this the frontmost (active) application? 24 | @property (copy, readonly) NSString *version; // The version of the application. 25 | 26 | - (void) open:(NSArray *)x; // Open a document. 27 | - (void) quit; // Quit the application. 28 | - (BOOL) exists:(id)x; // Verify if an object exists. 29 | 30 | @end 31 | 32 | // A window. 33 | @interface ChromeWindow : SBObject 34 | 35 | - (SBElementArray *) tabs; 36 | 37 | @property (copy, readonly) NSString *name; // The full title of the window. 38 | - (NSInteger) id; // The unique identifier of the window. 39 | @property NSInteger index; // The index of the window, ordered front to back. 40 | @property NSRect bounds; // The bounding rectangle of the window. 41 | @property (readonly) BOOL closeable; // Whether the window has a close box. 42 | @property (readonly) BOOL minimizable; // Whether the window can be minimized. 43 | @property BOOL minimized; // Whether the window is currently minimized. 44 | @property (readonly) BOOL resizable; // Whether the window can be resized. 45 | @property BOOL visible; // Whether the window is currently visible. 46 | @property (readonly) BOOL zoomable; // Whether the window can be zoomed. 47 | @property BOOL zoomed; // Whether the window is currently zoomed. 48 | @property (copy, readonly) ChromeTab *activeTab; // Returns the currently selected tab 49 | @property (copy) NSString *mode; // Represents the mode of the window which can be 'normal' or 'incognito', can be set only once during creation of the window. 50 | @property NSInteger activeTabIndex; // The index of the active tab. 51 | 52 | - (void) saveIn:(NSURL *)in_ as:(NSString *)as; // Save an object. 53 | - (void) close; // Close a window. 54 | - (void) delete; // Delete an object. 55 | - (SBObject *) duplicateTo:(SBObject *)to withProperties:(NSDictionary *)withProperties; // Copy object(s) and put the copies at a new location. 56 | - (SBObject *) moveTo:(SBObject *)to; // Move object(s) to a new location. 57 | - (void) print; // Print an object. 58 | - (void) reload; // Reload a tab. 59 | - (void) goBack; // Go Back (If Possible). 60 | - (void) goForward; // Go Forward (If Possible). 61 | - (void) selectAll; // Select all. 62 | - (void) cutSelection; // Cut selected text (If Possible). 63 | - (void) copySelection; // Copy text. 64 | - (void) pasteSelection; // Paste text (If Possible). 65 | - (void) undo; // Undo the last change. 66 | - (void) redo; // Redo the last change. 67 | - (void) stop; // Stop the current tab from loading. 68 | - (void) viewSource; // View the HTML source of the tab. 69 | - (id) executeJavascript:(NSString *)javascript; // Execute a piece of javascript. 70 | 71 | @end 72 | 73 | 74 | 75 | /* 76 | * Chromium Suite 77 | */ 78 | 79 | // The application's top-level scripting object. 80 | @interface ChromiumApplication (ChromiumSuite) 81 | 82 | - (SBElementArray *) bookmarkFolders; 83 | 84 | @property (copy, readonly) ChromeBookmarkFolder *bookmarksBar; // The bookmarks bar bookmark folder. 85 | @property (copy, readonly) ChromeBookmarkFolder *otherBookmarks; // The other bookmarks bookmark folder. 86 | 87 | @end 88 | 89 | // A tab. 90 | @interface ChromeTab : SBObject 91 | 92 | - (NSInteger) id; // Unique ID of the tab. 93 | @property (copy, readonly) NSString *title; // The title of the tab. 94 | @property (copy) NSString *URL; // The url visible to the user. 95 | @property (readonly) BOOL loading; // Is loading? 96 | 97 | - (void) saveIn:(NSURL *)in_ as:(NSString *)as; // Save an object. 98 | - (void) close; // Close a window. 99 | - (void) delete; // Delete an object. 100 | - (SBObject *) duplicateTo:(SBObject *)to withProperties:(NSDictionary *)withProperties; // Copy object(s) and put the copies at a new location. 101 | - (SBObject *) moveTo:(SBObject *)to; // Move object(s) to a new location. 102 | - (void) print; // Print an object. 103 | - (void) reload; // Reload a tab. 104 | - (void) goBack; // Go Back (If Possible). 105 | - (void) goForward; // Go Forward (If Possible). 106 | - (void) selectAll; // Select all. 107 | - (void) cutSelection; // Cut selected text (If Possible). 108 | - (void) copySelection; // Copy text. 109 | - (void) pasteSelection; // Paste text (If Possible). 110 | - (void) undo; // Undo the last change. 111 | - (void) redo; // Redo the last change. 112 | - (void) stop; // Stop the current tab from loading. 113 | - (void) viewSource; // View the HTML source of the tab. 114 | - (id) executeJavascript:(NSString *)javascript; // Execute a piece of javascript. 115 | 116 | @end 117 | 118 | // A bookmarks folder that contains other bookmarks folder and bookmark items. 119 | @interface ChromeBookmarkFolder : SBObject 120 | 121 | - (SBElementArray *) bookmarkFolders; 122 | - (SBElementArray *) bookmarkItems; 123 | 124 | - (NSNumber *) id; // Unique ID of the bookmark folder. 125 | @property (copy) NSString *title; // The title of the folder. 126 | @property (copy, readonly) NSNumber *index; // Returns the index with respect to its parent bookmark folder 127 | 128 | - (void) saveIn:(NSURL *)in_ as:(NSString *)as; // Save an object. 129 | - (void) close; // Close a window. 130 | - (void) delete; // Delete an object. 131 | - (SBObject *) duplicateTo:(SBObject *)to withProperties:(NSDictionary *)withProperties; // Copy object(s) and put the copies at a new location. 132 | - (SBObject *) moveTo:(SBObject *)to; // Move object(s) to a new location. 133 | - (void) print; // Print an object. 134 | - (void) reload; // Reload a tab. 135 | - (void) goBack; // Go Back (If Possible). 136 | - (void) goForward; // Go Forward (If Possible). 137 | - (void) selectAll; // Select all. 138 | - (void) cutSelection; // Cut selected text (If Possible). 139 | - (void) copySelection; // Copy text. 140 | - (void) pasteSelection; // Paste text (If Possible). 141 | - (void) undo; // Undo the last change. 142 | - (void) redo; // Redo the last change. 143 | - (void) stop; // Stop the current tab from loading. 144 | - (void) viewSource; // View the HTML source of the tab. 145 | - (id) executeJavascript:(NSString *)javascript; // Execute a piece of javascript. 146 | 147 | @end 148 | 149 | // An item consists of an URL and the title of a bookmark 150 | @interface ChromeBookmarkItem : SBObject 151 | 152 | - (NSInteger) id; // Unique ID of the bookmark item. 153 | @property (copy) NSString *title; // The title of the bookmark item. 154 | @property (copy) NSString *URL; // The URL of the bookmark. 155 | @property (copy, readonly) NSNumber *index; // Returns the index with respect to its parent bookmark folder 156 | 157 | - (void) saveIn:(NSURL *)in_ as:(NSString *)as; // Save an object. 158 | - (void) close; // Close a window. 159 | - (void) delete; // Delete an object. 160 | - (SBObject *) duplicateTo:(SBObject *)to withProperties:(NSDictionary *)withProperties; // Copy object(s) and put the copies at a new location. 161 | - (SBObject *) moveTo:(SBObject *)to; // Move object(s) to a new location. 162 | - (void) print; // Print an object. 163 | - (void) reload; // Reload a tab. 164 | - (void) goBack; // Go Back (If Possible). 165 | - (void) goForward; // Go Forward (If Possible). 166 | - (void) selectAll; // Select all. 167 | - (void) cutSelection; // Cut selected text (If Possible). 168 | - (void) copySelection; // Copy text. 169 | - (void) pasteSelection; // Paste text (If Possible). 170 | - (void) undo; // Undo the last change. 171 | - (void) redo; // Redo the last change. 172 | - (void) stop; // Stop the current tab from loading. 173 | - (void) viewSource; // View the HTML source of the tab. 174 | - (id) executeJavascript:(NSString *)javascript; // Execute a piece of javascript. 175 | 176 | @end 177 | 178 | -------------------------------------------------------------------------------- /Safari/Safari.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Safari.h 3 | */ 4 | 5 | #import 6 | #import 7 | 8 | 9 | @class SafariItem, SafariApplication, SafariColor, SafariDocument, SafariWindow, SafariAttributeRun, SafariCharacter, SafariParagraph, SafariText, SafariAttachment, SafariWord, SafariDocument, SafariTab, SafariWindow, SafariPrintSettings; 10 | 11 | typedef enum { 12 | SafariSavoAsk = 'ask ' /* Ask the user whether or not to save the file. */, 13 | SafariSavoNo = 'no ' /* Do not save the file. */, 14 | SafariSavoYes = 'yes ' /* Save the file. */ 15 | } SafariSavo; 16 | 17 | typedef enum { 18 | SafariEnumStandard = 'lwst' /* Standard PostScript error handling */, 19 | SafariEnumDetailed = 'lwdt' /* print a detailed report of PostScript errors */ 20 | } SafariEnum; 21 | 22 | 23 | 24 | /* 25 | * Standard Suite 26 | */ 27 | 28 | // A scriptable object. 29 | @interface SafariItem : SBObject 30 | 31 | @property (copy) NSDictionary *properties; // All of the object's properties. 32 | 33 | - (void) closeSaving:(SafariSavo)saving savingIn:(NSURL *)savingIn; // Close an object. 34 | - (void) delete; // Delete an object. 35 | - (void) duplicateTo:(SBObject *)to withProperties:(NSDictionary *)withProperties; // Copy object(s) and put the copies at a new location. 36 | - (BOOL) exists; // Verify if an object exists. 37 | - (void) moveTo:(SBObject *)to; // Move object(s) to a new location. 38 | - (void) saveAs:(NSString *)as in:(NSURL *)in_; // Save an object. 39 | 40 | @end 41 | 42 | // An application's top level scripting object. 43 | @interface SafariApplication : SBApplication 44 | 45 | - (SBElementArray *) documents; 46 | - (SBElementArray *) windows; 47 | 48 | @property (readonly) BOOL frontmost; // Is this the frontmost (active) application? 49 | @property (copy, readonly) NSString *name; // The name of the application. 50 | @property (copy, readonly) NSString *version; // The version of the application. 51 | 52 | - (SafariDocument *) open:(NSURL *)x; // Open an object. 53 | - (void) print:(NSURL *)x printDialog:(BOOL)printDialog withProperties:(SafariPrintSettings *)withProperties; // Print an object. 54 | - (void) quitSaving:(SafariSavo)saving; // Quit an application. 55 | - (id) doJavaScript:(NSString *)x in:(SafariTab *)in_; // Applies a string of JavaScript code to a document. 56 | - (void) emailContentsOf:(SafariTab *)of; // Emails the contents of a tab. 57 | - (void) showBookmarks; // Shows Safari's bookmarks. 58 | 59 | @end 60 | 61 | // A color. 62 | @interface SafariColor : SafariItem 63 | 64 | 65 | @end 66 | 67 | // A document. 68 | @interface SafariDocument : SafariItem 69 | 70 | @property (readonly) BOOL modified; // Has the document been modified since the last save? 71 | @property (copy) NSString *name; // The document's name. 72 | @property (copy) NSString *path; // The document's path. 73 | 74 | 75 | @end 76 | 77 | // A window. 78 | @interface SafariWindow : SafariItem 79 | 80 | @property NSRect bounds; // The bounding rectangle of the window. 81 | @property (readonly) BOOL closeable; // Whether the window has a close box. 82 | @property (copy, readonly) SafariDocument *document; // The document whose contents are being displayed in the window. 83 | @property (readonly) BOOL floating; // Whether the window floats. 84 | - (NSInteger) id; // The unique identifier of the window. 85 | @property NSInteger index; // The index of the window, ordered front to back. 86 | @property (readonly) BOOL miniaturizable; // Whether the window can be miniaturized. 87 | @property BOOL miniaturized; // Whether the window is currently miniaturized. 88 | @property (readonly) BOOL modal; // Whether the window is the application's current modal window. 89 | @property (copy) NSString *name; // The full title of the window. 90 | @property (readonly) BOOL resizable; // Whether the window can be resized. 91 | @property (readonly) BOOL titled; // Whether the window has a title bar. 92 | @property BOOL visible; // Whether the window is currently visible. 93 | @property (readonly) BOOL zoomable; // Whether the window can be zoomed. 94 | @property BOOL zoomed; // Whether the window is currently zoomed. 95 | 96 | 97 | @end 98 | 99 | 100 | 101 | /* 102 | * Text Suite 103 | */ 104 | 105 | // This subdivides the text into chunks that all have the same attributes. 106 | @interface SafariAttributeRun : SafariItem 107 | 108 | - (SBElementArray *) attachments; 109 | - (SBElementArray *) attributeRuns; 110 | - (SBElementArray *) characters; 111 | - (SBElementArray *) paragraphs; 112 | - (SBElementArray *) words; 113 | 114 | @property (copy) NSColor *color; // The color of the first character. 115 | @property (copy) NSString *font; // The name of the font of the first character. 116 | @property NSInteger size; // The size in points of the first character. 117 | 118 | 119 | @end 120 | 121 | // This subdivides the text into characters. 122 | @interface SafariCharacter : SafariItem 123 | 124 | - (SBElementArray *) attachments; 125 | - (SBElementArray *) attributeRuns; 126 | - (SBElementArray *) characters; 127 | - (SBElementArray *) paragraphs; 128 | - (SBElementArray *) words; 129 | 130 | @property (copy) NSColor *color; // The color of the first character. 131 | @property (copy) NSString *font; // The name of the font of the first character. 132 | @property NSInteger size; // The size in points of the first character. 133 | 134 | 135 | @end 136 | 137 | // This subdivides the text into paragraphs. 138 | @interface SafariParagraph : SafariItem 139 | 140 | - (SBElementArray *) attachments; 141 | - (SBElementArray *) attributeRuns; 142 | - (SBElementArray *) characters; 143 | - (SBElementArray *) paragraphs; 144 | - (SBElementArray *) words; 145 | 146 | @property (copy) NSColor *color; // The color of the first character. 147 | @property (copy) NSString *font; // The name of the font of the first character. 148 | @property NSInteger size; // The size in points of the first character. 149 | 150 | 151 | @end 152 | 153 | // Rich (styled) text 154 | @interface SafariText : SafariItem 155 | 156 | - (SBElementArray *) attachments; 157 | - (SBElementArray *) attributeRuns; 158 | - (SBElementArray *) characters; 159 | - (SBElementArray *) paragraphs; 160 | - (SBElementArray *) words; 161 | 162 | @property (copy) NSColor *color; // The color of the first character. 163 | @property (copy) NSString *font; // The name of the font of the first character. 164 | @property NSInteger size; // The size in points of the first character. 165 | 166 | - (id) doJavaScriptIn:(SafariTab *)in_; // Applies a string of JavaScript code to a document. 167 | 168 | @end 169 | 170 | // Represents an inline text attachment. This class is used mainly for make commands. 171 | @interface SafariAttachment : SafariText 172 | 173 | @property (copy) NSString *fileName; // The path to the file for the attachment 174 | 175 | 176 | @end 177 | 178 | // This subdivides the text into words. 179 | @interface SafariWord : SafariItem 180 | 181 | - (SBElementArray *) attachments; 182 | - (SBElementArray *) attributeRuns; 183 | - (SBElementArray *) characters; 184 | - (SBElementArray *) paragraphs; 185 | - (SBElementArray *) words; 186 | 187 | @property (copy) NSColor *color; // The color of the first character. 188 | @property (copy) NSString *font; // The name of the font of the first character. 189 | @property NSInteger size; // The size in points of the first character. 190 | 191 | 192 | @end 193 | 194 | 195 | 196 | /* 197 | * Safari suite 198 | */ 199 | 200 | // A Safari document representing the active tab in a window. 201 | @interface SafariDocument (SafariSuite) 202 | 203 | @property (copy, readonly) NSString *source; // The HTML source of the web page currently loaded in the document. 204 | @property (copy, readonly) SafariText *text; // The text of the web page currently loaded in the document. Modifications to text aren't reflected on the web page. 205 | @property (copy) NSString *URL; // The current URL of the document. 206 | 207 | @end 208 | 209 | // A Safari window tab. 210 | @interface SafariTab : SafariItem 211 | 212 | @property (readonly) NSInteger index; // The index of the tab, ordered left to right. 213 | @property (copy, readonly) NSString *name; // The name of the tab. 214 | @property (copy, readonly) NSString *source; // The HTML source of the web page currently loaded in the tab. 215 | @property (copy, readonly) SafariText *text; // The text of the web page currently loaded in the tab. Modifications to text aren't reflected on the web page. 216 | @property (copy) NSString *URL; // The current URL of the tab. 217 | @property (readonly) BOOL visible; // Whether the tab is currently visible. 218 | 219 | 220 | @end 221 | 222 | // A Safari window. 223 | @interface SafariWindow (SafariSuite) 224 | 225 | - (SBElementArray *) tabs; 226 | 227 | @property (copy) SafariTab *currentTab; // The current tab. 228 | 229 | @end 230 | 231 | 232 | 233 | /* 234 | * Type Definitions 235 | */ 236 | 237 | @interface SafariPrintSettings : SBObject 238 | 239 | @property NSInteger copies; // the number of copies of a document to be printed 240 | @property BOOL collating; // Should printed copies be collated? 241 | @property NSInteger startingPage; // the first page of the document to be printed 242 | @property NSInteger endingPage; // the last page of the document to be printed 243 | @property NSInteger pagesAcross; // number of logical pages laid across a physical page 244 | @property NSInteger pagesDown; // number of logical pages laid out down a physical page 245 | @property (copy) NSDate *requestedPrintTime; // the time at which the desktop printer should print the document 246 | @property SafariEnum errorHandling; // how errors are handled 247 | @property (copy) NSString *faxNumber; // for fax number 248 | @property (copy) NSString *targetPrinter; // for target printer 249 | 250 | - (void) closeSaving:(SafariSavo)saving savingIn:(NSURL *)savingIn; // Close an object. 251 | - (void) delete; // Delete an object. 252 | - (void) duplicateTo:(SBObject *)to withProperties:(NSDictionary *)withProperties; // Copy object(s) and put the copies at a new location. 253 | - (BOOL) exists; // Verify if an object exists. 254 | - (void) moveTo:(SBObject *)to; // Move object(s) to a new location. 255 | - (void) saveAs:(NSString *)as in:(NSURL *)in_; // Save an object. 256 | 257 | @end 258 | 259 | -------------------------------------------------------------------------------- /Screenshots/Screenshots.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 45; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 4B34652612F35A22003315C7 /* Raindrop.plist in Resources */ = {isa = PBXBuildFile; fileRef = 4B34652512F35A22003315C7 /* Raindrop.plist */; }; 11 | 4B34652912F35A3C003315C7 /* CLScreenshotsRaindrop.m in Sources */ = {isa = PBXBuildFile; fileRef = 4B34652812F35A3C003315C7 /* CLScreenshotsRaindrop.m */; }; 12 | 8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C167DFE841241C02AAC07 /* InfoPlist.strings */; }; 13 | 8D5B49B4048680CD000E48DA /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */; }; 14 | /* End PBXBuildFile section */ 15 | 16 | /* Begin PBXFileReference section */ 17 | 089C1672FE841209C02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; 18 | 089C167EFE841241C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; 19 | 089C167FFE841241C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; 20 | 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; 21 | 32DBCF630370AF2F00C91783 /* Screenshots_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Screenshots_Prefix.pch; sourceTree = ""; }; 22 | 4B34652512F35A22003315C7 /* Raindrop.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Raindrop.plist; sourceTree = ""; }; 23 | 4B34652712F35A3C003315C7 /* CLScreenshotsRaindrop.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CLScreenshotsRaindrop.h; sourceTree = ""; }; 24 | 4B34652812F35A3C003315C7 /* CLScreenshotsRaindrop.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CLScreenshotsRaindrop.m; sourceTree = ""; }; 25 | 4B34652E12F35A62003315C7 /* CLRaindropProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLRaindropProtocol.h; path = ../CLRaindropProtocol.h; sourceTree = SOURCE_ROOT; }; 26 | 4B34653012F35A86003315C7 /* CLRaindropHelperProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLRaindropHelperProtocol.h; path = ../CLRaindropHelperProtocol.h; sourceTree = SOURCE_ROOT; }; 27 | 8D5B49B6048680CD000E48DA /* Screenshots.raindrop */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Screenshots.raindrop; sourceTree = BUILT_PRODUCTS_DIR; }; 28 | 8D5B49B7048680CD000E48DA /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 29 | D2F7E65807B2D6F200F64583 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = ""; }; 30 | /* End PBXFileReference section */ 31 | 32 | /* Begin PBXFrameworksBuildPhase section */ 33 | 8D5B49B3048680CD000E48DA /* Frameworks */ = { 34 | isa = PBXFrameworksBuildPhase; 35 | buildActionMask = 2147483647; 36 | files = ( 37 | 8D5B49B4048680CD000E48DA /* Cocoa.framework in Frameworks */, 38 | ); 39 | runOnlyForDeploymentPostprocessing = 0; 40 | }; 41 | /* End PBXFrameworksBuildPhase section */ 42 | 43 | /* Begin PBXGroup section */ 44 | 089C166AFE841209C02AAC07 /* Screenshots */ = { 45 | isa = PBXGroup; 46 | children = ( 47 | 08FB77AFFE84173DC02AAC07 /* Classes */, 48 | 32C88E010371C26100C91783 /* Other Sources */, 49 | 089C167CFE841241C02AAC07 /* Resources */, 50 | 089C1671FE841209C02AAC07 /* Frameworks and Libraries */, 51 | 19C28FB8FE9D52D311CA2CBB /* Products */, 52 | ); 53 | name = Screenshots; 54 | sourceTree = ""; 55 | }; 56 | 089C1671FE841209C02AAC07 /* Frameworks and Libraries */ = { 57 | isa = PBXGroup; 58 | children = ( 59 | 1058C7ACFEA557BF11CA2CBB /* Linked Frameworks */, 60 | 1058C7AEFEA557BF11CA2CBB /* Other Frameworks */, 61 | ); 62 | name = "Frameworks and Libraries"; 63 | sourceTree = ""; 64 | }; 65 | 089C167CFE841241C02AAC07 /* Resources */ = { 66 | isa = PBXGroup; 67 | children = ( 68 | 4B34652512F35A22003315C7 /* Raindrop.plist */, 69 | 8D5B49B7048680CD000E48DA /* Info.plist */, 70 | 089C167DFE841241C02AAC07 /* InfoPlist.strings */, 71 | ); 72 | name = Resources; 73 | sourceTree = ""; 74 | }; 75 | 08FB77AFFE84173DC02AAC07 /* Classes */ = { 76 | isa = PBXGroup; 77 | children = ( 78 | 4B34652712F35A3C003315C7 /* CLScreenshotsRaindrop.h */, 79 | 4B34652812F35A3C003315C7 /* CLScreenshotsRaindrop.m */, 80 | 4B34652E12F35A62003315C7 /* CLRaindropProtocol.h */, 81 | 4B34653012F35A86003315C7 /* CLRaindropHelperProtocol.h */, 82 | ); 83 | name = Classes; 84 | sourceTree = ""; 85 | }; 86 | 1058C7ACFEA557BF11CA2CBB /* Linked Frameworks */ = { 87 | isa = PBXGroup; 88 | children = ( 89 | 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */, 90 | ); 91 | name = "Linked Frameworks"; 92 | sourceTree = ""; 93 | }; 94 | 1058C7AEFEA557BF11CA2CBB /* Other Frameworks */ = { 95 | isa = PBXGroup; 96 | children = ( 97 | 089C167FFE841241C02AAC07 /* AppKit.framework */, 98 | D2F7E65807B2D6F200F64583 /* CoreData.framework */, 99 | 089C1672FE841209C02AAC07 /* Foundation.framework */, 100 | ); 101 | name = "Other Frameworks"; 102 | sourceTree = ""; 103 | }; 104 | 19C28FB8FE9D52D311CA2CBB /* Products */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | 8D5B49B6048680CD000E48DA /* Screenshots.raindrop */, 108 | ); 109 | name = Products; 110 | sourceTree = ""; 111 | }; 112 | 32C88E010371C26100C91783 /* Other Sources */ = { 113 | isa = PBXGroup; 114 | children = ( 115 | 32DBCF630370AF2F00C91783 /* Screenshots_Prefix.pch */, 116 | ); 117 | name = "Other Sources"; 118 | sourceTree = ""; 119 | }; 120 | /* End PBXGroup section */ 121 | 122 | /* Begin PBXNativeTarget section */ 123 | 8D5B49AC048680CD000E48DA /* Screenshots */ = { 124 | isa = PBXNativeTarget; 125 | buildConfigurationList = 1DEB913A08733D840010E9CD /* Build configuration list for PBXNativeTarget "Screenshots" */; 126 | buildPhases = ( 127 | 8D5B49AF048680CD000E48DA /* Resources */, 128 | 8D5B49B1048680CD000E48DA /* Sources */, 129 | 8D5B49B3048680CD000E48DA /* Frameworks */, 130 | ); 131 | buildRules = ( 132 | ); 133 | dependencies = ( 134 | ); 135 | name = Screenshots; 136 | productInstallPath = "$(HOME)/Library/Bundles"; 137 | productName = Screenshots; 138 | productReference = 8D5B49B6048680CD000E48DA /* Screenshots.raindrop */; 139 | productType = "com.apple.product-type.bundle"; 140 | }; 141 | /* End PBXNativeTarget section */ 142 | 143 | /* Begin PBXProject section */ 144 | 089C1669FE841209C02AAC07 /* Project object */ = { 145 | isa = PBXProject; 146 | buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "Screenshots" */; 147 | compatibilityVersion = "Xcode 3.1"; 148 | developmentRegion = English; 149 | hasScannedForEncodings = 1; 150 | knownRegions = ( 151 | English, 152 | Japanese, 153 | French, 154 | German, 155 | ); 156 | mainGroup = 089C166AFE841209C02AAC07 /* Screenshots */; 157 | projectDirPath = ""; 158 | projectRoot = ""; 159 | targets = ( 160 | 8D5B49AC048680CD000E48DA /* Screenshots */, 161 | ); 162 | }; 163 | /* End PBXProject section */ 164 | 165 | /* Begin PBXResourcesBuildPhase section */ 166 | 8D5B49AF048680CD000E48DA /* Resources */ = { 167 | isa = PBXResourcesBuildPhase; 168 | buildActionMask = 2147483647; 169 | files = ( 170 | 8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */, 171 | 4B34652612F35A22003315C7 /* Raindrop.plist in Resources */, 172 | ); 173 | runOnlyForDeploymentPostprocessing = 0; 174 | }; 175 | /* End PBXResourcesBuildPhase section */ 176 | 177 | /* Begin PBXSourcesBuildPhase section */ 178 | 8D5B49B1048680CD000E48DA /* Sources */ = { 179 | isa = PBXSourcesBuildPhase; 180 | buildActionMask = 2147483647; 181 | files = ( 182 | 4B34652912F35A3C003315C7 /* CLScreenshotsRaindrop.m in Sources */, 183 | ); 184 | runOnlyForDeploymentPostprocessing = 0; 185 | }; 186 | /* End PBXSourcesBuildPhase section */ 187 | 188 | /* Begin PBXVariantGroup section */ 189 | 089C167DFE841241C02AAC07 /* InfoPlist.strings */ = { 190 | isa = PBXVariantGroup; 191 | children = ( 192 | 089C167EFE841241C02AAC07 /* English */, 193 | ); 194 | name = InfoPlist.strings; 195 | sourceTree = ""; 196 | }; 197 | /* End PBXVariantGroup section */ 198 | 199 | /* Begin XCBuildConfiguration section */ 200 | 1DEB913B08733D840010E9CD /* Debug */ = { 201 | isa = XCBuildConfiguration; 202 | buildSettings = { 203 | ALWAYS_SEARCH_USER_PATHS = NO; 204 | COPY_PHASE_STRIP = NO; 205 | GCC_DYNAMIC_NO_PIC = NO; 206 | GCC_ENABLE_FIX_AND_CONTINUE = YES; 207 | GCC_MODEL_TUNING = G5; 208 | GCC_OPTIMIZATION_LEVEL = 0; 209 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 210 | GCC_PREFIX_HEADER = Screenshots_Prefix.pch; 211 | INFOPLIST_FILE = Info.plist; 212 | INSTALL_PATH = "$(HOME)/Library/Bundles"; 213 | PRODUCT_NAME = Screenshots; 214 | SKIP_INSTALL = YES; 215 | WRAPPER_EXTENSION = raindrop; 216 | }; 217 | name = Debug; 218 | }; 219 | 1DEB913C08733D840010E9CD /* Release */ = { 220 | isa = XCBuildConfiguration; 221 | buildSettings = { 222 | ALWAYS_SEARCH_USER_PATHS = NO; 223 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 224 | GCC_MODEL_TUNING = G5; 225 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 226 | GCC_PREFIX_HEADER = Screenshots_Prefix.pch; 227 | INFOPLIST_FILE = Info.plist; 228 | INSTALL_PATH = "$(HOME)/Library/Bundles"; 229 | PRODUCT_NAME = Screenshots; 230 | SKIP_INSTALL = YES; 231 | WRAPPER_EXTENSION = raindrop; 232 | }; 233 | name = Release; 234 | }; 235 | 1DEB913F08733D840010E9CD /* Debug */ = { 236 | isa = XCBuildConfiguration; 237 | buildSettings = { 238 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 239 | GCC_C_LANGUAGE_STANDARD = gnu99; 240 | GCC_OPTIMIZATION_LEVEL = 0; 241 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 242 | GCC_WARN_UNUSED_VARIABLE = YES; 243 | MACOSX_DEPLOYMENT_TARGET = 10.6; 244 | ONLY_ACTIVE_ARCH = YES; 245 | PREBINDING = NO; 246 | SDKROOT = macosx; 247 | }; 248 | name = Debug; 249 | }; 250 | 1DEB914008733D840010E9CD /* Release */ = { 251 | isa = XCBuildConfiguration; 252 | buildSettings = { 253 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 254 | GCC_C_LANGUAGE_STANDARD = gnu99; 255 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 256 | GCC_WARN_UNUSED_VARIABLE = YES; 257 | MACOSX_DEPLOYMENT_TARGET = 10.6; 258 | PREBINDING = NO; 259 | SDKROOT = macosx; 260 | }; 261 | name = Release; 262 | }; 263 | /* End XCBuildConfiguration section */ 264 | 265 | /* Begin XCConfigurationList section */ 266 | 1DEB913A08733D840010E9CD /* Build configuration list for PBXNativeTarget "Screenshots" */ = { 267 | isa = XCConfigurationList; 268 | buildConfigurations = ( 269 | 1DEB913B08733D840010E9CD /* Debug */, 270 | 1DEB913C08733D840010E9CD /* Release */, 271 | ); 272 | defaultConfigurationIsVisible = 0; 273 | defaultConfigurationName = Release; 274 | }; 275 | 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "Screenshots" */ = { 276 | isa = XCConfigurationList; 277 | buildConfigurations = ( 278 | 1DEB913F08733D840010E9CD /* Debug */, 279 | 1DEB914008733D840010E9CD /* Release */, 280 | ); 281 | defaultConfigurationIsVisible = 0; 282 | defaultConfigurationName = Release; 283 | }; 284 | /* End XCConfigurationList section */ 285 | }; 286 | rootObject = 089C1669FE841209C02AAC07 /* Project object */; 287 | } 288 | -------------------------------------------------------------------------------- /Finder/Finder.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 4B7813781304BD6500D4153B /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4B7813771304BD6500D4153B /* Cocoa.framework */; }; 11 | 4B78138A1304BDA200D4153B /* Raindrop.plist in Resources */ = {isa = PBXBuildFile; fileRef = 4B7813891304BDA200D4153B /* Raindrop.plist */; }; 12 | 4B7813951304BE0100D4153B /* CLFinderRaindrop.m in Sources */ = {isa = PBXBuildFile; fileRef = 4B7813941304BE0100D4153B /* CLFinderRaindrop.m */; }; 13 | 4BA182241304C23200B82CCB /* ScriptingBridge.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BA182231304C23200B82CCB /* ScriptingBridge.framework */; }; 14 | 8C3D6C79131AF2EB00B25BDF /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 8C3D6C78131AF2EB00B25BDF /* InfoPlist.strings */; }; 15 | /* End PBXBuildFile section */ 16 | 17 | /* Begin PBXFileReference section */ 18 | 4B7813741304BD6500D4153B /* Finder.raindrop */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Finder.raindrop; sourceTree = BUILT_PRODUCTS_DIR; }; 19 | 4B7813771304BD6500D4153B /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; 20 | 4B78137A1304BD6500D4153B /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; 21 | 4B78137B1304BD6500D4153B /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; 22 | 4B78137C1304BD6500D4153B /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 23 | 4B78137F1304BD6500D4153B /* Finder-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Finder-Info.plist"; sourceTree = ""; }; 24 | 4B7813831304BD6500D4153B /* Finder-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Finder-Prefix.pch"; sourceTree = ""; }; 25 | 4B7813891304BDA200D4153B /* Raindrop.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Raindrop.plist; sourceTree = ""; }; 26 | 4B7813911304BDDC00D4153B /* Finder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Finder.h; sourceTree = ""; }; 27 | 4B7813941304BE0100D4153B /* CLFinderRaindrop.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CLFinderRaindrop.m; sourceTree = ""; }; 28 | 4BA182231304C23200B82CCB /* ScriptingBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ScriptingBridge.framework; path = System/Library/Frameworks/ScriptingBridge.framework; sourceTree = SDKROOT; }; 29 | 4BA1824A1304C2FF00B82CCB /* CLRaindropProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLRaindropProtocol.h; path = ../CLRaindropProtocol.h; sourceTree = ""; }; 30 | 8C3D6C53131AF27300B25BDF /* CLFinderRaindrop.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CLFinderRaindrop.h; sourceTree = ""; }; 31 | 8C3D6C76131AF2E800B25BDF /* English */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; 32 | /* End PBXFileReference section */ 33 | 34 | /* Begin PBXFrameworksBuildPhase section */ 35 | 4B7813711304BD6500D4153B /* Frameworks */ = { 36 | isa = PBXFrameworksBuildPhase; 37 | buildActionMask = 2147483647; 38 | files = ( 39 | 4BA182241304C23200B82CCB /* ScriptingBridge.framework in Frameworks */, 40 | 4B7813781304BD6500D4153B /* Cocoa.framework in Frameworks */, 41 | ); 42 | runOnlyForDeploymentPostprocessing = 0; 43 | }; 44 | /* End PBXFrameworksBuildPhase section */ 45 | 46 | /* Begin PBXGroup section */ 47 | 4B7813691304BD6500D4153B = { 48 | isa = PBXGroup; 49 | children = ( 50 | 8C3D6C69131AF28500B25BDF /* Classes */, 51 | 8C3D6CD2131AF42000B25BDF /* Other Sources */, 52 | 8C3D6C73131AF29A00B25BDF /* Resources */, 53 | 4B7813761304BD6500D4153B /* Frameworks */, 54 | 4B7813751304BD6500D4153B /* Products */, 55 | ); 56 | sourceTree = ""; 57 | }; 58 | 4B7813751304BD6500D4153B /* Products */ = { 59 | isa = PBXGroup; 60 | children = ( 61 | 4B7813741304BD6500D4153B /* Finder.raindrop */, 62 | ); 63 | name = Products; 64 | sourceTree = ""; 65 | }; 66 | 4B7813761304BD6500D4153B /* Frameworks */ = { 67 | isa = PBXGroup; 68 | children = ( 69 | 4BA182231304C23200B82CCB /* ScriptingBridge.framework */, 70 | 4B7813771304BD6500D4153B /* Cocoa.framework */, 71 | 4B7813791304BD6500D4153B /* Other Frameworks */, 72 | ); 73 | name = Frameworks; 74 | sourceTree = ""; 75 | }; 76 | 4B7813791304BD6500D4153B /* Other Frameworks */ = { 77 | isa = PBXGroup; 78 | children = ( 79 | 4B78137A1304BD6500D4153B /* AppKit.framework */, 80 | 4B78137B1304BD6500D4153B /* CoreData.framework */, 81 | 4B78137C1304BD6500D4153B /* Foundation.framework */, 82 | ); 83 | name = "Other Frameworks"; 84 | sourceTree = ""; 85 | }; 86 | 8C3D6C69131AF28500B25BDF /* Classes */ = { 87 | isa = PBXGroup; 88 | children = ( 89 | 8C3D6C53131AF27300B25BDF /* CLFinderRaindrop.h */, 90 | 4B7813941304BE0100D4153B /* CLFinderRaindrop.m */, 91 | 4B7813911304BDDC00D4153B /* Finder.h */, 92 | 4BA1824A1304C2FF00B82CCB /* CLRaindropProtocol.h */, 93 | ); 94 | name = Classes; 95 | sourceTree = ""; 96 | }; 97 | 8C3D6C73131AF29A00B25BDF /* Resources */ = { 98 | isa = PBXGroup; 99 | children = ( 100 | 4B78137F1304BD6500D4153B /* Finder-Info.plist */, 101 | 8C3D6C78131AF2EB00B25BDF /* InfoPlist.strings */, 102 | 4B7813891304BDA200D4153B /* Raindrop.plist */, 103 | ); 104 | name = Resources; 105 | sourceTree = ""; 106 | }; 107 | 8C3D6CD2131AF42000B25BDF /* Other Sources */ = { 108 | isa = PBXGroup; 109 | children = ( 110 | 4B7813831304BD6500D4153B /* Finder-Prefix.pch */, 111 | ); 112 | name = "Other Sources"; 113 | sourceTree = ""; 114 | }; 115 | /* End PBXGroup section */ 116 | 117 | /* Begin PBXNativeTarget section */ 118 | 4B7813731304BD6500D4153B /* Finder */ = { 119 | isa = PBXNativeTarget; 120 | buildConfigurationList = 4B7813861304BD6500D4153B /* Build configuration list for PBXNativeTarget "Finder" */; 121 | buildPhases = ( 122 | 4B7813701304BD6500D4153B /* Sources */, 123 | 4B7813711304BD6500D4153B /* Frameworks */, 124 | 4B7813721304BD6500D4153B /* Resources */, 125 | ); 126 | buildRules = ( 127 | ); 128 | dependencies = ( 129 | ); 130 | name = Finder; 131 | productName = Finder; 132 | productReference = 4B7813741304BD6500D4153B /* Finder.raindrop */; 133 | productType = "com.apple.product-type.bundle"; 134 | }; 135 | /* End PBXNativeTarget section */ 136 | 137 | /* Begin PBXProject section */ 138 | 4B78136B1304BD6500D4153B /* Project object */ = { 139 | isa = PBXProject; 140 | attributes = { 141 | ORGANIZATIONNAME = Linebreak; 142 | }; 143 | buildConfigurationList = 4B78136E1304BD6500D4153B /* Build configuration list for PBXProject "Finder" */; 144 | compatibilityVersion = "Xcode 3.2"; 145 | developmentRegion = English; 146 | hasScannedForEncodings = 0; 147 | knownRegions = ( 148 | en, 149 | ); 150 | mainGroup = 4B7813691304BD6500D4153B; 151 | productRefGroup = 4B7813751304BD6500D4153B /* Products */; 152 | projectDirPath = ""; 153 | projectRoot = ""; 154 | targets = ( 155 | 4B7813731304BD6500D4153B /* Finder */, 156 | ); 157 | }; 158 | /* End PBXProject section */ 159 | 160 | /* Begin PBXResourcesBuildPhase section */ 161 | 4B7813721304BD6500D4153B /* Resources */ = { 162 | isa = PBXResourcesBuildPhase; 163 | buildActionMask = 2147483647; 164 | files = ( 165 | 4B78138A1304BDA200D4153B /* Raindrop.plist in Resources */, 166 | 8C3D6C79131AF2EB00B25BDF /* InfoPlist.strings in Resources */, 167 | ); 168 | runOnlyForDeploymentPostprocessing = 0; 169 | }; 170 | /* End PBXResourcesBuildPhase section */ 171 | 172 | /* Begin PBXSourcesBuildPhase section */ 173 | 4B7813701304BD6500D4153B /* Sources */ = { 174 | isa = PBXSourcesBuildPhase; 175 | buildActionMask = 2147483647; 176 | files = ( 177 | 4B7813951304BE0100D4153B /* CLFinderRaindrop.m in Sources */, 178 | ); 179 | runOnlyForDeploymentPostprocessing = 0; 180 | }; 181 | /* End PBXSourcesBuildPhase section */ 182 | 183 | /* Begin PBXVariantGroup section */ 184 | 8C3D6C78131AF2EB00B25BDF /* InfoPlist.strings */ = { 185 | isa = PBXVariantGroup; 186 | children = ( 187 | 8C3D6C76131AF2E800B25BDF /* English */, 188 | ); 189 | name = InfoPlist.strings; 190 | sourceTree = ""; 191 | }; 192 | /* End PBXVariantGroup section */ 193 | 194 | /* Begin XCBuildConfiguration section */ 195 | 4B7813841304BD6500D4153B /* Debug */ = { 196 | isa = XCBuildConfiguration; 197 | buildSettings = { 198 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 199 | GCC_C_LANGUAGE_STANDARD = gnu99; 200 | GCC_OPTIMIZATION_LEVEL = 0; 201 | GCC_PREPROCESSOR_DEFINITIONS = DEBUG; 202 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 203 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 204 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 205 | GCC_WARN_UNUSED_VARIABLE = YES; 206 | MACOSX_DEPLOYMENT_TARGET = 10.6; 207 | ONLY_ACTIVE_ARCH = YES; 208 | SDKROOT = macosx; 209 | }; 210 | name = Debug; 211 | }; 212 | 4B7813851304BD6500D4153B /* Release */ = { 213 | isa = XCBuildConfiguration; 214 | buildSettings = { 215 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 216 | GCC_C_LANGUAGE_STANDARD = gnu99; 217 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 218 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 219 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 220 | GCC_WARN_UNUSED_VARIABLE = YES; 221 | MACOSX_DEPLOYMENT_TARGET = 10.6; 222 | SDKROOT = macosx; 223 | }; 224 | name = Release; 225 | }; 226 | 4B7813871304BD6500D4153B /* Debug */ = { 227 | isa = XCBuildConfiguration; 228 | buildSettings = { 229 | ALWAYS_SEARCH_USER_PATHS = NO; 230 | COPY_PHASE_STRIP = NO; 231 | GCC_DYNAMIC_NO_PIC = NO; 232 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 233 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 234 | GCC_PREFIX_HEADER = "Finder-Prefix.pch"; 235 | INFOPLIST_FILE = "Finder-Info.plist"; 236 | INSTALL_PATH = "$(HOME)/Library/Bundles"; 237 | PRODUCT_NAME = "$(TARGET_NAME)"; 238 | SKIP_INSTALL = YES; 239 | WRAPPER_EXTENSION = raindrop; 240 | }; 241 | name = Debug; 242 | }; 243 | 4B7813881304BD6500D4153B /* Release */ = { 244 | isa = XCBuildConfiguration; 245 | buildSettings = { 246 | ALWAYS_SEARCH_USER_PATHS = NO; 247 | COPY_PHASE_STRIP = YES; 248 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 249 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 250 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 251 | GCC_PREFIX_HEADER = "Finder-Prefix.pch"; 252 | INFOPLIST_FILE = "Finder-Info.plist"; 253 | INSTALL_PATH = "$(HOME)/Library/Bundles"; 254 | PRODUCT_NAME = "$(TARGET_NAME)"; 255 | SKIP_INSTALL = YES; 256 | WRAPPER_EXTENSION = raindrop; 257 | }; 258 | name = Release; 259 | }; 260 | /* End XCBuildConfiguration section */ 261 | 262 | /* Begin XCConfigurationList section */ 263 | 4B78136E1304BD6500D4153B /* Build configuration list for PBXProject "Finder" */ = { 264 | isa = XCConfigurationList; 265 | buildConfigurations = ( 266 | 4B7813841304BD6500D4153B /* Debug */, 267 | 4B7813851304BD6500D4153B /* Release */, 268 | ); 269 | defaultConfigurationIsVisible = 0; 270 | defaultConfigurationName = Release; 271 | }; 272 | 4B7813861304BD6500D4153B /* Build configuration list for PBXNativeTarget "Finder" */ = { 273 | isa = XCConfigurationList; 274 | buildConfigurations = ( 275 | 4B7813871304BD6500D4153B /* Debug */, 276 | 4B7813881304BD6500D4153B /* Release */, 277 | ); 278 | defaultConfigurationIsVisible = 0; 279 | defaultConfigurationName = Release; 280 | }; 281 | /* End XCConfigurationList section */ 282 | }; 283 | rootObject = 4B78136B1304BD6500D4153B /* Project object */; 284 | } 285 | -------------------------------------------------------------------------------- /Safari/Safari.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 4BA182351304C2B500B82CCB /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BA182341304C2B500B82CCB /* Cocoa.framework */; }; 11 | 4BA182481304C2C000B82CCB /* CLSafariRaindrop.m in Sources */ = {isa = PBXBuildFile; fileRef = 4BA182471304C2C000B82CCB /* CLSafariRaindrop.m */; }; 12 | 4BA182541304C3E200B82CCB /* ScriptingBridge.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BA182531304C3E200B82CCB /* ScriptingBridge.framework */; }; 13 | 8C3D6C9B131AF37E00B25BDF /* Raindrop.plist in Resources */ = {isa = PBXBuildFile; fileRef = 8C3D6C98131AF37E00B25BDF /* Raindrop.plist */; }; 14 | 8C3D6CB4131AF3AB00B25BDF /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 8C3D6CB3131AF3AB00B25BDF /* InfoPlist.strings */; }; 15 | /* End PBXBuildFile section */ 16 | 17 | /* Begin PBXFileReference section */ 18 | 4BA182311304C2B500B82CCB /* Safari.raindrop */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Safari.raindrop; sourceTree = BUILT_PRODUCTS_DIR; }; 19 | 4BA182341304C2B500B82CCB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; 20 | 4BA182371304C2B500B82CCB /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; 21 | 4BA182381304C2B500B82CCB /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; 22 | 4BA182391304C2B500B82CCB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 23 | 4BA182461304C2C000B82CCB /* CLSafariRaindrop.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CLSafariRaindrop.h; sourceTree = ""; }; 24 | 4BA182471304C2C000B82CCB /* CLSafariRaindrop.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CLSafariRaindrop.m; sourceTree = ""; }; 25 | 4BA1824B1304C30F00B82CCB /* CLRaindropProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLRaindropProtocol.h; path = ../CLRaindropProtocol.h; sourceTree = ""; }; 26 | 4BA182521304C3D800B82CCB /* Safari.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Safari.h; sourceTree = ""; }; 27 | 4BA182531304C3E200B82CCB /* ScriptingBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ScriptingBridge.framework; path = System/Library/Frameworks/ScriptingBridge.framework; sourceTree = SDKROOT; }; 28 | 8C3D6C98131AF37E00B25BDF /* Raindrop.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Raindrop.plist; sourceTree = ""; }; 29 | 8C3D6C99131AF37E00B25BDF /* Safari-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Safari-Info.plist"; sourceTree = ""; }; 30 | 8C3D6C9A131AF37E00B25BDF /* Safari-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "Safari-Prefix.pch"; sourceTree = ""; }; 31 | 8C3D6CB1131AF3A900B25BDF /* English */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; 32 | /* End PBXFileReference section */ 33 | 34 | /* Begin PBXFrameworksBuildPhase section */ 35 | 4BA1822E1304C2B500B82CCB /* Frameworks */ = { 36 | isa = PBXFrameworksBuildPhase; 37 | buildActionMask = 2147483647; 38 | files = ( 39 | 4BA182541304C3E200B82CCB /* ScriptingBridge.framework in Frameworks */, 40 | 4BA182351304C2B500B82CCB /* Cocoa.framework in Frameworks */, 41 | ); 42 | runOnlyForDeploymentPostprocessing = 0; 43 | }; 44 | /* End PBXFrameworksBuildPhase section */ 45 | 46 | /* Begin PBXGroup section */ 47 | 4BA182261304C2B500B82CCB = { 48 | isa = PBXGroup; 49 | children = ( 50 | 8C3D6CB7131AF3B700B25BDF /* Classes */, 51 | 8C3D6CA5131AF38C00B25BDF /* Other Sources */, 52 | 8C3D6C94131AF36F00B25BDF /* Resources */, 53 | 4BA182331304C2B500B82CCB /* Frameworks */, 54 | 4BA182321304C2B500B82CCB /* Products */, 55 | ); 56 | sourceTree = ""; 57 | }; 58 | 4BA182321304C2B500B82CCB /* Products */ = { 59 | isa = PBXGroup; 60 | children = ( 61 | 4BA182311304C2B500B82CCB /* Safari.raindrop */, 62 | ); 63 | name = Products; 64 | sourceTree = ""; 65 | }; 66 | 4BA182331304C2B500B82CCB /* Frameworks */ = { 67 | isa = PBXGroup; 68 | children = ( 69 | 4BA182531304C3E200B82CCB /* ScriptingBridge.framework */, 70 | 4BA182341304C2B500B82CCB /* Cocoa.framework */, 71 | 4BA182361304C2B500B82CCB /* Other Frameworks */, 72 | ); 73 | name = Frameworks; 74 | sourceTree = ""; 75 | }; 76 | 4BA182361304C2B500B82CCB /* Other Frameworks */ = { 77 | isa = PBXGroup; 78 | children = ( 79 | 4BA182371304C2B500B82CCB /* AppKit.framework */, 80 | 4BA182381304C2B500B82CCB /* CoreData.framework */, 81 | 4BA182391304C2B500B82CCB /* Foundation.framework */, 82 | ); 83 | name = "Other Frameworks"; 84 | sourceTree = ""; 85 | }; 86 | 8C3D6C94131AF36F00B25BDF /* Resources */ = { 87 | isa = PBXGroup; 88 | children = ( 89 | 8C3D6CB3131AF3AB00B25BDF /* InfoPlist.strings */, 90 | 8C3D6C98131AF37E00B25BDF /* Raindrop.plist */, 91 | 8C3D6C99131AF37E00B25BDF /* Safari-Info.plist */, 92 | ); 93 | name = Resources; 94 | sourceTree = ""; 95 | }; 96 | 8C3D6CA5131AF38C00B25BDF /* Other Sources */ = { 97 | isa = PBXGroup; 98 | children = ( 99 | 8C3D6C9A131AF37E00B25BDF /* Safari-Prefix.pch */, 100 | ); 101 | name = "Other Sources"; 102 | sourceTree = ""; 103 | }; 104 | 8C3D6CB7131AF3B700B25BDF /* Classes */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | 4BA182461304C2C000B82CCB /* CLSafariRaindrop.h */, 108 | 4BA182471304C2C000B82CCB /* CLSafariRaindrop.m */, 109 | 4BA1824B1304C30F00B82CCB /* CLRaindropProtocol.h */, 110 | 4BA182521304C3D800B82CCB /* Safari.h */, 111 | ); 112 | name = Classes; 113 | sourceTree = ""; 114 | }; 115 | /* End PBXGroup section */ 116 | 117 | /* Begin PBXNativeTarget section */ 118 | 4BA182301304C2B500B82CCB /* Safari */ = { 119 | isa = PBXNativeTarget; 120 | buildConfigurationList = 4BA182431304C2B500B82CCB /* Build configuration list for PBXNativeTarget "Safari" */; 121 | buildPhases = ( 122 | 4BA1822D1304C2B500B82CCB /* Sources */, 123 | 4BA1822E1304C2B500B82CCB /* Frameworks */, 124 | 4BA1822F1304C2B500B82CCB /* Resources */, 125 | ); 126 | buildRules = ( 127 | ); 128 | dependencies = ( 129 | ); 130 | name = Safari; 131 | productName = Safari; 132 | productReference = 4BA182311304C2B500B82CCB /* Safari.raindrop */; 133 | productType = "com.apple.product-type.bundle"; 134 | }; 135 | /* End PBXNativeTarget section */ 136 | 137 | /* Begin PBXProject section */ 138 | 4BA182281304C2B500B82CCB /* Project object */ = { 139 | isa = PBXProject; 140 | attributes = { 141 | ORGANIZATIONNAME = Linebreak; 142 | }; 143 | buildConfigurationList = 4BA1822B1304C2B500B82CCB /* Build configuration list for PBXProject "Safari" */; 144 | compatibilityVersion = "Xcode 3.2"; 145 | developmentRegion = English; 146 | hasScannedForEncodings = 0; 147 | knownRegions = ( 148 | en, 149 | ); 150 | mainGroup = 4BA182261304C2B500B82CCB; 151 | productRefGroup = 4BA182321304C2B500B82CCB /* Products */; 152 | projectDirPath = ""; 153 | projectRoot = ""; 154 | targets = ( 155 | 4BA182301304C2B500B82CCB /* Safari */, 156 | ); 157 | }; 158 | /* End PBXProject section */ 159 | 160 | /* Begin PBXResourcesBuildPhase section */ 161 | 4BA1822F1304C2B500B82CCB /* Resources */ = { 162 | isa = PBXResourcesBuildPhase; 163 | buildActionMask = 2147483647; 164 | files = ( 165 | 8C3D6C9B131AF37E00B25BDF /* Raindrop.plist in Resources */, 166 | 8C3D6CB4131AF3AB00B25BDF /* InfoPlist.strings in Resources */, 167 | ); 168 | runOnlyForDeploymentPostprocessing = 0; 169 | }; 170 | /* End PBXResourcesBuildPhase section */ 171 | 172 | /* Begin PBXSourcesBuildPhase section */ 173 | 4BA1822D1304C2B500B82CCB /* Sources */ = { 174 | isa = PBXSourcesBuildPhase; 175 | buildActionMask = 2147483647; 176 | files = ( 177 | 4BA182481304C2C000B82CCB /* CLSafariRaindrop.m in Sources */, 178 | ); 179 | runOnlyForDeploymentPostprocessing = 0; 180 | }; 181 | /* End PBXSourcesBuildPhase section */ 182 | 183 | /* Begin PBXVariantGroup section */ 184 | 8C3D6CB3131AF3AB00B25BDF /* InfoPlist.strings */ = { 185 | isa = PBXVariantGroup; 186 | children = ( 187 | 8C3D6CB1131AF3A900B25BDF /* English */, 188 | ); 189 | name = InfoPlist.strings; 190 | sourceTree = ""; 191 | }; 192 | /* End PBXVariantGroup section */ 193 | 194 | /* Begin XCBuildConfiguration section */ 195 | 4BA182411304C2B500B82CCB /* Debug */ = { 196 | isa = XCBuildConfiguration; 197 | buildSettings = { 198 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 199 | GCC_C_LANGUAGE_STANDARD = gnu99; 200 | GCC_OPTIMIZATION_LEVEL = 0; 201 | GCC_PREPROCESSOR_DEFINITIONS = DEBUG; 202 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 203 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 204 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 205 | GCC_WARN_UNUSED_VARIABLE = YES; 206 | MACOSX_DEPLOYMENT_TARGET = 10.6; 207 | ONLY_ACTIVE_ARCH = YES; 208 | SDKROOT = macosx; 209 | }; 210 | name = Debug; 211 | }; 212 | 4BA182421304C2B500B82CCB /* Release */ = { 213 | isa = XCBuildConfiguration; 214 | buildSettings = { 215 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 216 | GCC_C_LANGUAGE_STANDARD = gnu99; 217 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 218 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 219 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 220 | GCC_WARN_UNUSED_VARIABLE = YES; 221 | MACOSX_DEPLOYMENT_TARGET = 10.6; 222 | SDKROOT = macosx; 223 | }; 224 | name = Release; 225 | }; 226 | 4BA182441304C2B500B82CCB /* Debug */ = { 227 | isa = XCBuildConfiguration; 228 | buildSettings = { 229 | ALWAYS_SEARCH_USER_PATHS = NO; 230 | COPY_PHASE_STRIP = NO; 231 | GCC_DYNAMIC_NO_PIC = NO; 232 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 233 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 234 | GCC_PREFIX_HEADER = "Safari-Prefix.pch"; 235 | INFOPLIST_FILE = "Safari-Info.plist"; 236 | INSTALL_PATH = "$(HOME)/Library/Bundles"; 237 | PRODUCT_NAME = "$(TARGET_NAME)"; 238 | SKIP_INSTALL = YES; 239 | WRAPPER_EXTENSION = raindrop; 240 | }; 241 | name = Debug; 242 | }; 243 | 4BA182451304C2B500B82CCB /* Release */ = { 244 | isa = XCBuildConfiguration; 245 | buildSettings = { 246 | ALWAYS_SEARCH_USER_PATHS = NO; 247 | COPY_PHASE_STRIP = YES; 248 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 249 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 250 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 251 | GCC_PREFIX_HEADER = "Safari-Prefix.pch"; 252 | INFOPLIST_FILE = "Safari-Info.plist"; 253 | INSTALL_PATH = "$(HOME)/Library/Bundles"; 254 | PRODUCT_NAME = "$(TARGET_NAME)"; 255 | SKIP_INSTALL = YES; 256 | WRAPPER_EXTENSION = raindrop; 257 | }; 258 | name = Release; 259 | }; 260 | /* End XCBuildConfiguration section */ 261 | 262 | /* Begin XCConfigurationList section */ 263 | 4BA1822B1304C2B500B82CCB /* Build configuration list for PBXProject "Safari" */ = { 264 | isa = XCConfigurationList; 265 | buildConfigurations = ( 266 | 4BA182411304C2B500B82CCB /* Debug */, 267 | 4BA182421304C2B500B82CCB /* Release */, 268 | ); 269 | defaultConfigurationIsVisible = 0; 270 | defaultConfigurationName = Release; 271 | }; 272 | 4BA182431304C2B500B82CCB /* Build configuration list for PBXNativeTarget "Safari" */ = { 273 | isa = XCConfigurationList; 274 | buildConfigurations = ( 275 | 4BA182441304C2B500B82CCB /* Debug */, 276 | 4BA182451304C2B500B82CCB /* Release */, 277 | ); 278 | defaultConfigurationIsVisible = 0; 279 | defaultConfigurationName = Release; 280 | }; 281 | /* End XCConfigurationList section */ 282 | }; 283 | rootObject = 4BA182281304C2B500B82CCB /* Project object */; 284 | } 285 | -------------------------------------------------------------------------------- /Chromium/Chromium.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 45; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 8C7EEB901311920A00C5899B /* Raindrop.plist in Resources */ = {isa = PBXBuildFile; fileRef = 8C7EEB8F1311920A00C5899B /* Raindrop.plist */; }; 11 | 8C7EEBA71311925900C5899B /* CLChromiumRaindrop.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C7EEBA61311925900C5899B /* CLChromiumRaindrop.m */; }; 12 | 8C7EEBB2131192D800C5899B /* ScriptingBridge.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8C7EEBB1131192D800C5899B /* ScriptingBridge.framework */; }; 13 | 8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C167DFE841241C02AAC07 /* InfoPlist.strings */; }; 14 | 8D5B49B4048680CD000E48DA /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */; }; 15 | /* End PBXBuildFile section */ 16 | 17 | /* Begin PBXFileReference section */ 18 | 089C1672FE841209C02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; 19 | 089C167EFE841241C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; 20 | 089C167FFE841241C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; 21 | 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; 22 | 32DBCF630370AF2F00C91783 /* Chromium_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Chromium_Prefix.pch; sourceTree = ""; }; 23 | 8C7EEB8C1311920500C5899B /* CLRaindropProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLRaindropProtocol.h; path = ../CLRaindropProtocol.h; sourceTree = SOURCE_ROOT; }; 24 | 8C7EEB8F1311920A00C5899B /* Raindrop.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Raindrop.plist; sourceTree = ""; }; 25 | 8C7EEBA51311925900C5899B /* CLChromiumRaindrop.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CLChromiumRaindrop.h; sourceTree = ""; }; 26 | 8C7EEBA61311925900C5899B /* CLChromiumRaindrop.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CLChromiumRaindrop.m; sourceTree = ""; }; 27 | 8C7EEBB0131192CC00C5899B /* Chromium.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Chromium.h; sourceTree = ""; }; 28 | 8C7EEBB1131192D800C5899B /* ScriptingBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ScriptingBridge.framework; path = System/Library/Frameworks/ScriptingBridge.framework; sourceTree = SDKROOT; }; 29 | 8D5B49B6048680CD000E48DA /* Chromium.raindrop */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Chromium.raindrop; sourceTree = BUILT_PRODUCTS_DIR; }; 30 | 8D5B49B7048680CD000E48DA /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 31 | D2F7E65807B2D6F200F64583 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = ""; }; 32 | /* End PBXFileReference section */ 33 | 34 | /* Begin PBXFrameworksBuildPhase section */ 35 | 8D5B49B3048680CD000E48DA /* Frameworks */ = { 36 | isa = PBXFrameworksBuildPhase; 37 | buildActionMask = 2147483647; 38 | files = ( 39 | 8D5B49B4048680CD000E48DA /* Cocoa.framework in Frameworks */, 40 | 8C7EEBB2131192D800C5899B /* ScriptingBridge.framework in Frameworks */, 41 | ); 42 | runOnlyForDeploymentPostprocessing = 0; 43 | }; 44 | /* End PBXFrameworksBuildPhase section */ 45 | 46 | /* Begin PBXGroup section */ 47 | 089C166AFE841209C02AAC07 /* Chromium */ = { 48 | isa = PBXGroup; 49 | children = ( 50 | 08FB77AFFE84173DC02AAC07 /* Classes */, 51 | 32C88E010371C26100C91783 /* Other Sources */, 52 | 089C167CFE841241C02AAC07 /* Resources */, 53 | 089C1671FE841209C02AAC07 /* Frameworks and Libraries */, 54 | 19C28FB8FE9D52D311CA2CBB /* Products */, 55 | ); 56 | name = Chromium; 57 | sourceTree = ""; 58 | }; 59 | 089C1671FE841209C02AAC07 /* Frameworks and Libraries */ = { 60 | isa = PBXGroup; 61 | children = ( 62 | 1058C7ACFEA557BF11CA2CBB /* Linked Frameworks */, 63 | 1058C7AEFEA557BF11CA2CBB /* Other Frameworks */, 64 | 8C7EEBB1131192D800C5899B /* ScriptingBridge.framework */, 65 | ); 66 | name = "Frameworks and Libraries"; 67 | sourceTree = ""; 68 | }; 69 | 089C167CFE841241C02AAC07 /* Resources */ = { 70 | isa = PBXGroup; 71 | children = ( 72 | 8C7EEB8F1311920A00C5899B /* Raindrop.plist */, 73 | 8D5B49B7048680CD000E48DA /* Info.plist */, 74 | 089C167DFE841241C02AAC07 /* InfoPlist.strings */, 75 | ); 76 | name = Resources; 77 | sourceTree = ""; 78 | }; 79 | 08FB77AFFE84173DC02AAC07 /* Classes */ = { 80 | isa = PBXGroup; 81 | children = ( 82 | 8C7EEBB0131192CC00C5899B /* Chromium.h */, 83 | 8C7EEB8C1311920500C5899B /* CLRaindropProtocol.h */, 84 | 8C7EEBA51311925900C5899B /* CLChromiumRaindrop.h */, 85 | 8C7EEBA61311925900C5899B /* CLChromiumRaindrop.m */, 86 | ); 87 | name = Classes; 88 | sourceTree = ""; 89 | }; 90 | 1058C7ACFEA557BF11CA2CBB /* Linked Frameworks */ = { 91 | isa = PBXGroup; 92 | children = ( 93 | 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */, 94 | ); 95 | name = "Linked Frameworks"; 96 | sourceTree = ""; 97 | }; 98 | 1058C7AEFEA557BF11CA2CBB /* Other Frameworks */ = { 99 | isa = PBXGroup; 100 | children = ( 101 | 089C167FFE841241C02AAC07 /* AppKit.framework */, 102 | D2F7E65807B2D6F200F64583 /* CoreData.framework */, 103 | 089C1672FE841209C02AAC07 /* Foundation.framework */, 104 | ); 105 | name = "Other Frameworks"; 106 | sourceTree = ""; 107 | }; 108 | 19C28FB8FE9D52D311CA2CBB /* Products */ = { 109 | isa = PBXGroup; 110 | children = ( 111 | 8D5B49B6048680CD000E48DA /* Chromium.raindrop */, 112 | ); 113 | name = Products; 114 | sourceTree = ""; 115 | }; 116 | 32C88E010371C26100C91783 /* Other Sources */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | 32DBCF630370AF2F00C91783 /* Chromium_Prefix.pch */, 120 | ); 121 | name = "Other Sources"; 122 | sourceTree = ""; 123 | }; 124 | /* End PBXGroup section */ 125 | 126 | /* Begin PBXNativeTarget section */ 127 | 8D5B49AC048680CD000E48DA /* Chromium */ = { 128 | isa = PBXNativeTarget; 129 | buildConfigurationList = 1DEB913A08733D840010E9CD /* Build configuration list for PBXNativeTarget "Chromium" */; 130 | buildPhases = ( 131 | 8D5B49AF048680CD000E48DA /* Resources */, 132 | 8D5B49B1048680CD000E48DA /* Sources */, 133 | 8D5B49B3048680CD000E48DA /* Frameworks */, 134 | ); 135 | buildRules = ( 136 | ); 137 | dependencies = ( 138 | ); 139 | name = Chromium; 140 | productInstallPath = "$(HOME)/Library/Bundles"; 141 | productName = Chromium; 142 | productReference = 8D5B49B6048680CD000E48DA /* Chromium.raindrop */; 143 | productType = "com.apple.product-type.bundle"; 144 | }; 145 | /* End PBXNativeTarget section */ 146 | 147 | /* Begin PBXProject section */ 148 | 089C1669FE841209C02AAC07 /* Project object */ = { 149 | isa = PBXProject; 150 | buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "Chromium" */; 151 | compatibilityVersion = "Xcode 3.1"; 152 | developmentRegion = English; 153 | hasScannedForEncodings = 1; 154 | knownRegions = ( 155 | English, 156 | Japanese, 157 | French, 158 | German, 159 | ); 160 | mainGroup = 089C166AFE841209C02AAC07 /* Chromium */; 161 | projectDirPath = ""; 162 | projectRoot = ""; 163 | targets = ( 164 | 8D5B49AC048680CD000E48DA /* Chromium */, 165 | ); 166 | }; 167 | /* End PBXProject section */ 168 | 169 | /* Begin PBXResourcesBuildPhase section */ 170 | 8D5B49AF048680CD000E48DA /* Resources */ = { 171 | isa = PBXResourcesBuildPhase; 172 | buildActionMask = 2147483647; 173 | files = ( 174 | 8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */, 175 | 8C7EEB901311920A00C5899B /* Raindrop.plist in Resources */, 176 | ); 177 | runOnlyForDeploymentPostprocessing = 0; 178 | }; 179 | /* End PBXResourcesBuildPhase section */ 180 | 181 | /* Begin PBXSourcesBuildPhase section */ 182 | 8D5B49B1048680CD000E48DA /* Sources */ = { 183 | isa = PBXSourcesBuildPhase; 184 | buildActionMask = 2147483647; 185 | files = ( 186 | 8C7EEBA71311925900C5899B /* CLChromiumRaindrop.m in Sources */, 187 | ); 188 | runOnlyForDeploymentPostprocessing = 0; 189 | }; 190 | /* End PBXSourcesBuildPhase section */ 191 | 192 | /* Begin PBXVariantGroup section */ 193 | 089C167DFE841241C02AAC07 /* InfoPlist.strings */ = { 194 | isa = PBXVariantGroup; 195 | children = ( 196 | 089C167EFE841241C02AAC07 /* English */, 197 | ); 198 | name = InfoPlist.strings; 199 | sourceTree = ""; 200 | }; 201 | /* End PBXVariantGroup section */ 202 | 203 | /* Begin XCBuildConfiguration section */ 204 | 1DEB913B08733D840010E9CD /* Debug */ = { 205 | isa = XCBuildConfiguration; 206 | buildSettings = { 207 | ALWAYS_SEARCH_USER_PATHS = NO; 208 | COPY_PHASE_STRIP = NO; 209 | GCC_DYNAMIC_NO_PIC = NO; 210 | GCC_ENABLE_FIX_AND_CONTINUE = YES; 211 | GCC_MODEL_TUNING = G5; 212 | GCC_OPTIMIZATION_LEVEL = 0; 213 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 214 | GCC_PREFIX_HEADER = Chromium_Prefix.pch; 215 | INFOPLIST_FILE = Info.plist; 216 | INSTALL_PATH = "$(HOME)/Library/Bundles"; 217 | PRODUCT_NAME = Chromium; 218 | SKIP_INSTALL = YES; 219 | WRAPPER_EXTENSION = raindrop; 220 | }; 221 | name = Debug; 222 | }; 223 | 1DEB913C08733D840010E9CD /* Release */ = { 224 | isa = XCBuildConfiguration; 225 | buildSettings = { 226 | ALWAYS_SEARCH_USER_PATHS = NO; 227 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 228 | GCC_MODEL_TUNING = G5; 229 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 230 | GCC_PREFIX_HEADER = Chromium_Prefix.pch; 231 | INFOPLIST_FILE = Info.plist; 232 | INSTALL_PATH = "$(HOME)/Library/Bundles"; 233 | PRODUCT_NAME = Chromium; 234 | SKIP_INSTALL = YES; 235 | WRAPPER_EXTENSION = raindrop; 236 | }; 237 | name = Release; 238 | }; 239 | 1DEB913F08733D840010E9CD /* Debug */ = { 240 | isa = XCBuildConfiguration; 241 | buildSettings = { 242 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 243 | GCC_C_LANGUAGE_STANDARD = gnu99; 244 | GCC_OPTIMIZATION_LEVEL = 0; 245 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 246 | GCC_WARN_UNUSED_VARIABLE = YES; 247 | ONLY_ACTIVE_ARCH = YES; 248 | PREBINDING = NO; 249 | SDKROOT = macosx10.6; 250 | }; 251 | name = Debug; 252 | }; 253 | 1DEB914008733D840010E9CD /* Release */ = { 254 | isa = XCBuildConfiguration; 255 | buildSettings = { 256 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 257 | GCC_C_LANGUAGE_STANDARD = gnu99; 258 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 259 | GCC_WARN_UNUSED_VARIABLE = YES; 260 | PREBINDING = NO; 261 | SDKROOT = macosx10.6; 262 | }; 263 | name = Release; 264 | }; 265 | /* End XCBuildConfiguration section */ 266 | 267 | /* Begin XCConfigurationList section */ 268 | 1DEB913A08733D840010E9CD /* Build configuration list for PBXNativeTarget "Chromium" */ = { 269 | isa = XCConfigurationList; 270 | buildConfigurations = ( 271 | 1DEB913B08733D840010E9CD /* Debug */, 272 | 1DEB913C08733D840010E9CD /* Release */, 273 | ); 274 | defaultConfigurationIsVisible = 0; 275 | defaultConfigurationName = Release; 276 | }; 277 | 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "Chromium" */ = { 278 | isa = XCConfigurationList; 279 | buildConfigurations = ( 280 | 1DEB913F08733D840010E9CD /* Debug */, 281 | 1DEB914008733D840010E9CD /* Release */, 282 | ); 283 | defaultConfigurationIsVisible = 0; 284 | defaultConfigurationName = Release; 285 | }; 286 | /* End XCConfigurationList section */ 287 | }; 288 | rootObject = 089C1669FE841209C02AAC07 /* Project object */; 289 | } 290 | -------------------------------------------------------------------------------- /iPhoto/iPhoto.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 45; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 8C0334E21311266F00155FD7 /* CLPhotoRaindrop.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C0334E11311266F00155FD7 /* CLPhotoRaindrop.m */; }; 11 | 8C0335161311279300155FD7 /* ScriptingBridge.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8C0335151311279300155FD7 /* ScriptingBridge.framework */; }; 12 | 8C033523131127EB00155FD7 /* Raindrop.plist in Resources */ = {isa = PBXBuildFile; fileRef = 8C033522131127EB00155FD7 /* Raindrop.plist */; }; 13 | 8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C167DFE841241C02AAC07 /* InfoPlist.strings */; }; 14 | 8D5B49B4048680CD000E48DA /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */; }; 15 | /* End PBXBuildFile section */ 16 | 17 | /* Begin PBXFileReference section */ 18 | 089C1672FE841209C02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; 19 | 089C167EFE841241C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; 20 | 089C167FFE841241C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; 21 | 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; 22 | 32DBCF630370AF2F00C91783 /* iPhoto_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = iPhoto_Prefix.pch; sourceTree = ""; }; 23 | 8C0334E01311266F00155FD7 /* CLPhotoRaindrop.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CLPhotoRaindrop.h; sourceTree = ""; }; 24 | 8C0334E11311266F00155FD7 /* CLPhotoRaindrop.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CLPhotoRaindrop.m; sourceTree = ""; }; 25 | 8C033506131126A500155FD7 /* CLRaindropProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLRaindropProtocol.h; path = ../CLRaindropProtocol.h; sourceTree = SOURCE_ROOT; }; 26 | 8C0335151311279300155FD7 /* ScriptingBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ScriptingBridge.framework; path = System/Library/Frameworks/ScriptingBridge.framework; sourceTree = SDKROOT; }; 27 | 8C033522131127EB00155FD7 /* Raindrop.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Raindrop.plist; sourceTree = ""; }; 28 | 8CB0D7F2134E5ABD0053EF72 /* iPhoto.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = iPhoto.h; sourceTree = ""; }; 29 | 8D5B49B6048680CD000E48DA /* iPhoto.raindrop */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = iPhoto.raindrop; sourceTree = BUILT_PRODUCTS_DIR; }; 30 | 8D5B49B7048680CD000E48DA /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 31 | D2F7E65807B2D6F200F64583 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = ""; }; 32 | /* End PBXFileReference section */ 33 | 34 | /* Begin PBXFrameworksBuildPhase section */ 35 | 8D5B49B3048680CD000E48DA /* Frameworks */ = { 36 | isa = PBXFrameworksBuildPhase; 37 | buildActionMask = 2147483647; 38 | files = ( 39 | 8D5B49B4048680CD000E48DA /* Cocoa.framework in Frameworks */, 40 | 8C0335161311279300155FD7 /* ScriptingBridge.framework in Frameworks */, 41 | ); 42 | runOnlyForDeploymentPostprocessing = 0; 43 | }; 44 | /* End PBXFrameworksBuildPhase section */ 45 | 46 | /* Begin PBXGroup section */ 47 | 089C166AFE841209C02AAC07 /* iTunes */ = { 48 | isa = PBXGroup; 49 | children = ( 50 | 08FB77AFFE84173DC02AAC07 /* Classes */, 51 | 32C88E010371C26100C91783 /* Other Sources */, 52 | 089C167CFE841241C02AAC07 /* Resources */, 53 | 089C1671FE841209C02AAC07 /* Frameworks and Libraries */, 54 | 19C28FB8FE9D52D311CA2CBB /* Products */, 55 | ); 56 | name = iTunes; 57 | sourceTree = ""; 58 | }; 59 | 089C1671FE841209C02AAC07 /* Frameworks and Libraries */ = { 60 | isa = PBXGroup; 61 | children = ( 62 | 1058C7ACFEA557BF11CA2CBB /* Linked Frameworks */, 63 | 1058C7AEFEA557BF11CA2CBB /* Other Frameworks */, 64 | ); 65 | name = "Frameworks and Libraries"; 66 | sourceTree = ""; 67 | }; 68 | 089C167CFE841241C02AAC07 /* Resources */ = { 69 | isa = PBXGroup; 70 | children = ( 71 | 8C033522131127EB00155FD7 /* Raindrop.plist */, 72 | 8D5B49B7048680CD000E48DA /* Info.plist */, 73 | 089C167DFE841241C02AAC07 /* InfoPlist.strings */, 74 | ); 75 | name = Resources; 76 | sourceTree = ""; 77 | }; 78 | 08FB77AFFE84173DC02AAC07 /* Classes */ = { 79 | isa = PBXGroup; 80 | children = ( 81 | 8C033506131126A500155FD7 /* CLRaindropProtocol.h */, 82 | 8C0334E01311266F00155FD7 /* CLPhotoRaindrop.h */, 83 | 8C0334E11311266F00155FD7 /* CLPhotoRaindrop.m */, 84 | 8CB0D7F2134E5ABD0053EF72 /* iPhoto.h */, 85 | ); 86 | name = Classes; 87 | sourceTree = ""; 88 | }; 89 | 1058C7ACFEA557BF11CA2CBB /* Linked Frameworks */ = { 90 | isa = PBXGroup; 91 | children = ( 92 | 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */, 93 | 8C0335151311279300155FD7 /* ScriptingBridge.framework */, 94 | ); 95 | name = "Linked Frameworks"; 96 | sourceTree = ""; 97 | }; 98 | 1058C7AEFEA557BF11CA2CBB /* Other Frameworks */ = { 99 | isa = PBXGroup; 100 | children = ( 101 | 089C167FFE841241C02AAC07 /* AppKit.framework */, 102 | D2F7E65807B2D6F200F64583 /* CoreData.framework */, 103 | 089C1672FE841209C02AAC07 /* Foundation.framework */, 104 | ); 105 | name = "Other Frameworks"; 106 | sourceTree = ""; 107 | }; 108 | 19C28FB8FE9D52D311CA2CBB /* Products */ = { 109 | isa = PBXGroup; 110 | children = ( 111 | 8D5B49B6048680CD000E48DA /* iPhoto.raindrop */, 112 | ); 113 | name = Products; 114 | sourceTree = ""; 115 | }; 116 | 32C88E010371C26100C91783 /* Other Sources */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | 32DBCF630370AF2F00C91783 /* iPhoto_Prefix.pch */, 120 | ); 121 | name = "Other Sources"; 122 | sourceTree = ""; 123 | }; 124 | /* End PBXGroup section */ 125 | 126 | /* Begin PBXNativeTarget section */ 127 | 8D5B49AC048680CD000E48DA /* iPhoto */ = { 128 | isa = PBXNativeTarget; 129 | buildConfigurationList = 1DEB913A08733D840010E9CD /* Build configuration list for PBXNativeTarget "iPhoto" */; 130 | buildPhases = ( 131 | 8D5B49AF048680CD000E48DA /* Resources */, 132 | 8D5B49B1048680CD000E48DA /* Sources */, 133 | 8D5B49B3048680CD000E48DA /* Frameworks */, 134 | ); 135 | buildRules = ( 136 | ); 137 | dependencies = ( 138 | ); 139 | name = iPhoto; 140 | productInstallPath = "$(HOME)/Library/Bundles"; 141 | productName = iTunes; 142 | productReference = 8D5B49B6048680CD000E48DA /* iPhoto.raindrop */; 143 | productType = "com.apple.product-type.bundle"; 144 | }; 145 | /* End PBXNativeTarget section */ 146 | 147 | /* Begin PBXProject section */ 148 | 089C1669FE841209C02AAC07 /* Project object */ = { 149 | isa = PBXProject; 150 | buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "iPhoto" */; 151 | compatibilityVersion = "Xcode 3.1"; 152 | developmentRegion = English; 153 | hasScannedForEncodings = 1; 154 | knownRegions = ( 155 | English, 156 | Japanese, 157 | French, 158 | German, 159 | ); 160 | mainGroup = 089C166AFE841209C02AAC07 /* iTunes */; 161 | projectDirPath = ""; 162 | projectRoot = ""; 163 | targets = ( 164 | 8D5B49AC048680CD000E48DA /* iPhoto */, 165 | ); 166 | }; 167 | /* End PBXProject section */ 168 | 169 | /* Begin PBXResourcesBuildPhase section */ 170 | 8D5B49AF048680CD000E48DA /* Resources */ = { 171 | isa = PBXResourcesBuildPhase; 172 | buildActionMask = 2147483647; 173 | files = ( 174 | 8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */, 175 | 8C033523131127EB00155FD7 /* Raindrop.plist in Resources */, 176 | ); 177 | runOnlyForDeploymentPostprocessing = 0; 178 | }; 179 | /* End PBXResourcesBuildPhase section */ 180 | 181 | /* Begin PBXSourcesBuildPhase section */ 182 | 8D5B49B1048680CD000E48DA /* Sources */ = { 183 | isa = PBXSourcesBuildPhase; 184 | buildActionMask = 2147483647; 185 | files = ( 186 | 8C0334E21311266F00155FD7 /* CLPhotoRaindrop.m in Sources */, 187 | ); 188 | runOnlyForDeploymentPostprocessing = 0; 189 | }; 190 | /* End PBXSourcesBuildPhase section */ 191 | 192 | /* Begin PBXVariantGroup section */ 193 | 089C167DFE841241C02AAC07 /* InfoPlist.strings */ = { 194 | isa = PBXVariantGroup; 195 | children = ( 196 | 089C167EFE841241C02AAC07 /* English */, 197 | ); 198 | name = InfoPlist.strings; 199 | sourceTree = ""; 200 | }; 201 | /* End PBXVariantGroup section */ 202 | 203 | /* Begin XCBuildConfiguration section */ 204 | 1DEB913B08733D840010E9CD /* Debug */ = { 205 | isa = XCBuildConfiguration; 206 | buildSettings = { 207 | ALWAYS_SEARCH_USER_PATHS = NO; 208 | COPY_PHASE_STRIP = NO; 209 | GCC_DYNAMIC_NO_PIC = NO; 210 | GCC_ENABLE_FIX_AND_CONTINUE = YES; 211 | GCC_MODEL_TUNING = G5; 212 | GCC_OPTIMIZATION_LEVEL = 0; 213 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 214 | GCC_PREFIX_HEADER = iPhoto_Prefix.pch; 215 | INFOPLIST_FILE = Info.plist; 216 | INSTALL_PATH = "$(HOME)/Library/Bundles"; 217 | PRODUCT_NAME = iPhoto; 218 | SKIP_INSTALL = YES; 219 | WRAPPER_EXTENSION = raindrop; 220 | }; 221 | name = Debug; 222 | }; 223 | 1DEB913C08733D840010E9CD /* Release */ = { 224 | isa = XCBuildConfiguration; 225 | buildSettings = { 226 | ALWAYS_SEARCH_USER_PATHS = NO; 227 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 228 | GCC_MODEL_TUNING = G5; 229 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 230 | GCC_PREFIX_HEADER = iPhoto_Prefix.pch; 231 | INFOPLIST_FILE = Info.plist; 232 | INSTALL_PATH = "$(HOME)/Library/Bundles"; 233 | PRODUCT_NAME = iPhoto; 234 | SKIP_INSTALL = YES; 235 | WRAPPER_EXTENSION = raindrop; 236 | }; 237 | name = Release; 238 | }; 239 | 1DEB913F08733D840010E9CD /* Debug */ = { 240 | isa = XCBuildConfiguration; 241 | buildSettings = { 242 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 243 | GCC_C_LANGUAGE_STANDARD = gnu99; 244 | GCC_OPTIMIZATION_LEVEL = 0; 245 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 246 | GCC_WARN_UNUSED_VARIABLE = YES; 247 | MACOSX_DEPLOYMENT_TARGET = 10.6; 248 | ONLY_ACTIVE_ARCH = YES; 249 | PREBINDING = NO; 250 | SDKROOT = macosx; 251 | }; 252 | name = Debug; 253 | }; 254 | 1DEB914008733D840010E9CD /* Release */ = { 255 | isa = XCBuildConfiguration; 256 | buildSettings = { 257 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 258 | GCC_C_LANGUAGE_STANDARD = gnu99; 259 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 260 | GCC_WARN_UNUSED_VARIABLE = YES; 261 | MACOSX_DEPLOYMENT_TARGET = 10.6; 262 | PREBINDING = NO; 263 | SDKROOT = macosx; 264 | }; 265 | name = Release; 266 | }; 267 | /* End XCBuildConfiguration section */ 268 | 269 | /* Begin XCConfigurationList section */ 270 | 1DEB913A08733D840010E9CD /* Build configuration list for PBXNativeTarget "iPhoto" */ = { 271 | isa = XCConfigurationList; 272 | buildConfigurations = ( 273 | 1DEB913B08733D840010E9CD /* Debug */, 274 | 1DEB913C08733D840010E9CD /* Release */, 275 | ); 276 | defaultConfigurationIsVisible = 0; 277 | defaultConfigurationName = Release; 278 | }; 279 | 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "iPhoto" */ = { 280 | isa = XCConfigurationList; 281 | buildConfigurations = ( 282 | 1DEB913F08733D840010E9CD /* Debug */, 283 | 1DEB914008733D840010E9CD /* Release */, 284 | ); 285 | defaultConfigurationIsVisible = 0; 286 | defaultConfigurationName = Release; 287 | }; 288 | /* End XCConfigurationList section */ 289 | }; 290 | rootObject = 089C1669FE841209C02AAC07 /* Project object */; 291 | } 292 | -------------------------------------------------------------------------------- /iTunes/iTunes.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 45; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 8C0334E21311266F00155FD7 /* CLTunesRaindrop.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C0334E11311266F00155FD7 /* CLTunesRaindrop.m */; }; 11 | 8C0335161311279300155FD7 /* ScriptingBridge.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8C0335151311279300155FD7 /* ScriptingBridge.framework */; }; 12 | 8C033523131127EB00155FD7 /* Raindrop.plist in Resources */ = {isa = PBXBuildFile; fileRef = 8C033522131127EB00155FD7 /* Raindrop.plist */; }; 13 | 8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C167DFE841241C02AAC07 /* InfoPlist.strings */; }; 14 | 8D5B49B4048680CD000E48DA /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */; }; 15 | /* End PBXBuildFile section */ 16 | 17 | /* Begin PBXFileReference section */ 18 | 089C1672FE841209C02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; 19 | 089C167EFE841241C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; 20 | 089C167FFE841241C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; 21 | 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; 22 | 32DBCF630370AF2F00C91783 /* iTunes_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = iTunes_Prefix.pch; sourceTree = ""; }; 23 | 8C0334D81311265100155FD7 /* iTunes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = iTunes.h; sourceTree = ""; }; 24 | 8C0334E01311266F00155FD7 /* CLTunesRaindrop.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CLTunesRaindrop.h; sourceTree = ""; }; 25 | 8C0334E11311266F00155FD7 /* CLTunesRaindrop.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CLTunesRaindrop.m; sourceTree = ""; }; 26 | 8C033506131126A500155FD7 /* CLRaindropProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLRaindropProtocol.h; path = ../CLRaindropProtocol.h; sourceTree = SOURCE_ROOT; }; 27 | 8C0335151311279300155FD7 /* ScriptingBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ScriptingBridge.framework; path = System/Library/Frameworks/ScriptingBridge.framework; sourceTree = SDKROOT; }; 28 | 8C033522131127EB00155FD7 /* Raindrop.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Raindrop.plist; sourceTree = ""; }; 29 | 8D5B49B6048680CD000E48DA /* iTunes.raindrop */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = iTunes.raindrop; sourceTree = BUILT_PRODUCTS_DIR; }; 30 | 8D5B49B7048680CD000E48DA /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 31 | D2F7E65807B2D6F200F64583 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = ""; }; 32 | /* End PBXFileReference section */ 33 | 34 | /* Begin PBXFrameworksBuildPhase section */ 35 | 8D5B49B3048680CD000E48DA /* Frameworks */ = { 36 | isa = PBXFrameworksBuildPhase; 37 | buildActionMask = 2147483647; 38 | files = ( 39 | 8D5B49B4048680CD000E48DA /* Cocoa.framework in Frameworks */, 40 | 8C0335161311279300155FD7 /* ScriptingBridge.framework in Frameworks */, 41 | ); 42 | runOnlyForDeploymentPostprocessing = 0; 43 | }; 44 | /* End PBXFrameworksBuildPhase section */ 45 | 46 | /* Begin PBXGroup section */ 47 | 089C166AFE841209C02AAC07 /* iTunes */ = { 48 | isa = PBXGroup; 49 | children = ( 50 | 08FB77AFFE84173DC02AAC07 /* Classes */, 51 | 32C88E010371C26100C91783 /* Other Sources */, 52 | 089C167CFE841241C02AAC07 /* Resources */, 53 | 089C1671FE841209C02AAC07 /* Frameworks and Libraries */, 54 | 19C28FB8FE9D52D311CA2CBB /* Products */, 55 | ); 56 | name = iTunes; 57 | sourceTree = ""; 58 | }; 59 | 089C1671FE841209C02AAC07 /* Frameworks and Libraries */ = { 60 | isa = PBXGroup; 61 | children = ( 62 | 1058C7ACFEA557BF11CA2CBB /* Linked Frameworks */, 63 | 1058C7AEFEA557BF11CA2CBB /* Other Frameworks */, 64 | ); 65 | name = "Frameworks and Libraries"; 66 | sourceTree = ""; 67 | }; 68 | 089C167CFE841241C02AAC07 /* Resources */ = { 69 | isa = PBXGroup; 70 | children = ( 71 | 8C033522131127EB00155FD7 /* Raindrop.plist */, 72 | 8D5B49B7048680CD000E48DA /* Info.plist */, 73 | 089C167DFE841241C02AAC07 /* InfoPlist.strings */, 74 | ); 75 | name = Resources; 76 | sourceTree = ""; 77 | }; 78 | 08FB77AFFE84173DC02AAC07 /* Classes */ = { 79 | isa = PBXGroup; 80 | children = ( 81 | 8C033506131126A500155FD7 /* CLRaindropProtocol.h */, 82 | 8C0334D81311265100155FD7 /* iTunes.h */, 83 | 8C0334E01311266F00155FD7 /* CLTunesRaindrop.h */, 84 | 8C0334E11311266F00155FD7 /* CLTunesRaindrop.m */, 85 | ); 86 | name = Classes; 87 | sourceTree = ""; 88 | }; 89 | 1058C7ACFEA557BF11CA2CBB /* Linked Frameworks */ = { 90 | isa = PBXGroup; 91 | children = ( 92 | 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */, 93 | 8C0335151311279300155FD7 /* ScriptingBridge.framework */, 94 | ); 95 | name = "Linked Frameworks"; 96 | sourceTree = ""; 97 | }; 98 | 1058C7AEFEA557BF11CA2CBB /* Other Frameworks */ = { 99 | isa = PBXGroup; 100 | children = ( 101 | 089C167FFE841241C02AAC07 /* AppKit.framework */, 102 | D2F7E65807B2D6F200F64583 /* CoreData.framework */, 103 | 089C1672FE841209C02AAC07 /* Foundation.framework */, 104 | ); 105 | name = "Other Frameworks"; 106 | sourceTree = ""; 107 | }; 108 | 19C28FB8FE9D52D311CA2CBB /* Products */ = { 109 | isa = PBXGroup; 110 | children = ( 111 | 8D5B49B6048680CD000E48DA /* iTunes.raindrop */, 112 | ); 113 | name = Products; 114 | sourceTree = ""; 115 | }; 116 | 32C88E010371C26100C91783 /* Other Sources */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | 32DBCF630370AF2F00C91783 /* iTunes_Prefix.pch */, 120 | ); 121 | name = "Other Sources"; 122 | sourceTree = ""; 123 | }; 124 | /* End PBXGroup section */ 125 | 126 | /* Begin PBXNativeTarget section */ 127 | 8D5B49AC048680CD000E48DA /* iTunes */ = { 128 | isa = PBXNativeTarget; 129 | buildConfigurationList = 1DEB913A08733D840010E9CD /* Build configuration list for PBXNativeTarget "iTunes" */; 130 | buildPhases = ( 131 | 8D5B49AF048680CD000E48DA /* Resources */, 132 | 8D5B49B1048680CD000E48DA /* Sources */, 133 | 8D5B49B3048680CD000E48DA /* Frameworks */, 134 | ); 135 | buildRules = ( 136 | ); 137 | dependencies = ( 138 | ); 139 | name = iTunes; 140 | productInstallPath = "$(HOME)/Library/Bundles"; 141 | productName = iTunes; 142 | productReference = 8D5B49B6048680CD000E48DA /* iTunes.raindrop */; 143 | productType = "com.apple.product-type.bundle"; 144 | }; 145 | /* End PBXNativeTarget section */ 146 | 147 | /* Begin PBXProject section */ 148 | 089C1669FE841209C02AAC07 /* Project object */ = { 149 | isa = PBXProject; 150 | buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "iTunes" */; 151 | compatibilityVersion = "Xcode 3.1"; 152 | developmentRegion = English; 153 | hasScannedForEncodings = 1; 154 | knownRegions = ( 155 | English, 156 | Japanese, 157 | French, 158 | German, 159 | ); 160 | mainGroup = 089C166AFE841209C02AAC07 /* iTunes */; 161 | projectDirPath = ""; 162 | projectRoot = ""; 163 | targets = ( 164 | 8D5B49AC048680CD000E48DA /* iTunes */, 165 | ); 166 | }; 167 | /* End PBXProject section */ 168 | 169 | /* Begin PBXResourcesBuildPhase section */ 170 | 8D5B49AF048680CD000E48DA /* Resources */ = { 171 | isa = PBXResourcesBuildPhase; 172 | buildActionMask = 2147483647; 173 | files = ( 174 | 8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */, 175 | 8C033523131127EB00155FD7 /* Raindrop.plist in Resources */, 176 | ); 177 | runOnlyForDeploymentPostprocessing = 0; 178 | }; 179 | /* End PBXResourcesBuildPhase section */ 180 | 181 | /* Begin PBXSourcesBuildPhase section */ 182 | 8D5B49B1048680CD000E48DA /* Sources */ = { 183 | isa = PBXSourcesBuildPhase; 184 | buildActionMask = 2147483647; 185 | files = ( 186 | 8C0334E21311266F00155FD7 /* CLTunesRaindrop.m in Sources */, 187 | ); 188 | runOnlyForDeploymentPostprocessing = 0; 189 | }; 190 | /* End PBXSourcesBuildPhase section */ 191 | 192 | /* Begin PBXVariantGroup section */ 193 | 089C167DFE841241C02AAC07 /* InfoPlist.strings */ = { 194 | isa = PBXVariantGroup; 195 | children = ( 196 | 089C167EFE841241C02AAC07 /* English */, 197 | ); 198 | name = InfoPlist.strings; 199 | sourceTree = ""; 200 | }; 201 | /* End PBXVariantGroup section */ 202 | 203 | /* Begin XCBuildConfiguration section */ 204 | 1DEB913B08733D840010E9CD /* Debug */ = { 205 | isa = XCBuildConfiguration; 206 | buildSettings = { 207 | ALWAYS_SEARCH_USER_PATHS = NO; 208 | COPY_PHASE_STRIP = NO; 209 | GCC_DYNAMIC_NO_PIC = NO; 210 | GCC_ENABLE_FIX_AND_CONTINUE = YES; 211 | GCC_MODEL_TUNING = G5; 212 | GCC_OPTIMIZATION_LEVEL = 0; 213 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 214 | GCC_PREFIX_HEADER = iTunes_Prefix.pch; 215 | INFOPLIST_FILE = Info.plist; 216 | INSTALL_PATH = "$(HOME)/Library/Bundles"; 217 | PRODUCT_NAME = iTunes; 218 | SKIP_INSTALL = YES; 219 | WRAPPER_EXTENSION = raindrop; 220 | }; 221 | name = Debug; 222 | }; 223 | 1DEB913C08733D840010E9CD /* Release */ = { 224 | isa = XCBuildConfiguration; 225 | buildSettings = { 226 | ALWAYS_SEARCH_USER_PATHS = NO; 227 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 228 | GCC_MODEL_TUNING = G5; 229 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 230 | GCC_PREFIX_HEADER = iTunes_Prefix.pch; 231 | INFOPLIST_FILE = Info.plist; 232 | INSTALL_PATH = "$(HOME)/Library/Bundles"; 233 | PRODUCT_NAME = iTunes; 234 | SKIP_INSTALL = YES; 235 | WRAPPER_EXTENSION = raindrop; 236 | }; 237 | name = Release; 238 | }; 239 | 1DEB913F08733D840010E9CD /* Debug */ = { 240 | isa = XCBuildConfiguration; 241 | buildSettings = { 242 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 243 | GCC_C_LANGUAGE_STANDARD = gnu99; 244 | GCC_OPTIMIZATION_LEVEL = 0; 245 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 246 | GCC_WARN_UNUSED_VARIABLE = YES; 247 | MACOSX_DEPLOYMENT_TARGET = 10.6; 248 | ONLY_ACTIVE_ARCH = YES; 249 | PREBINDING = NO; 250 | SDKROOT = macosx; 251 | }; 252 | name = Debug; 253 | }; 254 | 1DEB914008733D840010E9CD /* Release */ = { 255 | isa = XCBuildConfiguration; 256 | buildSettings = { 257 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 258 | GCC_C_LANGUAGE_STANDARD = gnu99; 259 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 260 | GCC_WARN_UNUSED_VARIABLE = YES; 261 | MACOSX_DEPLOYMENT_TARGET = 10.6; 262 | PREBINDING = NO; 263 | SDKROOT = macosx; 264 | }; 265 | name = Release; 266 | }; 267 | /* End XCBuildConfiguration section */ 268 | 269 | /* Begin XCConfigurationList section */ 270 | 1DEB913A08733D840010E9CD /* Build configuration list for PBXNativeTarget "iTunes" */ = { 271 | isa = XCConfigurationList; 272 | buildConfigurations = ( 273 | 1DEB913B08733D840010E9CD /* Debug */, 274 | 1DEB913C08733D840010E9CD /* Release */, 275 | ); 276 | defaultConfigurationIsVisible = 0; 277 | defaultConfigurationName = Release; 278 | }; 279 | 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "iTunes" */ = { 280 | isa = XCConfigurationList; 281 | buildConfigurations = ( 282 | 1DEB913F08733D840010E9CD /* Debug */, 283 | 1DEB914008733D840010E9CD /* Release */, 284 | ); 285 | defaultConfigurationIsVisible = 0; 286 | defaultConfigurationName = Release; 287 | }; 288 | /* End XCConfigurationList section */ 289 | }; 290 | rootObject = 089C1669FE841209C02AAC07 /* Project object */; 291 | } 292 | -------------------------------------------------------------------------------- /Chrome/Chrome.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 45; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 8C7EEB901311920A00C5899B /* Raindrop.plist in Resources */ = {isa = PBXBuildFile; fileRef = 8C7EEB8F1311920A00C5899B /* Raindrop.plist */; }; 11 | 8C7EEBA71311925900C5899B /* CLChromeRaindrop.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C7EEBA61311925900C5899B /* CLChromeRaindrop.m */; }; 12 | 8C7EEBB2131192D800C5899B /* ScriptingBridge.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8C7EEBB1131192D800C5899B /* ScriptingBridge.framework */; }; 13 | 8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C167DFE841241C02AAC07 /* InfoPlist.strings */; }; 14 | 8D5B49B4048680CD000E48DA /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */; }; 15 | /* End PBXBuildFile section */ 16 | 17 | /* Begin PBXFileReference section */ 18 | 089C1672FE841209C02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; 19 | 089C167EFE841241C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; 20 | 089C167FFE841241C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; 21 | 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; 22 | 32DBCF630370AF2F00C91783 /* Chrome_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Chrome_Prefix.pch; sourceTree = ""; }; 23 | 8C7EEB8C1311920500C5899B /* CLRaindropProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLRaindropProtocol.h; path = ../CLRaindropProtocol.h; sourceTree = SOURCE_ROOT; }; 24 | 8C7EEB8F1311920A00C5899B /* Raindrop.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Raindrop.plist; sourceTree = ""; }; 25 | 8C7EEBA51311925900C5899B /* CLChromeRaindrop.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CLChromeRaindrop.h; sourceTree = ""; }; 26 | 8C7EEBA61311925900C5899B /* CLChromeRaindrop.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CLChromeRaindrop.m; sourceTree = ""; }; 27 | 8C7EEBB0131192CC00C5899B /* Chrome.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Chrome.h; sourceTree = ""; }; 28 | 8C7EEBB1131192D800C5899B /* ScriptingBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ScriptingBridge.framework; path = System/Library/Frameworks/ScriptingBridge.framework; sourceTree = SDKROOT; }; 29 | 8D5B49B6048680CD000E48DA /* Chrome.raindrop */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Chrome.raindrop; sourceTree = BUILT_PRODUCTS_DIR; }; 30 | 8D5B49B7048680CD000E48DA /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 31 | D2F7E65807B2D6F200F64583 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = ""; }; 32 | /* End PBXFileReference section */ 33 | 34 | /* Begin PBXFrameworksBuildPhase section */ 35 | 8D5B49B3048680CD000E48DA /* Frameworks */ = { 36 | isa = PBXFrameworksBuildPhase; 37 | buildActionMask = 2147483647; 38 | files = ( 39 | 8D5B49B4048680CD000E48DA /* Cocoa.framework in Frameworks */, 40 | 8C7EEBB2131192D800C5899B /* ScriptingBridge.framework in Frameworks */, 41 | ); 42 | runOnlyForDeploymentPostprocessing = 0; 43 | }; 44 | /* End PBXFrameworksBuildPhase section */ 45 | 46 | /* Begin PBXGroup section */ 47 | 089C166AFE841209C02AAC07 /* Chrome */ = { 48 | isa = PBXGroup; 49 | children = ( 50 | 08FB77AFFE84173DC02AAC07 /* Classes */, 51 | 32C88E010371C26100C91783 /* Other Sources */, 52 | 089C167CFE841241C02AAC07 /* Resources */, 53 | 089C1671FE841209C02AAC07 /* Frameworks and Libraries */, 54 | 19C28FB8FE9D52D311CA2CBB /* Products */, 55 | ); 56 | name = Chrome; 57 | sourceTree = ""; 58 | }; 59 | 089C1671FE841209C02AAC07 /* Frameworks and Libraries */ = { 60 | isa = PBXGroup; 61 | children = ( 62 | 1058C7ACFEA557BF11CA2CBB /* Linked Frameworks */, 63 | 1058C7AEFEA557BF11CA2CBB /* Other Frameworks */, 64 | 8C7EEBB1131192D800C5899B /* ScriptingBridge.framework */, 65 | ); 66 | name = "Frameworks and Libraries"; 67 | sourceTree = ""; 68 | }; 69 | 089C167CFE841241C02AAC07 /* Resources */ = { 70 | isa = PBXGroup; 71 | children = ( 72 | 8C7EEB8F1311920A00C5899B /* Raindrop.plist */, 73 | 8D5B49B7048680CD000E48DA /* Info.plist */, 74 | 089C167DFE841241C02AAC07 /* InfoPlist.strings */, 75 | ); 76 | name = Resources; 77 | sourceTree = ""; 78 | }; 79 | 08FB77AFFE84173DC02AAC07 /* Classes */ = { 80 | isa = PBXGroup; 81 | children = ( 82 | 8C7EEBB0131192CC00C5899B /* Chrome.h */, 83 | 8C7EEB8C1311920500C5899B /* CLRaindropProtocol.h */, 84 | 8C7EEBA51311925900C5899B /* CLChromeRaindrop.h */, 85 | 8C7EEBA61311925900C5899B /* CLChromeRaindrop.m */, 86 | ); 87 | name = Classes; 88 | sourceTree = ""; 89 | }; 90 | 1058C7ACFEA557BF11CA2CBB /* Linked Frameworks */ = { 91 | isa = PBXGroup; 92 | children = ( 93 | 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */, 94 | ); 95 | name = "Linked Frameworks"; 96 | sourceTree = ""; 97 | }; 98 | 1058C7AEFEA557BF11CA2CBB /* Other Frameworks */ = { 99 | isa = PBXGroup; 100 | children = ( 101 | 089C167FFE841241C02AAC07 /* AppKit.framework */, 102 | D2F7E65807B2D6F200F64583 /* CoreData.framework */, 103 | 089C1672FE841209C02AAC07 /* Foundation.framework */, 104 | ); 105 | name = "Other Frameworks"; 106 | sourceTree = ""; 107 | }; 108 | 19C28FB8FE9D52D311CA2CBB /* Products */ = { 109 | isa = PBXGroup; 110 | children = ( 111 | 8D5B49B6048680CD000E48DA /* Chrome.raindrop */, 112 | ); 113 | name = Products; 114 | sourceTree = ""; 115 | }; 116 | 32C88E010371C26100C91783 /* Other Sources */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | 32DBCF630370AF2F00C91783 /* Chrome_Prefix.pch */, 120 | ); 121 | name = "Other Sources"; 122 | sourceTree = ""; 123 | }; 124 | /* End PBXGroup section */ 125 | 126 | /* Begin PBXNativeTarget section */ 127 | 8D5B49AC048680CD000E48DA /* Chrome */ = { 128 | isa = PBXNativeTarget; 129 | buildConfigurationList = 1DEB913A08733D840010E9CD /* Build configuration list for PBXNativeTarget "Chrome" */; 130 | buildPhases = ( 131 | 8D5B49AF048680CD000E48DA /* Resources */, 132 | 8D5B49B1048680CD000E48DA /* Sources */, 133 | 8D5B49B3048680CD000E48DA /* Frameworks */, 134 | ); 135 | buildRules = ( 136 | ); 137 | dependencies = ( 138 | ); 139 | name = Chrome; 140 | productInstallPath = "$(HOME)/Library/Bundles"; 141 | productName = Chrome; 142 | productReference = 8D5B49B6048680CD000E48DA /* Chrome.raindrop */; 143 | productType = "com.apple.product-type.bundle"; 144 | }; 145 | /* End PBXNativeTarget section */ 146 | 147 | /* Begin PBXProject section */ 148 | 089C1669FE841209C02AAC07 /* Project object */ = { 149 | isa = PBXProject; 150 | buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "Chrome" */; 151 | compatibilityVersion = "Xcode 3.1"; 152 | developmentRegion = English; 153 | hasScannedForEncodings = 1; 154 | knownRegions = ( 155 | English, 156 | Japanese, 157 | French, 158 | German, 159 | ); 160 | mainGroup = 089C166AFE841209C02AAC07 /* Chrome */; 161 | projectDirPath = ""; 162 | projectRoot = ""; 163 | targets = ( 164 | 8D5B49AC048680CD000E48DA /* Chrome */, 165 | ); 166 | }; 167 | /* End PBXProject section */ 168 | 169 | /* Begin PBXResourcesBuildPhase section */ 170 | 8D5B49AF048680CD000E48DA /* Resources */ = { 171 | isa = PBXResourcesBuildPhase; 172 | buildActionMask = 2147483647; 173 | files = ( 174 | 8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */, 175 | 8C7EEB901311920A00C5899B /* Raindrop.plist in Resources */, 176 | ); 177 | runOnlyForDeploymentPostprocessing = 0; 178 | }; 179 | /* End PBXResourcesBuildPhase section */ 180 | 181 | /* Begin PBXSourcesBuildPhase section */ 182 | 8D5B49B1048680CD000E48DA /* Sources */ = { 183 | isa = PBXSourcesBuildPhase; 184 | buildActionMask = 2147483647; 185 | files = ( 186 | 8C7EEBA71311925900C5899B /* CLChromeRaindrop.m in Sources */, 187 | ); 188 | runOnlyForDeploymentPostprocessing = 0; 189 | }; 190 | /* End PBXSourcesBuildPhase section */ 191 | 192 | /* Begin PBXVariantGroup section */ 193 | 089C167DFE841241C02AAC07 /* InfoPlist.strings */ = { 194 | isa = PBXVariantGroup; 195 | children = ( 196 | 089C167EFE841241C02AAC07 /* English */, 197 | ); 198 | name = InfoPlist.strings; 199 | sourceTree = ""; 200 | }; 201 | /* End PBXVariantGroup section */ 202 | 203 | /* Begin XCBuildConfiguration section */ 204 | 1DEB913B08733D840010E9CD /* Debug */ = { 205 | isa = XCBuildConfiguration; 206 | buildSettings = { 207 | ALWAYS_SEARCH_USER_PATHS = NO; 208 | COPY_PHASE_STRIP = NO; 209 | GCC_DYNAMIC_NO_PIC = NO; 210 | GCC_ENABLE_FIX_AND_CONTINUE = YES; 211 | GCC_MODEL_TUNING = G5; 212 | GCC_OPTIMIZATION_LEVEL = 0; 213 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 214 | GCC_PREFIX_HEADER = Chrome_Prefix.pch; 215 | INFOPLIST_FILE = Info.plist; 216 | INSTALL_PATH = "$(HOME)/Library/Bundles"; 217 | PRODUCT_NAME = Chrome; 218 | SKIP_INSTALL = YES; 219 | WRAPPER_EXTENSION = raindrop; 220 | }; 221 | name = Debug; 222 | }; 223 | 1DEB913C08733D840010E9CD /* Release */ = { 224 | isa = XCBuildConfiguration; 225 | buildSettings = { 226 | ALWAYS_SEARCH_USER_PATHS = NO; 227 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 228 | GCC_MODEL_TUNING = G5; 229 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 230 | GCC_PREFIX_HEADER = Chrome_Prefix.pch; 231 | INFOPLIST_FILE = Info.plist; 232 | INSTALL_PATH = "$(HOME)/Library/Bundles"; 233 | PRODUCT_NAME = Chrome; 234 | SKIP_INSTALL = YES; 235 | WRAPPER_EXTENSION = raindrop; 236 | }; 237 | name = Release; 238 | }; 239 | 1DEB913F08733D840010E9CD /* Debug */ = { 240 | isa = XCBuildConfiguration; 241 | buildSettings = { 242 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 243 | GCC_C_LANGUAGE_STANDARD = gnu99; 244 | GCC_OPTIMIZATION_LEVEL = 0; 245 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 246 | GCC_WARN_UNUSED_VARIABLE = YES; 247 | MACOSX_DEPLOYMENT_TARGET = 10.6; 248 | ONLY_ACTIVE_ARCH = YES; 249 | PREBINDING = NO; 250 | SDKROOT = macosx; 251 | }; 252 | name = Debug; 253 | }; 254 | 1DEB914008733D840010E9CD /* Release */ = { 255 | isa = XCBuildConfiguration; 256 | buildSettings = { 257 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 258 | GCC_C_LANGUAGE_STANDARD = gnu99; 259 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 260 | GCC_WARN_UNUSED_VARIABLE = YES; 261 | MACOSX_DEPLOYMENT_TARGET = 10.6; 262 | PREBINDING = NO; 263 | SDKROOT = macosx; 264 | }; 265 | name = Release; 266 | }; 267 | /* End XCBuildConfiguration section */ 268 | 269 | /* Begin XCConfigurationList section */ 270 | 1DEB913A08733D840010E9CD /* Build configuration list for PBXNativeTarget "Chrome" */ = { 271 | isa = XCConfigurationList; 272 | buildConfigurations = ( 273 | 1DEB913B08733D840010E9CD /* Debug */, 274 | 1DEB913C08733D840010E9CD /* Release */, 275 | ); 276 | defaultConfigurationIsVisible = 0; 277 | defaultConfigurationName = Release; 278 | }; 279 | 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "Chrome" */ = { 280 | isa = XCConfigurationList; 281 | buildConfigurations = ( 282 | 1DEB913F08733D840010E9CD /* Debug */, 283 | 1DEB914008733D840010E9CD /* Release */, 284 | ); 285 | defaultConfigurationIsVisible = 0; 286 | defaultConfigurationName = Release; 287 | }; 288 | /* End XCConfigurationList section */ 289 | }; 290 | rootObject = 089C1669FE841209C02AAC07 /* Project object */; 291 | } 292 | -------------------------------------------------------------------------------- /Grab/Grab.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 4BE8F9851343BE8F00C3C33B /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BE8F9841343BE8F00C3C33B /* Cocoa.framework */; }; 11 | 4BE8F98F1343BE8F00C3C33B /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 4BE8F98D1343BE8F00C3C33B /* InfoPlist.strings */; }; 12 | 4BE8F9981343BF3D00C3C33B /* CLGrabRaindrop.m in Sources */ = {isa = PBXBuildFile; fileRef = 4BE8F9971343BF3D00C3C33B /* CLGrabRaindrop.m */; }; 13 | 4BE8F99D1343BFBD00C3C33B /* NSPasteboard+NPStateRestoration.m in Sources */ = {isa = PBXBuildFile; fileRef = 4BE8F99C1343BFBD00C3C33B /* NSPasteboard+NPStateRestoration.m */; }; 14 | 4BE8FA001343C50D00C3C33B /* Raindrop.plist in Resources */ = {isa = PBXBuildFile; fileRef = 4BE8F9FF1343C50D00C3C33B /* Raindrop.plist */; }; 15 | /* End PBXBuildFile section */ 16 | 17 | /* Begin PBXFileReference section */ 18 | 4BE8F9811343BE8F00C3C33B /* Grab.raindrop */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Grab.raindrop; sourceTree = BUILT_PRODUCTS_DIR; }; 19 | 4BE8F9841343BE8F00C3C33B /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; 20 | 4BE8F9871343BE8F00C3C33B /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; 21 | 4BE8F9881343BE8F00C3C33B /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; 22 | 4BE8F9891343BE8F00C3C33B /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 23 | 4BE8F98C1343BE8F00C3C33B /* Grab-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Grab-Info.plist"; sourceTree = ""; }; 24 | 4BE8F98E1343BE8F00C3C33B /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 25 | 4BE8F9901343BE8F00C3C33B /* Grab-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Grab-Prefix.pch"; sourceTree = ""; }; 26 | 4BE8F9961343BF3D00C3C33B /* CLGrabRaindrop.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CLGrabRaindrop.h; sourceTree = ""; }; 27 | 4BE8F9971343BF3D00C3C33B /* CLGrabRaindrop.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CLGrabRaindrop.m; sourceTree = ""; }; 28 | 4BE8F99A1343BFBD00C3C33B /* CLRaindropProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLRaindropProtocol.h; path = ../../CLRaindropProtocol.h; sourceTree = ""; }; 29 | 4BE8F99B1343BFBD00C3C33B /* NSPasteboard+NPStateRestoration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "NSPasteboard+NPStateRestoration.h"; path = "../../NSPasteboard+NPStateRestoration.h"; sourceTree = ""; }; 30 | 4BE8F99C1343BFBD00C3C33B /* NSPasteboard+NPStateRestoration.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "NSPasteboard+NPStateRestoration.m"; path = "../../NSPasteboard+NPStateRestoration.m"; sourceTree = ""; }; 31 | 4BE8F9FF1343C50D00C3C33B /* Raindrop.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Raindrop.plist; sourceTree = ""; }; 32 | /* End PBXFileReference section */ 33 | 34 | /* Begin PBXFrameworksBuildPhase section */ 35 | 4BE8F97E1343BE8F00C3C33B /* Frameworks */ = { 36 | isa = PBXFrameworksBuildPhase; 37 | buildActionMask = 2147483647; 38 | files = ( 39 | 4BE8F9851343BE8F00C3C33B /* Cocoa.framework in Frameworks */, 40 | ); 41 | runOnlyForDeploymentPostprocessing = 0; 42 | }; 43 | /* End PBXFrameworksBuildPhase section */ 44 | 45 | /* Begin PBXGroup section */ 46 | 4BE8F9761343BE8F00C3C33B = { 47 | isa = PBXGroup; 48 | children = ( 49 | 4BE8F98A1343BE8F00C3C33B /* Grab */, 50 | 4BE8F9831343BE8F00C3C33B /* Frameworks */, 51 | 4BE8F9821343BE8F00C3C33B /* Products */, 52 | ); 53 | sourceTree = ""; 54 | }; 55 | 4BE8F9821343BE8F00C3C33B /* Products */ = { 56 | isa = PBXGroup; 57 | children = ( 58 | 4BE8F9811343BE8F00C3C33B /* Grab.raindrop */, 59 | ); 60 | name = Products; 61 | sourceTree = ""; 62 | }; 63 | 4BE8F9831343BE8F00C3C33B /* Frameworks */ = { 64 | isa = PBXGroup; 65 | children = ( 66 | 4BE8F9841343BE8F00C3C33B /* Cocoa.framework */, 67 | 4BE8F9861343BE8F00C3C33B /* Other Frameworks */, 68 | ); 69 | name = Frameworks; 70 | sourceTree = ""; 71 | }; 72 | 4BE8F9861343BE8F00C3C33B /* Other Frameworks */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | 4BE8F9871343BE8F00C3C33B /* AppKit.framework */, 76 | 4BE8F9881343BE8F00C3C33B /* CoreData.framework */, 77 | 4BE8F9891343BE8F00C3C33B /* Foundation.framework */, 78 | ); 79 | name = "Other Frameworks"; 80 | sourceTree = ""; 81 | }; 82 | 4BE8F98A1343BE8F00C3C33B /* Grab */ = { 83 | isa = PBXGroup; 84 | children = ( 85 | 4BE8F9991343BF4300C3C33B /* Classes */, 86 | 4BE8F98B1343BE8F00C3C33B /* Supporting Files */, 87 | ); 88 | path = Grab; 89 | sourceTree = ""; 90 | }; 91 | 4BE8F98B1343BE8F00C3C33B /* Supporting Files */ = { 92 | isa = PBXGroup; 93 | children = ( 94 | 4BE8F9FF1343C50D00C3C33B /* Raindrop.plist */, 95 | 4BE8F98C1343BE8F00C3C33B /* Grab-Info.plist */, 96 | 4BE8F98D1343BE8F00C3C33B /* InfoPlist.strings */, 97 | 4BE8F9901343BE8F00C3C33B /* Grab-Prefix.pch */, 98 | ); 99 | name = "Supporting Files"; 100 | sourceTree = ""; 101 | }; 102 | 4BE8F9991343BF4300C3C33B /* Classes */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | 4BE8F9961343BF3D00C3C33B /* CLGrabRaindrop.h */, 106 | 4BE8F9971343BF3D00C3C33B /* CLGrabRaindrop.m */, 107 | 4BE8F99A1343BFBD00C3C33B /* CLRaindropProtocol.h */, 108 | 4BE8F99B1343BFBD00C3C33B /* NSPasteboard+NPStateRestoration.h */, 109 | 4BE8F99C1343BFBD00C3C33B /* NSPasteboard+NPStateRestoration.m */, 110 | ); 111 | name = Classes; 112 | sourceTree = ""; 113 | }; 114 | /* End PBXGroup section */ 115 | 116 | /* Begin PBXNativeTarget section */ 117 | 4BE8F9801343BE8F00C3C33B /* Grab */ = { 118 | isa = PBXNativeTarget; 119 | buildConfigurationList = 4BE8F9931343BE8F00C3C33B /* Build configuration list for PBXNativeTarget "Grab" */; 120 | buildPhases = ( 121 | 4BE8F97D1343BE8F00C3C33B /* Sources */, 122 | 4BE8F97E1343BE8F00C3C33B /* Frameworks */, 123 | 4BE8F97F1343BE8F00C3C33B /* Resources */, 124 | ); 125 | buildRules = ( 126 | ); 127 | dependencies = ( 128 | ); 129 | name = Grab; 130 | productName = Grab; 131 | productReference = 4BE8F9811343BE8F00C3C33B /* Grab.raindrop */; 132 | productType = "com.apple.product-type.bundle"; 133 | }; 134 | /* End PBXNativeTarget section */ 135 | 136 | /* Begin PBXProject section */ 137 | 4BE8F9781343BE8F00C3C33B /* Project object */ = { 138 | isa = PBXProject; 139 | attributes = { 140 | ORGANIZATIONNAME = Linebreak; 141 | }; 142 | buildConfigurationList = 4BE8F97B1343BE8F00C3C33B /* Build configuration list for PBXProject "Grab" */; 143 | compatibilityVersion = "Xcode 3.2"; 144 | developmentRegion = English; 145 | hasScannedForEncodings = 0; 146 | knownRegions = ( 147 | en, 148 | ); 149 | mainGroup = 4BE8F9761343BE8F00C3C33B; 150 | productRefGroup = 4BE8F9821343BE8F00C3C33B /* Products */; 151 | projectDirPath = ""; 152 | projectRoot = ""; 153 | targets = ( 154 | 4BE8F9801343BE8F00C3C33B /* Grab */, 155 | ); 156 | }; 157 | /* End PBXProject section */ 158 | 159 | /* Begin PBXResourcesBuildPhase section */ 160 | 4BE8F97F1343BE8F00C3C33B /* Resources */ = { 161 | isa = PBXResourcesBuildPhase; 162 | buildActionMask = 2147483647; 163 | files = ( 164 | 4BE8F98F1343BE8F00C3C33B /* InfoPlist.strings in Resources */, 165 | 4BE8FA001343C50D00C3C33B /* Raindrop.plist in Resources */, 166 | ); 167 | runOnlyForDeploymentPostprocessing = 0; 168 | }; 169 | /* End PBXResourcesBuildPhase section */ 170 | 171 | /* Begin PBXSourcesBuildPhase section */ 172 | 4BE8F97D1343BE8F00C3C33B /* Sources */ = { 173 | isa = PBXSourcesBuildPhase; 174 | buildActionMask = 2147483647; 175 | files = ( 176 | 4BE8F9981343BF3D00C3C33B /* CLGrabRaindrop.m in Sources */, 177 | 4BE8F99D1343BFBD00C3C33B /* NSPasteboard+NPStateRestoration.m in Sources */, 178 | ); 179 | runOnlyForDeploymentPostprocessing = 0; 180 | }; 181 | /* End PBXSourcesBuildPhase section */ 182 | 183 | /* Begin PBXVariantGroup section */ 184 | 4BE8F98D1343BE8F00C3C33B /* InfoPlist.strings */ = { 185 | isa = PBXVariantGroup; 186 | children = ( 187 | 4BE8F98E1343BE8F00C3C33B /* en */, 188 | ); 189 | name = InfoPlist.strings; 190 | sourceTree = ""; 191 | }; 192 | /* End PBXVariantGroup section */ 193 | 194 | /* Begin XCBuildConfiguration section */ 195 | 4BE8F9911343BE8F00C3C33B /* Debug */ = { 196 | isa = XCBuildConfiguration; 197 | buildSettings = { 198 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 199 | GCC_C_LANGUAGE_STANDARD = gnu99; 200 | GCC_OPTIMIZATION_LEVEL = 0; 201 | GCC_PREPROCESSOR_DEFINITIONS = DEBUG; 202 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 203 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 204 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 205 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 206 | GCC_WARN_UNUSED_VARIABLE = YES; 207 | MACOSX_DEPLOYMENT_TARGET = 10.6; 208 | ONLY_ACTIVE_ARCH = YES; 209 | SDKROOT = macosx; 210 | }; 211 | name = Debug; 212 | }; 213 | 4BE8F9921343BE8F00C3C33B /* Release */ = { 214 | isa = XCBuildConfiguration; 215 | buildSettings = { 216 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 217 | GCC_C_LANGUAGE_STANDARD = gnu99; 218 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 219 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 220 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 221 | GCC_WARN_UNUSED_VARIABLE = YES; 222 | MACOSX_DEPLOYMENT_TARGET = 10.6; 223 | SDKROOT = macosx; 224 | }; 225 | name = Release; 226 | }; 227 | 4BE8F9941343BE8F00C3C33B /* Debug */ = { 228 | isa = XCBuildConfiguration; 229 | buildSettings = { 230 | ALWAYS_SEARCH_USER_PATHS = NO; 231 | COPY_PHASE_STRIP = NO; 232 | GCC_DYNAMIC_NO_PIC = NO; 233 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 234 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 235 | GCC_PREFIX_HEADER = "Grab/Grab-Prefix.pch"; 236 | INFOPLIST_FILE = "Grab/Grab-Info.plist"; 237 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Bundles"; 238 | PRODUCT_NAME = "$(TARGET_NAME)"; 239 | SKIP_INSTALL = YES; 240 | WRAPPER_EXTENSION = raindrop; 241 | }; 242 | name = Debug; 243 | }; 244 | 4BE8F9951343BE8F00C3C33B /* Release */ = { 245 | isa = XCBuildConfiguration; 246 | buildSettings = { 247 | ALWAYS_SEARCH_USER_PATHS = NO; 248 | COPY_PHASE_STRIP = YES; 249 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 250 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 251 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 252 | GCC_PREFIX_HEADER = "Grab/Grab-Prefix.pch"; 253 | INFOPLIST_FILE = "Grab/Grab-Info.plist"; 254 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Bundles"; 255 | PRODUCT_NAME = "$(TARGET_NAME)"; 256 | SKIP_INSTALL = YES; 257 | WRAPPER_EXTENSION = raindrop; 258 | }; 259 | name = Release; 260 | }; 261 | /* End XCBuildConfiguration section */ 262 | 263 | /* Begin XCConfigurationList section */ 264 | 4BE8F97B1343BE8F00C3C33B /* Build configuration list for PBXProject "Grab" */ = { 265 | isa = XCConfigurationList; 266 | buildConfigurations = ( 267 | 4BE8F9911343BE8F00C3C33B /* Debug */, 268 | 4BE8F9921343BE8F00C3C33B /* Release */, 269 | ); 270 | defaultConfigurationIsVisible = 0; 271 | defaultConfigurationName = Release; 272 | }; 273 | 4BE8F9931343BE8F00C3C33B /* Build configuration list for PBXNativeTarget "Grab" */ = { 274 | isa = XCConfigurationList; 275 | buildConfigurations = ( 276 | 4BE8F9941343BE8F00C3C33B /* Debug */, 277 | 4BE8F9951343BE8F00C3C33B /* Release */, 278 | ); 279 | defaultConfigurationIsVisible = 0; 280 | defaultConfigurationName = Release; 281 | }; 282 | /* End XCConfigurationList section */ 283 | }; 284 | rootObject = 4BE8F9781343BE8F00C3C33B /* Project object */; 285 | } 286 | -------------------------------------------------------------------------------- /Photoshop/Photoshop.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 45; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 4B34663112F3613E003315C7 /* CLPhotoshopRaindrop.m in Sources */ = {isa = PBXBuildFile; fileRef = 4B34663012F3613E003315C7 /* CLPhotoshopRaindrop.m */; }; 11 | 4B34663612F3614D003315C7 /* Raindrop.plist in Resources */ = {isa = PBXBuildFile; fileRef = 4B34663512F3614D003315C7 /* Raindrop.plist */; }; 12 | 4B34666712F36357003315C7 /* ScriptingBridge.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4B34666612F36357003315C7 /* ScriptingBridge.framework */; }; 13 | 8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C167DFE841241C02AAC07 /* InfoPlist.strings */; }; 14 | 8D5B49B4048680CD000E48DA /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */; }; 15 | /* End PBXBuildFile section */ 16 | 17 | /* Begin PBXFileReference section */ 18 | 089C1672FE841209C02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; 19 | 089C167EFE841241C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = ""; }; 20 | 089C167FFE841241C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; 21 | 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; 22 | 32DBCF630370AF2F00C91783 /* Photoshop_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Photoshop_Prefix.pch; sourceTree = ""; }; 23 | 4B34662F12F3613E003315C7 /* CLPhotoshopRaindrop.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CLPhotoshopRaindrop.h; sourceTree = ""; }; 24 | 4B34663012F3613E003315C7 /* CLPhotoshopRaindrop.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CLPhotoshopRaindrop.m; sourceTree = ""; }; 25 | 4B34663512F3614D003315C7 /* Raindrop.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Raindrop.plist; sourceTree = ""; }; 26 | 4B34663812F36179003315C7 /* CLRaindropProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLRaindropProtocol.h; path = ../CLRaindropProtocol.h; sourceTree = SOURCE_ROOT; }; 27 | 4B34664412F361CB003315C7 /* Photoshop.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Photoshop.h; sourceTree = ""; }; 28 | 4B34666612F36357003315C7 /* ScriptingBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ScriptingBridge.framework; path = /System/Library/Frameworks/ScriptingBridge.framework; sourceTree = ""; }; 29 | 8D5B49B6048680CD000E48DA /* Photoshop.raindrop */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Photoshop.raindrop; sourceTree = BUILT_PRODUCTS_DIR; }; 30 | 8D5B49B7048680CD000E48DA /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 31 | D2F7E65807B2D6F200F64583 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = ""; }; 32 | /* End PBXFileReference section */ 33 | 34 | /* Begin PBXFrameworksBuildPhase section */ 35 | 8D5B49B3048680CD000E48DA /* Frameworks */ = { 36 | isa = PBXFrameworksBuildPhase; 37 | buildActionMask = 2147483647; 38 | files = ( 39 | 8D5B49B4048680CD000E48DA /* Cocoa.framework in Frameworks */, 40 | 4B34666712F36357003315C7 /* ScriptingBridge.framework in Frameworks */, 41 | ); 42 | runOnlyForDeploymentPostprocessing = 0; 43 | }; 44 | /* End PBXFrameworksBuildPhase section */ 45 | 46 | /* Begin PBXGroup section */ 47 | 089C166AFE841209C02AAC07 /* Photoshop */ = { 48 | isa = PBXGroup; 49 | children = ( 50 | 08FB77AFFE84173DC02AAC07 /* Classes */, 51 | 32C88E010371C26100C91783 /* Other Sources */, 52 | 089C167CFE841241C02AAC07 /* Resources */, 53 | 089C1671FE841209C02AAC07 /* Frameworks and Libraries */, 54 | 19C28FB8FE9D52D311CA2CBB /* Products */, 55 | 4B34666612F36357003315C7 /* ScriptingBridge.framework */, 56 | ); 57 | name = Photoshop; 58 | sourceTree = ""; 59 | }; 60 | 089C1671FE841209C02AAC07 /* Frameworks and Libraries */ = { 61 | isa = PBXGroup; 62 | children = ( 63 | 1058C7ACFEA557BF11CA2CBB /* Linked Frameworks */, 64 | 1058C7AEFEA557BF11CA2CBB /* Other Frameworks */, 65 | ); 66 | name = "Frameworks and Libraries"; 67 | sourceTree = ""; 68 | }; 69 | 089C167CFE841241C02AAC07 /* Resources */ = { 70 | isa = PBXGroup; 71 | children = ( 72 | 8D5B49B7048680CD000E48DA /* Info.plist */, 73 | 089C167DFE841241C02AAC07 /* InfoPlist.strings */, 74 | 4B34663512F3614D003315C7 /* Raindrop.plist */, 75 | ); 76 | name = Resources; 77 | sourceTree = ""; 78 | }; 79 | 08FB77AFFE84173DC02AAC07 /* Classes */ = { 80 | isa = PBXGroup; 81 | children = ( 82 | 4B34662F12F3613E003315C7 /* CLPhotoshopRaindrop.h */, 83 | 4B34663012F3613E003315C7 /* CLPhotoshopRaindrop.m */, 84 | 4B34663812F36179003315C7 /* CLRaindropProtocol.h */, 85 | 4B34664412F361CB003315C7 /* Photoshop.h */, 86 | ); 87 | name = Classes; 88 | sourceTree = ""; 89 | }; 90 | 1058C7ACFEA557BF11CA2CBB /* Linked Frameworks */ = { 91 | isa = PBXGroup; 92 | children = ( 93 | 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */, 94 | ); 95 | name = "Linked Frameworks"; 96 | sourceTree = ""; 97 | }; 98 | 1058C7AEFEA557BF11CA2CBB /* Other Frameworks */ = { 99 | isa = PBXGroup; 100 | children = ( 101 | 089C167FFE841241C02AAC07 /* AppKit.framework */, 102 | D2F7E65807B2D6F200F64583 /* CoreData.framework */, 103 | 089C1672FE841209C02AAC07 /* Foundation.framework */, 104 | ); 105 | name = "Other Frameworks"; 106 | sourceTree = ""; 107 | }; 108 | 19C28FB8FE9D52D311CA2CBB /* Products */ = { 109 | isa = PBXGroup; 110 | children = ( 111 | 8D5B49B6048680CD000E48DA /* Photoshop.raindrop */, 112 | ); 113 | name = Products; 114 | sourceTree = ""; 115 | }; 116 | 32C88E010371C26100C91783 /* Other Sources */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | 32DBCF630370AF2F00C91783 /* Photoshop_Prefix.pch */, 120 | ); 121 | name = "Other Sources"; 122 | sourceTree = ""; 123 | }; 124 | /* End PBXGroup section */ 125 | 126 | /* Begin PBXNativeTarget section */ 127 | 8D5B49AC048680CD000E48DA /* Photoshop */ = { 128 | isa = PBXNativeTarget; 129 | buildConfigurationList = 1DEB913A08733D840010E9CD /* Build configuration list for PBXNativeTarget "Photoshop" */; 130 | buildPhases = ( 131 | 8D5B49AF048680CD000E48DA /* Resources */, 132 | 8D5B49B1048680CD000E48DA /* Sources */, 133 | 8D5B49B3048680CD000E48DA /* Frameworks */, 134 | ); 135 | buildRules = ( 136 | ); 137 | dependencies = ( 138 | ); 139 | name = Photoshop; 140 | productInstallPath = "$(HOME)/Library/Bundles"; 141 | productName = Photoshop; 142 | productReference = 8D5B49B6048680CD000E48DA /* Photoshop.raindrop */; 143 | productType = "com.apple.product-type.bundle"; 144 | }; 145 | /* End PBXNativeTarget section */ 146 | 147 | /* Begin PBXProject section */ 148 | 089C1669FE841209C02AAC07 /* Project object */ = { 149 | isa = PBXProject; 150 | buildConfigurationList = 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "Photoshop" */; 151 | compatibilityVersion = "Xcode 3.1"; 152 | developmentRegion = English; 153 | hasScannedForEncodings = 1; 154 | knownRegions = ( 155 | English, 156 | Japanese, 157 | French, 158 | German, 159 | ); 160 | mainGroup = 089C166AFE841209C02AAC07 /* Photoshop */; 161 | projectDirPath = ""; 162 | projectRoot = ""; 163 | targets = ( 164 | 8D5B49AC048680CD000E48DA /* Photoshop */, 165 | ); 166 | }; 167 | /* End PBXProject section */ 168 | 169 | /* Begin PBXResourcesBuildPhase section */ 170 | 8D5B49AF048680CD000E48DA /* Resources */ = { 171 | isa = PBXResourcesBuildPhase; 172 | buildActionMask = 2147483647; 173 | files = ( 174 | 8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */, 175 | 4B34663612F3614D003315C7 /* Raindrop.plist in Resources */, 176 | ); 177 | runOnlyForDeploymentPostprocessing = 0; 178 | }; 179 | /* End PBXResourcesBuildPhase section */ 180 | 181 | /* Begin PBXSourcesBuildPhase section */ 182 | 8D5B49B1048680CD000E48DA /* Sources */ = { 183 | isa = PBXSourcesBuildPhase; 184 | buildActionMask = 2147483647; 185 | files = ( 186 | 4B34663112F3613E003315C7 /* CLPhotoshopRaindrop.m in Sources */, 187 | ); 188 | runOnlyForDeploymentPostprocessing = 0; 189 | }; 190 | /* End PBXSourcesBuildPhase section */ 191 | 192 | /* Begin PBXVariantGroup section */ 193 | 089C167DFE841241C02AAC07 /* InfoPlist.strings */ = { 194 | isa = PBXVariantGroup; 195 | children = ( 196 | 089C167EFE841241C02AAC07 /* English */, 197 | ); 198 | name = InfoPlist.strings; 199 | sourceTree = ""; 200 | }; 201 | /* End PBXVariantGroup section */ 202 | 203 | /* Begin XCBuildConfiguration section */ 204 | 1DEB913B08733D840010E9CD /* Debug */ = { 205 | isa = XCBuildConfiguration; 206 | buildSettings = { 207 | ALWAYS_SEARCH_USER_PATHS = NO; 208 | COPY_PHASE_STRIP = NO; 209 | GCC_DYNAMIC_NO_PIC = NO; 210 | GCC_ENABLE_FIX_AND_CONTINUE = YES; 211 | GCC_MODEL_TUNING = G5; 212 | GCC_OPTIMIZATION_LEVEL = 0; 213 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 214 | GCC_PREFIX_HEADER = Photoshop_Prefix.pch; 215 | INFOPLIST_FILE = Info.plist; 216 | INSTALL_PATH = "$(HOME)/Library/Bundles"; 217 | PRODUCT_NAME = Photoshop; 218 | SKIP_INSTALL = YES; 219 | WRAPPER_EXTENSION = raindrop; 220 | }; 221 | name = Debug; 222 | }; 223 | 1DEB913C08733D840010E9CD /* Release */ = { 224 | isa = XCBuildConfiguration; 225 | buildSettings = { 226 | ALWAYS_SEARCH_USER_PATHS = NO; 227 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 228 | GCC_MODEL_TUNING = G5; 229 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 230 | GCC_PREFIX_HEADER = Photoshop_Prefix.pch; 231 | INFOPLIST_FILE = Info.plist; 232 | INSTALL_PATH = "$(HOME)/Library/Bundles"; 233 | PRODUCT_NAME = Photoshop; 234 | SKIP_INSTALL = YES; 235 | WRAPPER_EXTENSION = raindrop; 236 | }; 237 | name = Release; 238 | }; 239 | 1DEB913F08733D840010E9CD /* Debug */ = { 240 | isa = XCBuildConfiguration; 241 | buildSettings = { 242 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 243 | GCC_C_LANGUAGE_STANDARD = gnu99; 244 | GCC_OPTIMIZATION_LEVEL = 0; 245 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 246 | GCC_WARN_UNUSED_VARIABLE = YES; 247 | MACOSX_DEPLOYMENT_TARGET = 10.6; 248 | ONLY_ACTIVE_ARCH = YES; 249 | PREBINDING = NO; 250 | SDKROOT = macosx; 251 | }; 252 | name = Debug; 253 | }; 254 | 1DEB914008733D840010E9CD /* Release */ = { 255 | isa = XCBuildConfiguration; 256 | buildSettings = { 257 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 258 | GCC_C_LANGUAGE_STANDARD = gnu99; 259 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 260 | GCC_WARN_UNUSED_VARIABLE = YES; 261 | MACOSX_DEPLOYMENT_TARGET = 10.6; 262 | PREBINDING = NO; 263 | SDKROOT = macosx; 264 | }; 265 | name = Release; 266 | }; 267 | /* End XCBuildConfiguration section */ 268 | 269 | /* Begin XCConfigurationList section */ 270 | 1DEB913A08733D840010E9CD /* Build configuration list for PBXNativeTarget "Photoshop" */ = { 271 | isa = XCConfigurationList; 272 | buildConfigurations = ( 273 | 1DEB913B08733D840010E9CD /* Debug */, 274 | 1DEB913C08733D840010E9CD /* Release */, 275 | ); 276 | defaultConfigurationIsVisible = 0; 277 | defaultConfigurationName = Release; 278 | }; 279 | 1DEB913E08733D840010E9CD /* Build configuration list for PBXProject "Photoshop" */ = { 280 | isa = XCConfigurationList; 281 | buildConfigurations = ( 282 | 1DEB913F08733D840010E9CD /* Debug */, 283 | 1DEB914008733D840010E9CD /* Release */, 284 | ); 285 | defaultConfigurationIsVisible = 0; 286 | defaultConfigurationName = Release; 287 | }; 288 | /* End XCConfigurationList section */ 289 | }; 290 | rootObject = 089C1669FE841209C02AAC07 /* Project object */; 291 | } 292 | -------------------------------------------------------------------------------- /Firefox/Firefox.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 4B6FCFEF131B36D8002CBE11 /* NSPasteboard+NPStateRestoration.m in Sources */ = {isa = PBXBuildFile; fileRef = 4B6FCFEE131B36D8002CBE11 /* NSPasteboard+NPStateRestoration.m */; }; 11 | 4B9D6B89131B21CB000DDCE6 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4B9D6B88131B21CB000DDCE6 /* Cocoa.framework */; }; 12 | 4B9D6B93131B21CB000DDCE6 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 4B9D6B91131B21CB000DDCE6 /* InfoPlist.strings */; }; 13 | 4B9D6B9C131B221C000DDCE6 /* CLFirefoxRaindrop.m in Sources */ = {isa = PBXBuildFile; fileRef = 4B9D6B9B131B221C000DDCE6 /* CLFirefoxRaindrop.m */; }; 14 | 4B9D6BA0131B223F000DDCE6 /* Raindrop.plist in Resources */ = {isa = PBXBuildFile; fileRef = 4B9D6B9F131B223F000DDCE6 /* Raindrop.plist */; }; 15 | /* End PBXBuildFile section */ 16 | 17 | /* Begin PBXFileReference section */ 18 | 4B6FCFED131B36D8002CBE11 /* NSPasteboard+NPStateRestoration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "NSPasteboard+NPStateRestoration.h"; path = "../../NSPasteboard+NPStateRestoration.h"; sourceTree = ""; }; 19 | 4B6FCFEE131B36D8002CBE11 /* NSPasteboard+NPStateRestoration.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "NSPasteboard+NPStateRestoration.m"; path = "../../NSPasteboard+NPStateRestoration.m"; sourceTree = ""; }; 20 | 4B9D6B85131B21CB000DDCE6 /* Firefox.raindrop */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Firefox.raindrop; sourceTree = BUILT_PRODUCTS_DIR; }; 21 | 4B9D6B88131B21CB000DDCE6 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; 22 | 4B9D6B8B131B21CB000DDCE6 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; 23 | 4B9D6B8C131B21CB000DDCE6 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; 24 | 4B9D6B8D131B21CB000DDCE6 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 25 | 4B9D6B90131B21CB000DDCE6 /* Firefox-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Firefox-Info.plist"; sourceTree = ""; }; 26 | 4B9D6B92131B21CB000DDCE6 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 27 | 4B9D6B94131B21CB000DDCE6 /* Firefox-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Firefox-Prefix.pch"; sourceTree = ""; }; 28 | 4B9D6B9A131B221C000DDCE6 /* CLFirefoxRaindrop.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CLFirefoxRaindrop.h; sourceTree = ""; }; 29 | 4B9D6B9B131B221C000DDCE6 /* CLFirefoxRaindrop.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CLFirefoxRaindrop.m; sourceTree = ""; }; 30 | 4B9D6B9D131B222E000DDCE6 /* CLRaindropHelperProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLRaindropHelperProtocol.h; path = ../../CLRaindropHelperProtocol.h; sourceTree = ""; }; 31 | 4B9D6B9E131B222E000DDCE6 /* CLRaindropProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLRaindropProtocol.h; path = ../../CLRaindropProtocol.h; sourceTree = ""; }; 32 | 4B9D6B9F131B223F000DDCE6 /* Raindrop.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Raindrop.plist; sourceTree = ""; }; 33 | /* End PBXFileReference section */ 34 | 35 | /* Begin PBXFrameworksBuildPhase section */ 36 | 4B9D6B82131B21CB000DDCE6 /* Frameworks */ = { 37 | isa = PBXFrameworksBuildPhase; 38 | buildActionMask = 2147483647; 39 | files = ( 40 | 4B9D6B89131B21CB000DDCE6 /* Cocoa.framework in Frameworks */, 41 | ); 42 | runOnlyForDeploymentPostprocessing = 0; 43 | }; 44 | /* End PBXFrameworksBuildPhase section */ 45 | 46 | /* Begin PBXGroup section */ 47 | 4B9D6B7A131B21CB000DDCE6 = { 48 | isa = PBXGroup; 49 | children = ( 50 | 4B9D6B8E131B21CB000DDCE6 /* Firefox */, 51 | 4B9D6B87131B21CB000DDCE6 /* Frameworks */, 52 | 4B9D6B86131B21CB000DDCE6 /* Products */, 53 | ); 54 | sourceTree = ""; 55 | }; 56 | 4B9D6B86131B21CB000DDCE6 /* Products */ = { 57 | isa = PBXGroup; 58 | children = ( 59 | 4B9D6B85131B21CB000DDCE6 /* Firefox.raindrop */, 60 | ); 61 | name = Products; 62 | sourceTree = ""; 63 | }; 64 | 4B9D6B87131B21CB000DDCE6 /* Frameworks */ = { 65 | isa = PBXGroup; 66 | children = ( 67 | 4B9D6B88131B21CB000DDCE6 /* Cocoa.framework */, 68 | 4B9D6B8A131B21CB000DDCE6 /* Other Frameworks */, 69 | ); 70 | name = Frameworks; 71 | sourceTree = ""; 72 | }; 73 | 4B9D6B8A131B21CB000DDCE6 /* Other Frameworks */ = { 74 | isa = PBXGroup; 75 | children = ( 76 | 4B9D6B8B131B21CB000DDCE6 /* AppKit.framework */, 77 | 4B9D6B8C131B21CB000DDCE6 /* CoreData.framework */, 78 | 4B9D6B8D131B21CB000DDCE6 /* Foundation.framework */, 79 | ); 80 | name = "Other Frameworks"; 81 | sourceTree = ""; 82 | }; 83 | 4B9D6B8E131B21CB000DDCE6 /* Firefox */ = { 84 | isa = PBXGroup; 85 | children = ( 86 | 4B9D6B8F131B21CB000DDCE6 /* Supporting Files */, 87 | 4B9D6B9A131B221C000DDCE6 /* CLFirefoxRaindrop.h */, 88 | 4B9D6B9B131B221C000DDCE6 /* CLFirefoxRaindrop.m */, 89 | 4B6FCFED131B36D8002CBE11 /* NSPasteboard+NPStateRestoration.h */, 90 | 4B6FCFEE131B36D8002CBE11 /* NSPasteboard+NPStateRestoration.m */, 91 | 4B9D6B9D131B222E000DDCE6 /* CLRaindropHelperProtocol.h */, 92 | 4B9D6B9E131B222E000DDCE6 /* CLRaindropProtocol.h */, 93 | ); 94 | path = Firefox; 95 | sourceTree = ""; 96 | }; 97 | 4B9D6B8F131B21CB000DDCE6 /* Supporting Files */ = { 98 | isa = PBXGroup; 99 | children = ( 100 | 4B9D6B9F131B223F000DDCE6 /* Raindrop.plist */, 101 | 4B9D6B90131B21CB000DDCE6 /* Firefox-Info.plist */, 102 | 4B9D6B91131B21CB000DDCE6 /* InfoPlist.strings */, 103 | 4B9D6B94131B21CB000DDCE6 /* Firefox-Prefix.pch */, 104 | ); 105 | name = "Supporting Files"; 106 | sourceTree = ""; 107 | }; 108 | /* End PBXGroup section */ 109 | 110 | /* Begin PBXNativeTarget section */ 111 | 4B9D6B84131B21CB000DDCE6 /* Firefox */ = { 112 | isa = PBXNativeTarget; 113 | buildConfigurationList = 4B9D6B97131B21CC000DDCE6 /* Build configuration list for PBXNativeTarget "Firefox" */; 114 | buildPhases = ( 115 | 4B9D6B81131B21CB000DDCE6 /* Sources */, 116 | 4B9D6B82131B21CB000DDCE6 /* Frameworks */, 117 | 4B9D6B83131B21CB000DDCE6 /* Resources */, 118 | ); 119 | buildRules = ( 120 | ); 121 | dependencies = ( 122 | ); 123 | name = Firefox; 124 | productName = Firefox; 125 | productReference = 4B9D6B85131B21CB000DDCE6 /* Firefox.raindrop */; 126 | productType = "com.apple.product-type.bundle"; 127 | }; 128 | /* End PBXNativeTarget section */ 129 | 130 | /* Begin PBXProject section */ 131 | 4B9D6B7C131B21CB000DDCE6 /* Project object */ = { 132 | isa = PBXProject; 133 | attributes = { 134 | ORGANIZATIONNAME = Linebreak; 135 | }; 136 | buildConfigurationList = 4B9D6B7F131B21CB000DDCE6 /* Build configuration list for PBXProject "Firefox" */; 137 | compatibilityVersion = "Xcode 3.2"; 138 | developmentRegion = English; 139 | hasScannedForEncodings = 0; 140 | knownRegions = ( 141 | en, 142 | ); 143 | mainGroup = 4B9D6B7A131B21CB000DDCE6; 144 | productRefGroup = 4B9D6B86131B21CB000DDCE6 /* Products */; 145 | projectDirPath = ""; 146 | projectRoot = ""; 147 | targets = ( 148 | 4B9D6B84131B21CB000DDCE6 /* Firefox */, 149 | ); 150 | }; 151 | /* End PBXProject section */ 152 | 153 | /* Begin PBXResourcesBuildPhase section */ 154 | 4B9D6B83131B21CB000DDCE6 /* Resources */ = { 155 | isa = PBXResourcesBuildPhase; 156 | buildActionMask = 2147483647; 157 | files = ( 158 | 4B9D6B93131B21CB000DDCE6 /* InfoPlist.strings in Resources */, 159 | 4B9D6BA0131B223F000DDCE6 /* Raindrop.plist in Resources */, 160 | ); 161 | runOnlyForDeploymentPostprocessing = 0; 162 | }; 163 | /* End PBXResourcesBuildPhase section */ 164 | 165 | /* Begin PBXSourcesBuildPhase section */ 166 | 4B9D6B81131B21CB000DDCE6 /* Sources */ = { 167 | isa = PBXSourcesBuildPhase; 168 | buildActionMask = 2147483647; 169 | files = ( 170 | 4B9D6B9C131B221C000DDCE6 /* CLFirefoxRaindrop.m in Sources */, 171 | 4B6FCFEF131B36D8002CBE11 /* NSPasteboard+NPStateRestoration.m in Sources */, 172 | ); 173 | runOnlyForDeploymentPostprocessing = 0; 174 | }; 175 | /* End PBXSourcesBuildPhase section */ 176 | 177 | /* Begin PBXVariantGroup section */ 178 | 4B9D6B91131B21CB000DDCE6 /* InfoPlist.strings */ = { 179 | isa = PBXVariantGroup; 180 | children = ( 181 | 4B9D6B92131B21CB000DDCE6 /* en */, 182 | ); 183 | name = InfoPlist.strings; 184 | sourceTree = ""; 185 | }; 186 | /* End PBXVariantGroup section */ 187 | 188 | /* Begin XCBuildConfiguration section */ 189 | 4B9D6B95131B21CC000DDCE6 /* Debug */ = { 190 | isa = XCBuildConfiguration; 191 | buildSettings = { 192 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 193 | GCC_C_LANGUAGE_STANDARD = gnu99; 194 | GCC_OPTIMIZATION_LEVEL = 0; 195 | GCC_PREPROCESSOR_DEFINITIONS = DEBUG; 196 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 197 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 198 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 199 | GCC_WARN_UNUSED_VARIABLE = YES; 200 | MACOSX_DEPLOYMENT_TARGET = 10.6; 201 | ONLY_ACTIVE_ARCH = YES; 202 | SDKROOT = macosx; 203 | }; 204 | name = Debug; 205 | }; 206 | 4B9D6B96131B21CC000DDCE6 /* Release */ = { 207 | isa = XCBuildConfiguration; 208 | buildSettings = { 209 | ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; 210 | GCC_C_LANGUAGE_STANDARD = gnu99; 211 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 212 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 213 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 214 | GCC_WARN_UNUSED_VARIABLE = YES; 215 | MACOSX_DEPLOYMENT_TARGET = 10.6; 216 | SDKROOT = macosx; 217 | }; 218 | name = Release; 219 | }; 220 | 4B9D6B98131B21CC000DDCE6 /* Debug */ = { 221 | isa = XCBuildConfiguration; 222 | buildSettings = { 223 | ALWAYS_SEARCH_USER_PATHS = NO; 224 | COPY_PHASE_STRIP = NO; 225 | GCC_DYNAMIC_NO_PIC = NO; 226 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 227 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 228 | GCC_PREFIX_HEADER = "Firefox/Firefox-Prefix.pch"; 229 | INFOPLIST_FILE = "Firefox/Firefox-Info.plist"; 230 | INSTALL_PATH = "$(HOME)/Library/Bundles"; 231 | PRODUCT_NAME = "$(TARGET_NAME)"; 232 | SKIP_INSTALL = YES; 233 | WRAPPER_EXTENSION = raindrop; 234 | }; 235 | name = Debug; 236 | }; 237 | 4B9D6B99131B21CC000DDCE6 /* Release */ = { 238 | isa = XCBuildConfiguration; 239 | buildSettings = { 240 | ALWAYS_SEARCH_USER_PATHS = NO; 241 | COPY_PHASE_STRIP = YES; 242 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 243 | GCC_ENABLE_OBJC_EXCEPTIONS = YES; 244 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 245 | GCC_PREFIX_HEADER = "Firefox/Firefox-Prefix.pch"; 246 | INFOPLIST_FILE = "Firefox/Firefox-Info.plist"; 247 | INSTALL_PATH = "$(HOME)/Library/Bundles"; 248 | PRODUCT_NAME = "$(TARGET_NAME)"; 249 | SKIP_INSTALL = YES; 250 | WRAPPER_EXTENSION = raindrop; 251 | }; 252 | name = Release; 253 | }; 254 | /* End XCBuildConfiguration section */ 255 | 256 | /* Begin XCConfigurationList section */ 257 | 4B9D6B7F131B21CB000DDCE6 /* Build configuration list for PBXProject "Firefox" */ = { 258 | isa = XCConfigurationList; 259 | buildConfigurations = ( 260 | 4B9D6B95131B21CC000DDCE6 /* Debug */, 261 | 4B9D6B96131B21CC000DDCE6 /* Release */, 262 | ); 263 | defaultConfigurationIsVisible = 0; 264 | defaultConfigurationName = Release; 265 | }; 266 | 4B9D6B97131B21CC000DDCE6 /* Build configuration list for PBXNativeTarget "Firefox" */ = { 267 | isa = XCConfigurationList; 268 | buildConfigurations = ( 269 | 4B9D6B98131B21CC000DDCE6 /* Debug */, 270 | 4B9D6B99131B21CC000DDCE6 /* Release */, 271 | ); 272 | defaultConfigurationIsVisible = 0; 273 | defaultConfigurationName = Release; 274 | }; 275 | /* End XCConfigurationList section */ 276 | }; 277 | rootObject = 4B9D6B7C131B21CB000DDCE6 /* Project object */; 278 | } 279 | -------------------------------------------------------------------------------- /iPhoto/iPhoto.h: -------------------------------------------------------------------------------- 1 | /* 2 | * iPhoto.h 3 | */ 4 | 5 | #import 6 | #import 7 | 8 | 9 | @class iPhotoItem, iPhotoApplication, iPhotoColor, iPhotoDocument, iPhotoWindow, iPhotoAttributeRun, iPhotoCharacter, iPhotoParagraph, iPhotoText, iPhotoAttachment, iPhotoWord, iPhotoAlbum, iPhotoApplication, iPhotoKeyword, iPhotoPhoto, iPhotoPrintSettings; 10 | 11 | typedef enum { 12 | iPhotoSavoAsk = 'ask ' /* Ask the user whether or not to save the file. */, 13 | iPhotoSavoNo = 'no ' /* Do not save the file. */, 14 | iPhotoSavoYes = 'yes ' /* Save the file. */ 15 | } iPhotoSavo; 16 | 17 | typedef enum { 18 | iPhotoViewEdit = 'edit' /* edit */, 19 | iPhotoViewEvents = 'evts' /* events */, 20 | iPhotoViewOrganize = 'orga' /* organize */ 21 | } iPhotoView; 22 | 23 | typedef enum { 24 | iPhotoAlTyBookAlbum = 'book' /* book album */, 25 | iPhotoAlTyEventsAlbum = 'eval' /* Album containing all the events in a library. */, 26 | iPhotoAlTyFacesAlbum = 'faal' /* Album containing all the faces in a library. */, 27 | iPhotoAlTyFlaggedAlbum = 'flal' /* Album containing all the flagged photos in a library. */, 28 | iPhotoAlTyFolderAlbum = 'fldr' /* folder album */, 29 | iPhotoAlTyLastImportAlbum = 'lstI' /* last import album */, 30 | iPhotoAlTyLastMonthsAlbum = 'lstM' /* last months album */, 31 | iPhotoAlTyLastRollsAlbum = 'lstR' /* last rolls album, but please use last import album now */, 32 | iPhotoAlTyPhotoLibraryAlbum = 'aral' /* Album containing all the photos in a library. */, 33 | iPhotoAlTyPlacesAlbum = 'plal' /* Album containing all the places in a library. */, 34 | iPhotoAlTyPublishedAlbum = 'pubs' /* published album */, 35 | iPhotoAlTyRegularAlbum = 'albm' /* regular album */, 36 | iPhotoAlTySharedAlbum = 'papa' /* album of a shared library */, 37 | iPhotoAlTySharedLibrary = 'papl' /* shared library; contains one or more children, which are shared albums */, 38 | iPhotoAlTySlideshowAlbum = 'slds' /* slideshow album */, 39 | iPhotoAlTySmartAlbum = 'smrt' /* smart album */, 40 | iPhotoAlTySubscribedAlbum = 'subs' /* subscribed album */, 41 | iPhotoAlTyTrashAlbum = 'tral' /* trash album */, 42 | iPhotoAlTyUnknownAlbumType = 'aluk' /* unknown album type */ 43 | } iPhotoAlTy; 44 | 45 | typedef enum { 46 | iPhotoEnumStandard = 'lwst' /* Standard PostScript error handling */, 47 | iPhotoEnumDetailed = 'lwdt' /* print a detailed report of PostScript errors */ 48 | } iPhotoEnum; 49 | 50 | 51 | 52 | /* 53 | * Standard Suite 54 | */ 55 | 56 | // A scriptable object. 57 | @interface iPhotoItem : SBObject 58 | 59 | @property (copy) NSDictionary *properties; // All of the object's properties. 60 | 61 | - (void) closeSaving:(iPhotoSavo)saving savingIn:(NSURL *)savingIn; // Close an object. 62 | - (void) delete; // Delete an object. 63 | - (void) duplicateTo:(SBObject *)to withProperties:(NSDictionary *)withProperties; // Copy object(s) and put the copies at a new location. 64 | - (BOOL) exists; // Verify if an object exists. 65 | - (void) moveTo:(SBObject *)to; // Move object(s) to a new location. 66 | - (void) saveAs:(NSString *)as in:(NSURL *)in_; // Save an object. 67 | - (void) addTo:(id)to; // Add the given object to the container. 68 | - (void) assignKeywordString:(NSString *)string; // Assign an existing keyword to the currently-selected photos. 69 | - (void) autoImport; // Start importing photos from the auto-import folder. 70 | - (void) duplicateTo:(id)to; // Create a duplicate of an object. 71 | - (void) emptyTrash; // Empty the Trash album. 72 | - (void) importFrom:(NSString *)from forceCopy:(NSInteger)forceCopy to:(iPhotoAlbum *)to; // Import the given path. 73 | - (iPhotoAlbum *) newAlbumName:(NSString *)name; // Create a new album. 74 | - (void) nextSlide; // Skip to previous slide in currently-playing slideshow. 75 | - (void) pauseSlideshow; // Pause the currently-playing slideshow. 76 | - (void) previousSlide; // Skip to next slide in currently-playing slideshow. 77 | - (void) removeFrom:(id)from; // Remove the given object from its container. 78 | - (void) resumeSlideshow; // Resume the currently-playing slideshow. 79 | - (void) reverseGeocode; // Call after setting a photo's latitude and longitude. This command instructs iPhoto to use lat/lon to look up the country, city, point of interest, etc. 80 | - (void) select; // Select one or more objects. 81 | - (void) startSlideshowAsynchronous:(NSInteger)asynchronous displayIndex:(NSInteger)displayIndex iChat:(NSInteger)iChat usingAlbum:(NSString *)usingAlbum; // Display a slideshow with the currently-selected photos or album. 82 | - (void) stopSlideshow; // End the currently-playing slideshow. 83 | 84 | @end 85 | 86 | // An application's top level scripting object. 87 | @interface iPhotoApplication : SBApplication 88 | 89 | - (SBElementArray *) documents; 90 | - (SBElementArray *) windows; 91 | 92 | @property (readonly) BOOL frontmost; // Is this the frontmost (active) application? 93 | @property (copy, readonly) NSString *name; // The name of the application. 94 | @property (copy, readonly) NSString *version; // The version of the application. 95 | 96 | - (iPhotoDocument *) open:(NSURL *)x; // Open an object. 97 | - (void) print:(NSURL *)x printDialog:(BOOL)printDialog withProperties:(iPhotoPrintSettings *)withProperties; // Print an object. 98 | - (void) quitSaving:(iPhotoSavo)saving; // Quit an application. 99 | 100 | @end 101 | 102 | // A color. 103 | @interface iPhotoColor : iPhotoItem 104 | 105 | 106 | @end 107 | 108 | // A document. 109 | @interface iPhotoDocument : iPhotoItem 110 | 111 | @property (readonly) BOOL modified; // Has the document been modified since the last save? 112 | @property (copy) NSString *name; // The document's name. 113 | @property (copy) NSString *path; // The document's path. 114 | 115 | 116 | @end 117 | 118 | // A window. 119 | @interface iPhotoWindow : iPhotoItem 120 | 121 | @property NSRect bounds; // The bounding rectangle of the window. 122 | @property (readonly) BOOL closeable; // Whether the window has a close box. 123 | @property (copy, readonly) iPhotoDocument *document; // The document whose contents are being displayed in the window. 124 | @property (readonly) BOOL floating; // Whether the window floats. 125 | - (NSInteger) id; // The unique identifier of the window. 126 | @property NSInteger index; // The index of the window, ordered front to back. 127 | @property (readonly) BOOL miniaturizable; // Whether the window can be miniaturized. 128 | @property BOOL miniaturized; // Whether the window is currently miniaturized. 129 | @property (readonly) BOOL modal; // Whether the window is the application's current modal window. 130 | @property (copy) NSString *name; // The full title of the window. 131 | @property (readonly) BOOL resizable; // Whether the window can be resized. 132 | @property (readonly) BOOL titled; // Whether the window has a title bar. 133 | @property BOOL visible; // Whether the window is currently visible. 134 | @property (readonly) BOOL zoomable; // Whether the window can be zoomed. 135 | @property BOOL zoomed; // Whether the window is currently zoomed. 136 | 137 | 138 | @end 139 | 140 | 141 | 142 | /* 143 | * Text Suite 144 | */ 145 | 146 | // This subdivides the text into chunks that all have the same attributes. 147 | @interface iPhotoAttributeRun : iPhotoItem 148 | 149 | - (SBElementArray *) attachments; 150 | - (SBElementArray *) attributeRuns; 151 | - (SBElementArray *) characters; 152 | - (SBElementArray *) paragraphs; 153 | - (SBElementArray *) words; 154 | 155 | @property (copy) NSColor *color; // The color of the first character. 156 | @property (copy) NSString *font; // The name of the font of the first character. 157 | @property NSInteger size; // The size in points of the first character. 158 | 159 | 160 | @end 161 | 162 | // This subdivides the text into characters. 163 | @interface iPhotoCharacter : iPhotoItem 164 | 165 | - (SBElementArray *) attachments; 166 | - (SBElementArray *) attributeRuns; 167 | - (SBElementArray *) characters; 168 | - (SBElementArray *) paragraphs; 169 | - (SBElementArray *) words; 170 | 171 | @property (copy) NSColor *color; // The color of the first character. 172 | @property (copy) NSString *font; // The name of the font of the first character. 173 | @property NSInteger size; // The size in points of the first character. 174 | 175 | 176 | @end 177 | 178 | // This subdivides the text into paragraphs. 179 | @interface iPhotoParagraph : iPhotoItem 180 | 181 | - (SBElementArray *) attachments; 182 | - (SBElementArray *) attributeRuns; 183 | - (SBElementArray *) characters; 184 | - (SBElementArray *) paragraphs; 185 | - (SBElementArray *) words; 186 | 187 | @property (copy) NSColor *color; // The color of the first character. 188 | @property (copy) NSString *font; // The name of the font of the first character. 189 | @property NSInteger size; // The size in points of the first character. 190 | 191 | 192 | @end 193 | 194 | // Rich (styled) text 195 | @interface iPhotoText : iPhotoItem 196 | 197 | - (SBElementArray *) attachments; 198 | - (SBElementArray *) attributeRuns; 199 | - (SBElementArray *) characters; 200 | - (SBElementArray *) paragraphs; 201 | - (SBElementArray *) words; 202 | 203 | @property (copy) NSColor *color; // The color of the first character. 204 | @property (copy) NSString *font; // The name of the font of the first character. 205 | @property NSInteger size; // The size in points of the first character. 206 | 207 | 208 | @end 209 | 210 | // Represents an inline text attachment. This class is used mainly for make commands. 211 | @interface iPhotoAttachment : iPhotoText 212 | 213 | @property (copy) NSString *fileName; // The path to the file for the attachment 214 | 215 | 216 | @end 217 | 218 | // This subdivides the text into words. 219 | @interface iPhotoWord : iPhotoItem 220 | 221 | - (SBElementArray *) attachments; 222 | - (SBElementArray *) attributeRuns; 223 | - (SBElementArray *) characters; 224 | - (SBElementArray *) paragraphs; 225 | - (SBElementArray *) words; 226 | 227 | @property (copy) NSColor *color; // The color of the first character. 228 | @property (copy) NSString *font; // The name of the font of the first character. 229 | @property NSInteger size; // The size in points of the first character. 230 | 231 | 232 | @end 233 | 234 | 235 | 236 | /* 237 | * iPhoto suite 238 | */ 239 | 240 | // An album. This abstract class represents the albums within an iPhoto library. 241 | @interface iPhotoAlbum : iPhotoItem 242 | 243 | - (SBElementArray *) keywords; 244 | - (SBElementArray *) photos; 245 | 246 | @property (copy, readonly) NSArray *children; // Array of album's children albums in the library hierarchy. 247 | - (NSInteger) id; // The unique ID of the album. 248 | @property (copy) NSString *name; // The name of the album. 249 | @property (copy, readonly) iPhotoAlbum *parent; // Album's parent in the library hierarchy. 250 | @property (readonly) iPhotoAlTy type; // Type of album. 251 | @property (copy, readonly) NSString *url; // URL of published/subscribed album. 252 | 253 | 254 | @end 255 | 256 | // iPhoto's top level scripting object. 257 | @interface iPhotoApplication (IPhotoSuite) 258 | 259 | - (SBElementArray *) albums; 260 | - (SBElementArray *) keywords; 261 | - (SBElementArray *) photos; 262 | 263 | @property (copy) iPhotoAlbum *currentAlbum; // The selected album. 264 | @property (copy, readonly) iPhotoAlbum *eventsAlbum; // Events album. 265 | @property (copy, readonly) iPhotoAlbum *facesAlbum; // Faces album. 266 | @property (copy, readonly) iPhotoAlbum *flaggedAlbum; // Flagged photos album. 267 | @property (readonly) NSInteger importing; // Returns true if photo importing is in progress. 268 | @property (copy, readonly) iPhotoAlbum *lastImportAlbum; // Last import album. 269 | @property (copy, readonly) iPhotoAlbum *lastMonthsAlbum; // The set of N most recently imported month(s) of photos. N is based on the preference set in iPhoto. 270 | @property (copy, readonly) iPhotoAlbum *lastRollsAlbum; // Now obsolete; please use last import album. Old: The set of N most recently imported roll(s) of photos. N is based on the preference set in iPhoto. 271 | @property (copy, readonly) NSArray *localRootAlbums; // Returns local albums that are at the root level in the source view. 272 | @property (copy) NSString *mailAddress; // The address for the e-mail. 273 | @property (copy) NSString *mailRecipient; // The recipient for the e-mail. 274 | @property (copy) NSString *mailSubject; // The subject for the e-mail. 275 | @property (copy, readonly) iPhotoAlbum *photoLibraryAlbum; // The photo library. 276 | @property (copy, readonly) iPhotoAlbum *placesAlbum; // Places album. 277 | @property (copy) NSArray *selection; // The current selection. 278 | @property (copy, readonly) NSArray *sharedLibraryAlbums; // Returns shared libraries from other computers on the network. 279 | @property (readonly) NSInteger slideshowRunning; // Returns true if a slideshow is currently running. 280 | @property (copy, readonly) iPhotoAlbum *trashAlbum; // The set of deleted photos. 281 | @property iPhotoView view; // The current view in the application. 282 | 283 | @end 284 | 285 | // A keyword to associate with a photo. 286 | @interface iPhotoKeyword : iPhotoItem 287 | 288 | @property (copy) NSString *name; // The string value of the keyword. 289 | 290 | 291 | @end 292 | 293 | // A photo. 294 | @interface iPhotoPhoto : iPhotoItem 295 | 296 | - (SBElementArray *) keywords; 297 | 298 | @property NSInteger altitude; // The GPS altitude in meters; MAXFLOAT means no altitude information. 299 | @property (copy) NSString *comment; // A comment about the photo. 300 | @property (copy) NSDate *date; // The date of the photo. 301 | @property (copy, readonly) NSArray *dimensions; // The width and height of the photo in pixels. 302 | @property (readonly) NSInteger height; // The height of the photo in pixels. 303 | - (NSInteger) id; // The unique ID of the photo. 304 | @property (copy, readonly) NSString *imageFilename; // The name of the image file. 305 | @property (copy, readonly) NSString *imagePath; // The path to the image file. 306 | @property NSInteger latitude; // The GPS latitude in range -90.0 to 90.0; MAXFLOAT means no GPS information. Use reverse geocode command after setting lat/lon. 307 | @property NSInteger longitude; // The GPS longitude in range -180.0 to 180.0; MAXFLOAT means no GPS information. Measurement is taken from the prime meridian, so 'west' longitudes are negative numbers. Use reverse geocode command after setting lat/lon. 308 | @property (copy) NSString *name; // The name (title) of the photo. 309 | @property (copy, readonly) NSString *originalPath; // The path to the original image as it was imported to iPhoto. 310 | @property NSInteger rating; // The start rating (0 through 5). 311 | @property (copy, readonly) NSString *thumbnailFilename; // The name of the thumbnail file. 312 | @property (copy, readonly) NSString *thumbnailPath; // The path to the thumbnail file. 313 | @property (copy) NSString *title; // The title (name) of the photo. 314 | @property (readonly) NSInteger width; // The width of the photo in pixels. 315 | 316 | 317 | @end 318 | 319 | 320 | 321 | /* 322 | * Type Definitions 323 | */ 324 | 325 | @interface iPhotoPrintSettings : SBObject 326 | 327 | @property NSInteger copies; // the number of copies of a document to be printed 328 | @property BOOL collating; // Should printed copies be collated? 329 | @property NSInteger startingPage; // the first page of the document to be printed 330 | @property NSInteger endingPage; // the last page of the document to be printed 331 | @property NSInteger pagesAcross; // number of logical pages laid across a physical page 332 | @property NSInteger pagesDown; // number of logical pages laid out down a physical page 333 | @property (copy) NSDate *requestedPrintTime; // the time at which the desktop printer should print the document 334 | @property iPhotoEnum errorHandling; // how errors are handled 335 | @property (copy) NSString *faxNumber; // for fax number 336 | @property (copy) NSString *targetPrinter; // for target printer 337 | 338 | - (void) closeSaving:(iPhotoSavo)saving savingIn:(NSURL *)savingIn; // Close an object. 339 | - (void) delete; // Delete an object. 340 | - (void) duplicateTo:(SBObject *)to withProperties:(NSDictionary *)withProperties; // Copy object(s) and put the copies at a new location. 341 | - (BOOL) exists; // Verify if an object exists. 342 | - (void) moveTo:(SBObject *)to; // Move object(s) to a new location. 343 | - (void) saveAs:(NSString *)as in:(NSURL *)in_; // Save an object. 344 | - (void) addTo:(id)to; // Add the given object to the container. 345 | - (void) assignKeywordString:(NSString *)string; // Assign an existing keyword to the currently-selected photos. 346 | - (void) autoImport; // Start importing photos from the auto-import folder. 347 | - (void) duplicateTo:(id)to; // Create a duplicate of an object. 348 | - (void) emptyTrash; // Empty the Trash album. 349 | - (void) importFrom:(NSString *)from forceCopy:(NSInteger)forceCopy to:(iPhotoAlbum *)to; // Import the given path. 350 | - (iPhotoAlbum *) newAlbumName:(NSString *)name; // Create a new album. 351 | - (void) nextSlide; // Skip to previous slide in currently-playing slideshow. 352 | - (void) pauseSlideshow; // Pause the currently-playing slideshow. 353 | - (void) previousSlide; // Skip to next slide in currently-playing slideshow. 354 | - (void) removeFrom:(id)from; // Remove the given object from its container. 355 | - (void) resumeSlideshow; // Resume the currently-playing slideshow. 356 | - (void) reverseGeocode; // Call after setting a photo's latitude and longitude. This command instructs iPhoto to use lat/lon to look up the country, city, point of interest, etc. 357 | - (void) select; // Select one or more objects. 358 | - (void) startSlideshowAsynchronous:(NSInteger)asynchronous displayIndex:(NSInteger)displayIndex iChat:(NSInteger)iChat usingAlbum:(NSString *)usingAlbum; // Display a slideshow with the currently-selected photos or album. 359 | - (void) stopSlideshow; // End the currently-playing slideshow. 360 | 361 | @end 362 | --------------------------------------------------------------------------------