Mercurial > dwindows
diff mac/dw.m @ 2088:94ea915bd917
Win: Initial implementation of notifications on Windows. Currently using WinToast.
Update readme regarding WinToast support and in-source comments regarding the API.
Fix missing "API" calling conventions on OS/2 and Windows.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 05 Jun 2020 16:27:00 +0000 |
parents | 24875681eec5 |
children | cdb94c6fd611 |
line wrap: on
line diff
--- a/mac/dw.m Fri Jun 05 06:00:17 2020 +0000 +++ b/mac/dw.m Fri Jun 05 16:27:00 2020 +0000 @@ -3970,7 +3970,7 @@ * Sets the application ID used by this Dynamic Windows application instance. * Parameters: * appid: A string typically in the form: com.company.division.application - * appguid: A globally unique identifier required on Windows or NULL. + * appname: The application name used on Windows or NULL. * Returns: * DW_ERROR_NONE after successfully setting the application ID. * DW_ERROR_UNKNOWN if unsupported on this system. @@ -3979,9 +3979,10 @@ * This must be called before dw_init(). If dw_init() is called first * it will create a unique ID in the form: org.dbsoft.dwindows.application * or if the application name cannot be detected: org.dbsoft.dwindows.pid.# - * The GUID is only required on Windows, NULL can be passed on other platforms. - */ -int dw_app_id_set(const char *appid, const char *appguid) + * The appname is only required on Windows. If NULL is passed the detected + * application name will be used, but a prettier name may be desired. + */ +int dw_app_id_set(const char *appid, const char *appname) { strncpy(_dw_app_id, appid, 100); return DW_ERROR_NONE;