aboutsummaryrefslogtreecommitdiff
blob: 3a3abd1b8e8961a4e318c94755a91cec037756b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

'''
XML database plug-in module for layman.
'''

module_spec = {
    'name': 'xml_db',
    'description': __doc__,
    'provides':{
        'xml-module': {
            'name': 'xml_db',
            'class': 'DBHandler',
            'description': __doc__,
            'functions': ['add_new', 'read_db', 'write'],
            'func_desc': {
                'add_new': 'Adds overlay(s) from provided database text',
                'read_db': 'Reads the list of overlays from database file',
                'write'  : 'Writes the list of overlays to database file',
            },
        }
    }
}