Added dbid and dbname to databases; id is the unique dir name, and name is the assigned name stored in text file
svn: r15786
This commit is contained in:
@ -1055,6 +1055,18 @@ class DbReadBase(object):
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
def get_dbid(self):
|
||||
"""
|
||||
A unique ID for this database on this computer.
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
def get_dbname(self):
|
||||
"""
|
||||
A name for this database on this computer.
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
class DbWriteBase(object):
|
||||
"""
|
||||
GRAMPS database object. This object is a base class for all
|
||||
|
Reference in New Issue
Block a user