//************************************************************************************** // Filename: NavDialogs.h // Part of Contextual Menu Workshop by Abracode Inc. // http://free.abracode.com/cmworkshop/ // Copyright © 2002-2003 Abracode, Inc. All rights reserved. // // Description: // //************************************************************************************** #pragma once #if defined(__MACH__) #import #else #include #include #endif //defined(__MACH__) Boolean CreatePathFromSaveAsDialog(CFURLRef &outRef, CFStringRef inClientName, CFStringRef inMessage); Boolean CreatePathFromChooseFileDialog(CFURLRef &outRef, CFStringRef inClientName, CFStringRef inMessage); Boolean CreatePathFromChooseFolderDialog(CFURLRef &outRef, CFStringRef inClientName, CFStringRef inMessage); Boolean CreatePathFromChooseObjectDialog(CFURLRef &outRef, CFStringRef inClientName, CFStringRef inMessage); Boolean ChooseFolderDialog(FSRef &outFolderRef, CFStringRef inClientName, CFStringRef inMessage, CFStringRef inActionButtLabel); Boolean ChooseFileDialog(FSRef &outRef, CFStringRef inClientName, CFStringRef inMessage, CFStringRef inActionButtLabel); CFURLRef FURLCreateFromNavReply(const NavReplyRecord * navReply); OSStatus GetFSRefFromNavReply(const NavReplyRecord * navReply, FSRef &outFSRef);