The Storage Kit: System Tables and Resources


System Tables

This section lists the names of the tables that are defined by the Storage Kit, as well as the names (and types) of the tables' fields. You should never need to use these tables, except to create other tables that inherit from them--you certainly shouldn't take advantage of the field definitions presented here in order to set record values yourself. They're listed, primarily, so you can avoid name collisions. Note that none of these names (whether of the tables or their fields) are defined as constants, nor are they published in any of the header files.

If you want your tables to show up in a Browser query window, the table must inherit, however remotely, from "BrowserItem". Furthermore, only those fields that start with a capital letter are displayed in the letter. Uncapitalized field names are considered private.


"Icon"

Declared in: Parent table: (none)

Field Name Field Type
"creator" LONG_TYPE
"type" LONG_TYPE
"largeBits" RAW_TYPE
"smallBits" RAW_TYPE


"Dock"

Declared in: Parent table: (none)

Field Name Field Type
"dbType" LONG_TYPE
"dock_mode" LONG_TYPE
"big_origin" RAW_TYPE
"mini_origin" RAW_TYPE


"BrowserItem"

Declared in: Parent table: (none)

Field Name Field Type
"Name" STRING_TYPE
"Size" LONG_TYPE
"Created" TIME_TYPE
"Modified" TIME_TYPE
"parentID" LONG_TYPE
"dbType" LONG_TYPE
"fsType" LONG_TYPE
"fsCreator" LONG_TYPE
"parentRef" RECORD_TYPE
"flags" LONG_TYPE
"xLoc" LONG_TYPE
"yLoc" LONG_TYPE
"iconRef" RECORD_TYPE
"dock_index" LONG_TYPE
"openOnMount" LONG_TYPE
"inited" LONG_TYPE
"invisible" LONG_TYPE


"FSItem"

Declared in: Parent table: "BrowserItem"

Field Name Field Type
"appFlags" LONG_TYPE
"version" LONG_TYPE


"File"

Declared in: Parent table: "FSItem"

Field Name Field Type
"Project" STRING_TYPE
"Description" STRING_TYPE


"Folder"

Declared in: Parent table: "FSItem"

Field Name Field Type
"sortProperty" LONG_TYPE
"sortReverse" LONG_TYPE
"dirID" LONG_TYPE
"viewMode" LONG_TYPE
"lastIconMode" LONG_TYPE
"numProperties" LONG_TYPE
"propertyList" RAW_TYPE
"windRect" RAW_TYPE
"iconOrigin" RAW_TYPE
"listOrigin" RAW_TYPE


"Proxy"

Declared in: Parent table: "BrowserItem"

Field Name Field Type
"realItem" RECORD_TYPE


"Volume"

Declared in: Parent table: "Folder"

Field Name Field Type
"Volume Size" LONG_TYPE
"isLocal" LONG_TYPE


"Machine"

Declared in: Parent table: "Folder"

Field Name Field Type
(none)


"Query"

Declared in: Parent table: "Folder"

Field Name Field Type
"QueryString" STRING_TYPE
"flatQuery" RAW_TYPE
"database_id" LONG_TYPE


"Person"

Declared in: Parent table: "BrowserItem"

Field Name Field Type
"Company" STRING_TYPE
"Address" STRING_TYPE
"Phone" STRING_TYPE
"City" STRING_TYPE
"State" STRING_TYPE
"Zip" STRING_TYPE
"E-mail" STRING_TYPE
"Fax" STRING_TYPE
"Comments" STRING_TYPE


"E-Mail"

Declared in: Parent table: "BrowserItem"

Field Name Field Type
"Status" STRING_TYPE
"Priority" LONG_TYPE
"From" STRING_TYPE
"Subject" STRING_TYPE
"Reply" STRING_TYPE
"When" DOUBLE_TYPE
"Enclosures" LONG_TYPE
"header" RAW_TYPE
"content" RAW_TYPE
"content_file" RECORD_TYPE
"enclosures" RAW_TYPE
"mail_flags" LONG_TYPE


"Message"

Declared in: Parent table: "BrowserItem"

Field Name Field Type
"Status" LONG_TYPE
"Kind" LONG_TYPE
"From" STRING_TYPE
"When" TIME_TYPE
"Length" LONG_TYPE
"dataFile" STRING_TYPE
"At" STRING_TYPE
"outbound" LONG_TYPE
"Forum" STRING_TYPE


"Preference"

Declared in: Parent table: "BrowserItem"

Field Name Field Type
"appSignature" LONG_TYPE
"version" LONG_TYPE
"User Name" STRING_TYPE


System Resources

This section lists the resource types that the Be software uses. To be specific, the Icon World application adds resources of the following types to the applications that you create; the Browser looks for and recognizes these resource types when it displays file information and icons.

As with the table listings, above, the following is provided primarily so you can avoid unintentional collisions--in general, you shouldn't add resources by the types listed below. However, it isn't inconceivable that someone might try adding an 'ICON' resource directly (for example).


'APPI'

The resource that's identified by the type 'APPI' stores information about the application. The data in the resource is a single app_info structure. This structure is described in Chapter 2, "The Application Kit." The name of the 'APPI' resource is "app info".


'ICON'

The 'ICON'-type resource holds data that creates the application's large icons. The data for the resource is a 32x32 pixel bitmap in COLOR_8_BIT color space. For the exact representation of such data, see the BBitmap class in the Interface Kit.

There can be more than one 'ICON'-typed resource:


'MICN'

The 'MICN' type resource holds "mini-icon" data. The details are the same as the 'ICON' type described above, except that a mini-icon is a 16x16 pixel bitmap.




The Be Book, HTML Edition, for Developer Release 8 of the Be Operating System.

Copyright © 1996 Be, Inc. All rights reserved.

Be, the Be logo, BeBox, BeOS, BeWare, and GeekPort are trademarks of Be, Inc.

Last modified September 6, 1996.