BookmarkBridge User Manual
Chapter 3. How BookmarkBridge Works
Source Code Roadmap
This section gives a brief overview of the source code for BookmarkBridge. It describes
each source code file and the important files used for compiling.
Table of Contents
Compiling BookmarkBridge From Source
This file implements the BkNode, BkBookmark, and BkFolder classes.
These classes implement the bookmark tree, used to represent the
bookmarks and folder within each browser.
This file implements the BkUtil class. This class implements the
high-level functionality used to read bookmarks and save bookmarks.
The code in this class is used by the GUI and by the command-line
operations. It depends on several other important classes to
perform its work.
This file implements the BridgeCfg class. This class reads and writes
the configuration file, bridgeconf.xml. It stores the configuration in
several public variables and completely hides the configuration file
This file implements the BrowserBk class. This is an abstract base
class from which classes for each browser derive. It includes code to
combine a browser's bookmarks into the combined bookmark tree, and to
detect and resolve differences between the bookmarks of different
browsers. It implements several pure virtual functions that interface
to browser specific code. This allows BookmarkBridge to support many
different browsers with no changes to the core program logic.
This file is a place-holder for a global array listing each browser
supported by BookmarkBridge. To implement support for a new browser,
simply derive a class from BrowserBk and add an entry to the list in
This file implements the About dialog box.
This file implements the Add Browser dialog box. This is a dialog
presented to the user when they want to add a new browser configuration
by clicking on the Add button in the Settings window.
This file implements the Browsers dialog box. This is a dialog
presented to the user when they want to add a configured browser as a
source or destination.
This file implements the help dialog box.
This file implements the main dialog window of BookmarkBridge.
This file implements the Setting dialog box.
This file implements the View Bookmarks dialog box.
This file implements Internet Explorer functionality.
This file contains the main() function entry point. It
parses command-line options and launches the main dialog box.
This file implements Mozilla/Netscape functionality.
This file reads the XBEL file, containing the bookmark tree.
This file writes the XBEL file, containing the bookmark tree.
This file, used only with Windows, implements the getopt()
This file interfaces with libxml2 and provides a state machine
for parsing recursive XML or HTML files.
BookmarkBridge is Copyright © 2003 by Ken Schenke.
All Rights Reserved. This program is free
software; you can redistribute it and/or modify it under the terms of the
GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.