headers: fixup since vers

This commit is contained in:
Vaxry 2024-03-24 20:50:26 +00:00
parent 22a4195557
commit 75751ed957
2 changed files with 5 additions and 3 deletions

View File

@ -44,6 +44,8 @@ struct hyprcursor_cursor_style_info {
CAPI struct hyprcursor_manager_t* hyprcursor_manager_create(const char* theme_name);
/*!
\since 0.1.6
Same as hyprcursor_manager_create, but with a logger.
*/
CAPI struct hyprcursor_manager_t* hyprcursor_manager_create_with_logger(const char* theme_name, PHYPRCURSORLOGFUNC fn);
@ -90,7 +92,7 @@ CAPI void hyprcursor_cursor_image_data_free(hyprcursor_cursor_image_data** data,
CAPI void hyprcursor_style_done(struct hyprcursor_manager_t* manager, struct hyprcursor_cursor_style_info info);
/*!
\since 0.1.5
\since 0.1.6
Registers a logging function to a hyprcursor_manager_t*

View File

@ -44,7 +44,7 @@ namespace Hyprcursor {
public:
CHyprcursorManager(const char* themeName);
/*!
\since 0.1.5
\since 0.1.6
*/
CHyprcursorManager(const char* themeName, PHYPRCURSORLOGFUNC fn);
~CHyprcursorManager();
@ -104,7 +104,7 @@ namespace Hyprcursor {
void cursorSurfaceStyleDone(const SCursorStyleInfo&);
/*!
\since 0.1.5
\since 0.1.6
Registers a logging function to this manager.
PHYPRCURSORLOGFUNC's msg is owned by the caller and will be freed afterwards.