summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/m_database.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/include/m_database.h b/include/m_database.h
index 9fcce5bd8d..f10cb76bfd 100644
--- a/include/m_database.h
+++ b/include/m_database.h
@@ -86,7 +86,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
/************************* SERVICES *******************************/
/******************************************************************/
-/* DB/Contact/GetProfileName service
+/* DB/GetProfileName service
Gets the name of the profile currently being used by the database module. This
is the same as the filename of the database
wParam = (WPARAM)(UINT)cbName
@@ -98,7 +98,7 @@ Returns 0 on success or nonzero otherwise
#define MS_DB_GETPROFILENAME "DB/GetProfileName"
#define MS_DB_GETPROFILENAMEW "DB/GetProfileNameW"
-/* DB/Contact/GetProfilePath service
+/* DB/GetProfilePath service
Get the path of the base folder where Miranda will store all individual profiles
The returned path does NOT include a trailing backslash.
Essentially this is what has been set in mirandaboot.ini as ProfileDir.
@@ -120,6 +120,15 @@ Returns 0 on success or nonzero otherwise
#define MS_DB_GETPROFILENAMET MS_DB_GETPROFILENAME
#endif
+/* DB/SetDefaultProfile service
+Sets the default profile name programmatically
+Analog of Database/DefaultProfile in mirandaboot.ini
+ wParam = (WPARAM)(TCHAR*)ptszProfileName
+ lParam = 0 (unused)
+*/
+
+#define MS_DB_SETDEFAULTPROFILE "DB/SetDefaultProfile"
+
/************************* Contact ********************************/
/* DB/Contact/GetSetting service