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:
Doug Blank
2010-08-21 20:20:34 +00:00
parent 1b884b129d
commit fcef732f93
4 changed files with 44 additions and 3 deletions

View File

@ -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