19 #ifndef MIRAL_TOOLKIT_PERSISTENT_ID_H 20 #define MIRAL_TOOLKIT_PERSISTENT_ID_H 22 #include <mir_toolkit/mir_surface.h> 37 auto c_str() const ->
char const* {
return mir_persistent_id_as_string(
self.
get()); }
40 static void deleter(MirPersistentId*
id) { mir_persistent_id_release(
id); }
41 std::shared_ptr<MirPersistentId>
self;
46 #endif //MIRAL_TOOLKIT_PERSISTENT_ID_H
Mir Abstraction Layer.
Definition: active_outputs.h:27