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
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to