Add reference counting to IDatabase (bug 5876 part 2, r=ds).

--HG--
extra : rebase_source : 9fef982c3923a2f5cb842b3b8a5cca235ef9c6b9
This commit is contained in:
David Anderson
2013-08-23 00:18:12 -07:00
parent f7991185ba
commit dac42ee272
5 changed files with 33 additions and 36 deletions
+2 -1
View File
@@ -40,6 +40,7 @@
#include "sh_list.h"
#include <am-thread-utils.h>
#include <am-refcounting.h>
char * UTIL_strncpy(char * destination, const char * source, size_t num);
@@ -152,7 +153,7 @@ public:
IdentityToken_t *GetIdentity() const;
public:
IDBDriver *Driver;
IDatabase *Database;
ke::Ref<IDatabase> Database;
IPhraseCollection *phrases;
const DatabaseInfo *DBInfo;