aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-12-16 20:35:57 -0500
committerDavid Robillard <d@drobilla.net>2021-12-16 20:35:57 -0500
commit5ad1447d074939825ee5bb4f1944a4e17d80d1c6 (patch)
tree2a4792242b9962ef0da5fbae014a3833643f6ddf /include
parentd54309d0716173c1fe3f5c7e9812e42722f79bc9 (diff)
downloadpugl-5ad1447d074939825ee5bb4f1944a4e17d80d1c6.tar.gz
pugl-5ad1447d074939825ee5bb4f1944a4e17d80d1c6.tar.bz2
pugl-5ad1447d074939825ee5bb4f1944a4e17d80d1c6.zip
Add puglGetClassName()
Diffstat (limited to 'include')
-rw-r--r--include/pugl/pugl.h5
1 files changed, 5 insertions, 0 deletions
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.