Hi,
title says it all, though cryptically perhaps.
I am writing a mini storyboarding application and am
about to embark on the persistence part of the project.
And I need some advice on how to structure my db(s?)
for this.
So far, I have structured my data as follows:
- the db will contain 0, 1, or more clips
- each clip contains 0, 1, or more shots
- each shot contains 0, 1, or more frames
- each frame contains bitmap data
- shots form a double-linked list
- frames within a shot form a double-linked list
i.e.
typedef struct
{
char author[80],
char notes[1024],
shot * head;
}
clip;
typedef struct
{
int duration;
frame * head;
shot * next;
shot * prev;
}
shot;
typedef struct
{
BitmapPtr data;
frame * next;
frame * prev;
}
frame;
Any advice would be much appreciated.
Thanks
Alex
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/