1
/* Copyright 2011 Yorba Foundation
3
* This software is licensed under the GNU Lesser General Public License
4
* (version 2.1 or later). See the COPYING file in this distribution.
7
/* This file is the master unit file for the AlienDb.FSpot unit. It should be edited to include
8
* whatever code is deemed necessary.
10
* The init() and terminate() methods are mandatory.
12
* If the unit needs to be configured prior to initialization, add the proper parameters to
13
* the preconfigure() method, implement it, and ensure in init() that it's been called.
16
namespace AlienDb.FSpot {
18
// preconfigure may be deleted if not used.
19
public void preconfigure() {
22
public void init() throws Error {
23
FSpotDatabaseDriver.init();
24
AlienDb.AlienDatabaseHandler.get_instance().register_driver(
25
FSpotDatabaseDriver.get_instance()
29
public void terminate() {
30
AlienDb.AlienDatabaseHandler.get_instance().unregister_driver(
31
FSpotDatabaseDriver.get_instance()
33
FSpotDatabaseDriver.terminate();