pleyo.com

BAL Overview

< QuickStart | OrigynWebBrowser | Contents >

Introduction

BAL stands for Browser Abstraction Layer. Its purpose is to make port to another platform easy and quick. In the next section is detailled principles that conduct BAL abstraction. The chapter details interfaces and behaviour specification, module per module.

Principles

Skeletons

BAL abstraction is based on skeletons. Skeletons are BAL classes descriptions. the skeletons are generated from platform and wtf directories. These classes contains all methods and doxygen descriptions. No default implementation is tolerated. All classes in concretizations are generated from skeletons. As a convention, interfaces are part of the namespace OWBAL/WKAL, and are named .t .

Concretisation

Concretisation are construc by the skeletons, with the implementation of the given methods. It is sometimes referred to as a component. The convention is to place such class in the OWBAL/WKAL namespace, to prefix it with a BC and to suffix by the concretization name ( SDL/GTK/Linux...) .

BAL is splitted in two namespaces, OWBAL and WKAL. WKAL can be have dependance in WebCore but OWBAL no. OWBAL is only platform dependant.

BAL modules


Generated on Mon Jun 30 16:22:03 2008 for Origyn Web Browser by Doxygen 1.5.5

pleyo.com
pleyo.com