From 5ad1447d074939825ee5bb4f1944a4e17d80d1c6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 16 Dec 2021 20:35:57 -0500 Subject: Add puglGetClassName() --- include/pugl/pugl.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/pugl/pugl.h b/include/pugl/pugl.h index c2dcd55..c13fa69 100644 --- a/include/pugl/pugl.h +++ b/include/pugl/pugl.h @@ -693,6 +693,11 @@ PUGL_API PuglStatus puglSetClassName(PuglWorld* world, const char* name); +/// Get the class name of the application, or null +PUGL_API +const char* +puglGetClassName(const PuglWorld* world); + /** Return the time in seconds. -- cgit v1.2.1