diff options
author | Alexey Kulakov <panda75@bk.ru> | 2012-07-28 18:35:29 +0000 |
---|---|---|
committer | Alexey Kulakov <panda75@bk.ru> | 2012-07-28 18:35:29 +0000 |
commit | 3ccd712341ed9e76252bd595c5a797d6c8ea8992 (patch) | |
tree | 14ce3d3ba5cbcbebca29c5ba618086c9fd768028 /include/delphi/m_database.inc | |
parent | be3185a374d39a8ee0f12a4e985ecca279633fff (diff) |
Delphi API updates
git-svn-id: http://svn.miranda-ng.org/main/trunk@1229 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/delphi/m_database.inc')
-rw-r--r-- | include/delphi/m_database.inc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/delphi/m_database.inc b/include/delphi/m_database.inc index 5ce91df2b3..784610fe3b 100644 --- a/include/delphi/m_database.inc +++ b/include/delphi/m_database.inc @@ -26,6 +26,23 @@ const MS_DB_GETPROFILEPATH :PAnsiChar = 'DB/GetProfilePath';
MS_DB_GETPROFILEPATHW:PAnsiChar = 'DB/GetProfilePathW';
+ {
+ Sets the default profile name programmatically
+ Analog of Database/DefaultProfile in mirandaboot.ini
+ wParam = (WPARAM)(TCHAR*)ptszProfileName
+ lParam = 0 (unused)
+ }
+ MS_DB_SETDEFAULTPROFILE:PAnsiChar = 'DB/SetDefaultProfile';
+
+ {
+ Checks the specified profile like dbtool did.
+ Implemented in the dbchecker plugins, thus it might not exist
+ wParam = (WPARAM)(TCHAR*)ptszProfileName
+ lParam = 0 (unused)
+ }
+
+ MS_DB_CHECKPROFILE:PAnsiChar = 'DB/CheckProfile';
+
type
PDBCONTACTGETSETTING = ^TDBCONTACTGETSETTING;
TDBCONTACTGETSETTING = record
|