API Guide Home (Online version only) |

# FileBrowserLibCommon.h File Reference

## Detailed Description

Public 68K common header file for File Browser library API.

Version:
  1.0

This file contains the File Browser Library common definitions and error codes.

Definition in file FileBrowserLibCommon.h.

Include dependency graph for FileBrowserLibCommon.h:

Go to the source code of this file.

## Defines

- #define kFileBrowserLibName "FileBrowser-PFil"
- #define kFileBrowserLibFlagOneVolume 0x00000001UL
- #define kFileBrowserLibMaxPathLength 2047
- #define kFileBrowserLibPathBufferSize (kFileBrowserLibMaxPathLength + 1)
- #define exgRegEditCreatorID 0xff7b
- #define exgRegEditExtensionID 0xff7d
- #define exgRegEditTypeID 0xff7e
- #define kFileBrowserLibCtlGetVersion exgLibCtlSpecificOp
- #define kFileBrowserLibAPIVersion0 0
- #define kFileBrowserLibAPIVersion1 1

Flags for Open dialog

- #define kFileBrowserLibFlagNoFiles 0x00000002UL
- #define kFileBrowserLibFlagNoFolders 0x00000004UL

Flags for Save As dialog

- #define kFileBrowserLibFlagPromptOverwrite 0x00000008UL
- #define kFileBrowserLibFlagRequireExtension 0x00000010UL
- #define kFileBrowserLibFlagNoNewFolder 0x00000020UL

Flags for Open & Save As dialog

- #define kFileBrowserLibFlagNoDirChange 0x00000040UL
- #define kFileBrowserLibFlagNoSubDir 0x00000080UL

Error Codes

- #define kFileBrowserLibErrorClass (oemErrorClass + 0x0400)
- #define kFileBrowserLibErrStillOpen (kFileBrowserLibErrorClass | 0x01)
- #define kFileBrowserLibErrPathTooLong (kFileBrowserLibErrorClass | 0x02)
- #define kFileBrowserLibErrMemError (kFileBrowserLibErrorClass | 0x03)
- #define kFileBrowserLibErrCantFind (kFileBrowserLibErrorClass | 0x04)
- #define kFileBrowserLibErrInternal (kFileBrowserLibErrorClass | 0x05)
- #define kFileBrowserLibErrCantOpen (kFileBrowserLibErrorClass | 0x06)
- #define kFileBrowserLibErrCantParse (kFileBrowserLibErrorClass | 0x07)

Function Traps

- #define kFileBrowserLibTrapShowOpenDialog (exgLibTrapLast)
- #define kFileBrowserLibTrapShowSaveAsDialog (exgLibTrapLast + 1)
- #define kFileBrowserLibTrapParseFileURL (exgLibTrapLast + 2)
- #define kFileBrowserLibTrapShowMultiselectDialog (exgLibTrapLast + 3)

## Define Documentation

#define exgRegEditCreatorID 0xff7b

Definition at line 78 of file FileBrowserLibCommon.h.

#define exgRegEditExtensionID 0xff7d

Definition at line 79 of file FileBrowserLibCommon.h.

#define exgRegEditTypeID 0xff7e

Definition at line 80 of file FileBrowserLibCommon.h.

#define kFileBrowserLibAPIVersion0 0

Definition at line 86 of file FileBrowserLibCommon.h.

#define kFileBrowserLibAPIVersion1 1

Definition at line 87 of file FileBrowserLibCommon.h.

#define kFileBrowserLibCtlGetVersion exgLibCtlSpecificOp

Definition at line 83 of file FileBrowserLibCommon.h.

#define kFileBrowserLibErrCantFind (kFileBrowserLibErrorClass | 0x04)

Definition at line 95 of file FileBrowserLibCommon.h.

#define kFileBrowserLibErrCantOpen (kFileBrowserLibErrorClass | 0x06)

Definition at line 97 of file FileBrowserLibCommon.h.

#define kFileBrowserLibErrCantParse (kFileBrowserLibErrorClass | 0x07)

Definition at line 98 of file FileBrowserLibCommon.h.

#define kFileBrowserLibErrInternal (kFileBrowserLibErrorClass | 0x05)

Definition at line 96 of file FileBrowserLibCommon.h.

#define kFileBrowserLibErrMemError (kFileBrowserLibErrorClass | 0x03)

Definition at line 94 of file FileBrowserLibCommon.h.

#define kFileBrowserLibErrorClass (oemErrorClass + 0x0400)

Definition at line 91 of file FileBrowserLibCommon.h.

#define kFileBrowserLibErrPathTooLong (kFileBrowserLibErrorClass | 0x02)

Definition at line 93 of file FileBrowserLibCommon.h.

#define kFileBrowserLibErrStillOpen (kFileBrowserLibErrorClass | 0x01)

Definition at line 92 of file FileBrowserLibCommon.h.

#define kFileBrowserLibFlagNoDirChange 0x00000040UL

stay within tree

Definition at line 68 of file FileBrowserLibCommon.h.

#define kFileBrowserLibFlagNoFiles 0x00000002UL

no files; only folders

Definition at line 55 of file FileBrowserLibCommon.h.

#define kFileBrowserLibFlagNoFolders 0x00000004UL

no folders; only files

Definition at line 56 of file FileBrowserLibCommon.h.

#define kFileBrowserLibFlagNoNewFolder 0x00000020UL

no New Folder button

Definition at line 63 of file FileBrowserLibCommon.h.

#define kFileBrowserLibFlagNoSubDir 0x00000080UL

stay within folder

Definition at line 69 of file FileBrowserLibCommon.h.

#define kFileBrowserLibFlagOneVolume 0x00000001UL

Flags for Open and Save As dialogs

Definition at line 51 of file FileBrowserLibCommon.h.

#define kFileBrowserLibFlagPromptOverwrite 0x00000008UL

warn before replacing

Definition at line 61 of file FileBrowserLibCommon.h.

#define kFileBrowserLibFlagRequireExtension 0x00000010UL

only given extensions

Definition at line 62 of file FileBrowserLibCommon.h.

#define kFileBrowserLibMaxPathLength 2047

Definition at line 73 of file FileBrowserLibCommon.h.

#define kFileBrowserLibName "FileBrowser-PFil"

Use SysLibFind to find this library. There is no need to load it. This must match the database name since this is an Exchange Library In Application (ELIA).

Definition at line 49 of file FileBrowserLibCommon.h.

#define kFileBrowserLibPathBufferSize (kFileBrowserLibMaxPathLength + 1)

Definition at line 74 of file FileBrowserLibCommon.h.

#define kFileBrowserLibTrapParseFileURL (exgLibTrapLast + 2)

Definition at line 105 of file FileBrowserLibCommon.h.

#define kFileBrowserLibTrapShowMultiselectDialog (exgLibTrapLast + 3)

Definition at line 106 of file FileBrowserLibCommon.h.

#define kFileBrowserLibTrapShowOpenDialog (exgLibTrapLast)

Definition at line 103 of file FileBrowserLibCommon.h.

#define kFileBrowserLibTrapShowSaveAsDialog (exgLibTrapLast + 1)

Definition at line 104 of file FileBrowserLibCommon.h.

Top | Palm Developer Network © 2004-2008, Palm, Inc. All rights reserved. Generated on Fri Jun 13 10:06:57 2008 for Palm API Guide