aboutsummaryrefslogtreecommitdiff
path: root/include/cru/osx/Convert.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/osx/Convert.hpp')
-rw-r--r--include/cru/osx/Convert.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/cru/osx/Convert.hpp b/include/cru/osx/Convert.hpp
new file mode 100644
index 00000000..6d2c0327
--- /dev/null
+++ b/include/cru/osx/Convert.hpp
@@ -0,0 +1,12 @@
+#pragma once
+#include "Resource.hpp"
+
+#include <CoreFoundation/CFString.h>
+
+namespace cru::platform::osx {
+CFStringRef Convert(const String& string);
+String Convert(CFStringRef string);
+
+CFRange Convert(const Range& range);
+Range Convert(const CFRange& range);
+} // namespace cru::platform::osx