summaryrefslogtreecommitdiff
path: root/utils/ipc/generators/libcamera_templates
diff options
context:
space:
mode:
Diffstat (limited to 'utils/ipc/generators/libcamera_templates')
-rw-r--r--utils/ipc/generators/libcamera_templates/core_ipa_interface.h.tmpl5
-rw-r--r--utils/ipc/generators/libcamera_templates/core_ipa_serializer.h.tmpl5
-rw-r--r--utils/ipc/generators/libcamera_templates/module_ipa_interface.h.tmpl5
-rw-r--r--utils/ipc/generators/libcamera_templates/module_ipa_proxy.h.tmpl5
-rw-r--r--utils/ipc/generators/libcamera_templates/module_ipa_serializer.h.tmpl5
5 files changed, 5 insertions, 20 deletions
diff --git a/utils/ipc/generators/libcamera_templates/core_ipa_interface.h.tmpl b/utils/ipc/generators/libcamera_templates/core_ipa_interface.h.tmpl
index 6bf6094b..a565b59a 100644
--- a/utils/ipc/generators/libcamera_templates/core_ipa_interface.h.tmpl
+++ b/utils/ipc/generators/libcamera_templates/core_ipa_interface.h.tmpl
@@ -12,8 +12,7 @@
* This file is auto-generated. Do not edit.
*/
-#ifndef __LIBCAMERA_IPA_INTERFACE_CORE_GENERATED_H__
-#define __LIBCAMERA_IPA_INTERFACE_CORE_GENERATED_H__
+#pragma once
{% if has_map %}#include <map>{% endif %}
{% if has_array %}#include <vector>{% endif %}
@@ -36,5 +35,3 @@ static const {{const.kind|name}} {{const.mojom_name}} = {{const.value}};
{% endfor %}
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_IPA_INTERFACE_CORE_GENERATED_H__ */
diff --git a/utils/ipc/generators/libcamera_templates/core_ipa_serializer.h.tmpl b/utils/ipc/generators/libcamera_templates/core_ipa_serializer.h.tmpl
index 37a784f1..5738a1aa 100644
--- a/utils/ipc/generators/libcamera_templates/core_ipa_serializer.h.tmpl
+++ b/utils/ipc/generators/libcamera_templates/core_ipa_serializer.h.tmpl
@@ -13,8 +13,7 @@
* This file is auto-generated. Do not edit.
*/
-#ifndef __LIBCAMERA_INTERNAL_IPA_DATA_SERIALIZER_CORE_H__
-#define __LIBCAMERA_INTERNAL_IPA_DATA_SERIALIZER_CORE_H__
+#pragma once
#include <tuple>
#include <vector>
@@ -43,5 +42,3 @@ public:
{% endfor %}
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_INTERNAL_IPA_DATA_SERIALIZER_CORE_H__ */
diff --git a/utils/ipc/generators/libcamera_templates/module_ipa_interface.h.tmpl b/utils/ipc/generators/libcamera_templates/module_ipa_interface.h.tmpl
index ebe811fa..415ec283 100644
--- a/utils/ipc/generators/libcamera_templates/module_ipa_interface.h.tmpl
+++ b/utils/ipc/generators/libcamera_templates/module_ipa_interface.h.tmpl
@@ -12,8 +12,7 @@
* This file is auto-generated. Do not edit.
*/
-#ifndef __LIBCAMERA_IPA_INTERFACE_{{module_name|upper}}_GENERATED_H__
-#define __LIBCAMERA_IPA_INTERFACE_{{module_name|upper}}_GENERATED_H__
+#pragma once
#include <libcamera/ipa/core_ipa_interface.h>
#include <libcamera/ipa/ipa_interface.h>
@@ -83,5 +82,3 @@ public:
{% endfor %}
{%- endif %}
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_IPA_INTERFACE_{{module_name|upper}}_GENERATED_H__ */
diff --git a/utils/ipc/generators/libcamera_templates/module_ipa_proxy.h.tmpl b/utils/ipc/generators/libcamera_templates/module_ipa_proxy.h.tmpl
index 1979e68f..ce396c18 100644
--- a/utils/ipc/generators/libcamera_templates/module_ipa_proxy.h.tmpl
+++ b/utils/ipc/generators/libcamera_templates/module_ipa_proxy.h.tmpl
@@ -13,8 +13,7 @@
* This file is auto-generated. Do not edit.
*/
-#ifndef __LIBCAMERA_INTERNAL_IPA_PROXY_{{module_name|upper}}_H__
-#define __LIBCAMERA_INTERNAL_IPA_PROXY_{{module_name|upper}}_H__
+#pragma once
#include <libcamera/ipa/ipa_interface.h>
#include <libcamera/ipa/{{module_name}}_ipa_interface.h>
@@ -130,5 +129,3 @@ private:
{% endfor %}
{%- endif %}
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_INTERNAL_IPA_PROXY_{{module_name|upper}}_H__ */
diff --git a/utils/ipc/generators/libcamera_templates/module_ipa_serializer.h.tmpl b/utils/ipc/generators/libcamera_templates/module_ipa_serializer.h.tmpl
index 779d2114..8b709705 100644
--- a/utils/ipc/generators/libcamera_templates/module_ipa_serializer.h.tmpl
+++ b/utils/ipc/generators/libcamera_templates/module_ipa_serializer.h.tmpl
@@ -13,8 +13,7 @@
* This file is auto-generated. Do not edit.
*/
-#ifndef __LIBCAMERA_INTERNAL_IPA_DATA_SERIALIZER_{{module_name|upper}}_H__
-#define __LIBCAMERA_INTERNAL_IPA_DATA_SERIALIZER_{{module_name|upper}}_H__
+#pragma once
#include <tuple>
#include <vector>
@@ -44,5 +43,3 @@ public:
{% endfor %}
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_INTERNAL_IPA_DATA_SERIALIZER_{{module_name|upper}}_H__ */