aboutsummaryrefslogtreecommitdiff
path: root/frontend/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/util.h')
-rw-r--r--frontend/util.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/frontend/util.h b/frontend/util.h
new file mode 100644
index 0000000..946539f
--- /dev/null
+++ b/frontend/util.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#include <string>
+
+#include "backend/Object.h"
+
+struct by_name_case_insensitive {
+ by_name_case_insensitive(const std::string & target_name) : target_name(target_name) {}
+ std::string target_name;
+ bool operator () (Object * object);
+};
+