[webkit-dev] Help for Folder support for bookmark

by Arsh Kapooron 2009-07-06T10:01:04+00:00
--000e0cd50a6c57c937046e069553
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hi All,
I am implementing bookmarks in folder.So,along with the bookmarks
list,bookmarks will also be stored in folders.
For that I have used a structure Folder_Record which contains two
members.foldername and parentfoldername.Now,when a bookmark is added it is
stored in the current folder.
Also UserInterface has an option something as ADDFolder wherein you can add
new folder.Now if the current added folder has no parent,parentfoldername
becomes ROOT.But,if it has a parent than that foldername is stored as
parentfoldername.
I am using SQlite database where in the add query I am inserting values of
the folderrecord structure taken from the User Interface.
Can someone help me in implementing the check condition for
parentfoldername?As in if the present folder has no parent ,then ROOT should
be stored in database.But if there is a parent folder than that foldername
should be stored as parentfoldername in database.
Thanks,
Arsh
--000e0cd50a6c57c937046e069553
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi All,I am implementing bookmarks in folder.So,along with the book=
marks list,bookmarks will also be stored in folders.For that I have use=
d a structure Folder_Record which contains two members.foldername and paren=
tfoldername.Now,when a bookmark is added it is stored in the current folder=
.
Also UserInterface has an option something as=A0 ADDFolder wherein you =
can add new folder.Now if the current added folder has no parent,parentfold=
ername becomes ROOT.But,if it has a parent than that foldername is stored a=
s parentfoldername.
I am using SQlite database where in the add query I am inserting values of =
the folderrecord structure taken from the User Interface.Can so=
meone help me in implementing the check condition for parentfoldername?As i=
n if the present folder has no parent ,then ROOT should be stored in databa=
se.But if there is a parent folder than that foldername should be stored as=
parentfoldername in database.
Thanks,Arsh
--000e0cd50a6c57c937046e069553--