diff options
author | George Hazan <george.hazan@gmail.com> | 2015-04-03 20:34:27 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-04-03 20:34:27 +0000 |
commit | b8da724473d63de288f27af5d81a07ce29ce2d90 (patch) | |
tree | e2076737ba2227ab058b562e2e7c5d99696b6d34 /plugins/Dbx_kyoto/src/init.cpp | |
parent | 2dda26c2d63fb543d06f046a5908ba43a5fd716e (diff) |
unique class name
git-svn-id: http://svn.miranda-ng.org/main/trunk@12591 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_kyoto/src/init.cpp')
-rw-r--r-- | plugins/Dbx_kyoto/src/init.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/Dbx_kyoto/src/init.cpp b/plugins/Dbx_kyoto/src/init.cpp index e9e3247fd8..a78c4f91ad 100644 --- a/plugins/Dbx_kyoto/src/init.cpp +++ b/plugins/Dbx_kyoto/src/init.cpp @@ -42,21 +42,21 @@ static PLUGININFOEX pluginInfo = HINSTANCE g_hInst = NULL;
-LIST<CDbxKV> g_Dbs(1, HandleKeySortT);
+LIST<CDbxKyoto> g_Dbs(1, HandleKeySortT);
/////////////////////////////////////////////////////////////////////////////////////////
// returns 0 if the profile is created, EMKPRF*
static int makeDatabase(const TCHAR *profile)
{
- std::auto_ptr<CDbxKV> db(new CDbxKV(profile, 0));
+ std::auto_ptr<CDbxKyoto> db(new CDbxKyoto(profile, 0));
return db->Create();
}
// returns 0 if the given profile has a valid header
static int grokHeader(const TCHAR *profile)
{
- std::auto_ptr<CDbxKV> db(new CDbxKV(profile, DBMODE_SHARED | DBMODE_READONLY));
+ std::auto_ptr<CDbxKyoto> db(new CDbxKyoto(profile, DBMODE_SHARED | DBMODE_READONLY));
return db->Check();
}
@@ -66,7 +66,7 @@ static MIDatabase* LoadDatabase(const TCHAR *profile, BOOL bReadOnly) // set the memory, lists & UTF8 manager
mir_getLP(&pluginInfo);
- std::auto_ptr<CDbxKV> db(new CDbxKV(profile, (bReadOnly) ? DBMODE_READONLY : 0));
+ std::auto_ptr<CDbxKyoto> db(new CDbxKyoto(profile, (bReadOnly) ? DBMODE_READONLY : 0));
if (db->Load(false) != ERROR_SUCCESS)
return NULL;
@@ -76,14 +76,14 @@ static MIDatabase* LoadDatabase(const TCHAR *profile, BOOL bReadOnly) static int UnloadDatabase(MIDatabase *db)
{
- g_Dbs.remove((CDbxKV*)db);
- delete (CDbxKV*)db;
+ g_Dbs.remove((CDbxKyoto*)db);
+ delete (CDbxKyoto*)db;
return 0;
}
MIDatabaseChecker* CheckDb(const TCHAR *profile, int *error)
{
- std::auto_ptr<CDbxKV> db(new CDbxKV(profile, DBMODE_READONLY));
+ std::auto_ptr<CDbxKyoto> db(new CDbxKyoto(profile, DBMODE_READONLY));
if (db->Load(true) != ERROR_SUCCESS) {
*error = ERROR_ACCESS_DENIED;
return NULL;
|