On Tue, Jan 22, 2002 at 06:27:09PM +0100, Michael Nordstr?m wrote:
> Yes. The biggest issue at the moment is how to handle the files in the
> Document Library, i.e. what information to store. I want to store as
> little as possible to save memory and also have less info to update
> when it is changed. I have some new ideas I will try out the next few
> days.
Hmm... Partly as an effort to teach myself the Palm API, I've started
writing this myself. What I was thinking about is storing the actual
pdb created by the parser on the ext. memory and keep it there. Any cache
or other files related to the main pdb would be stored on internal
memeory.

Initially I was thinking about having a directory list of some common
locations where pdb files could exist. ie, /Palm/Launcher,
/Palm/Programs/Plucker, /Palm/Programs/MSFiles (memory stick specific).

When running InitDocList(), it would go through and search these
directories to see if they exist, if they do, find any files with the
Plkr creatorId, and Data documentId. If it finds anything, import the
memory handle into the list previously defined by InitDocList() and make
them appear in the library as a regular file.

I know there is more involved such as actually loading file file,
deleting it, etc etc.. but this is just what i have so far :)

I guess the idea behind his is to include proper VFS support for OS4,
and to teach myself the API

If it does work, I would just provide a patch for you guys to mangle
or trash if you want :)

> BTW, the viewer can already beam Plucker documents direct from the 
> CF card in a TRGpro.
Under the current cvs version, I don't have that ability on the Clie yet,.. 


-- 
Adam McDaniel
Infrastructure Technology Consultant
M-Tech Mercury Information Technology, Inc.

Reply via email to