diff options
author | crupest <crupest@outlook.com> | 2022-01-25 17:30:46 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-25 17:30:46 +0800 |
commit | 2ed65999ef6f3e1156427dd3efe04353ae657882 (patch) | |
tree | 1c6618099e42887e96351c87cc8ce6b7c61b01f7 /include/cru/osx | |
parent | a77fb1aaa4aa765ae51b3cb5a1f8d9c8c233b01a (diff) | |
download | cru-2ed65999ef6f3e1156427dd3efe04353ae657882.tar.gz cru-2ed65999ef6f3e1156427dd3efe04353ae657882.tar.bz2 cru-2ed65999ef6f3e1156427dd3efe04353ae657882.zip |
...
Diffstat (limited to 'include/cru/osx')
-rw-r--r-- | include/cru/osx/Convert.hpp | 12 | ||||
-rw-r--r-- | include/cru/osx/Exception.hpp | 9 |
2 files changed, 2 insertions, 19 deletions
diff --git a/include/cru/osx/Convert.hpp b/include/cru/osx/Convert.hpp index 6d2c0327..ec1d5d6b 100644 --- a/include/cru/osx/Convert.hpp +++ b/include/cru/osx/Convert.hpp @@ -1,12 +1,2 @@ #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 +#include "cru/common/platform/osx/Convert.hpp" diff --git a/include/cru/osx/Exception.hpp b/include/cru/osx/Exception.hpp index 5d057c65..4123778b 100644 --- a/include/cru/osx/Exception.hpp +++ b/include/cru/osx/Exception.hpp @@ -1,9 +1,2 @@ #pragma once -#include "cru/platform/Exception.hpp" - -namespace cru::platform::osx { -class OsxException : public PlatformException { - public: - using PlatformException::PlatformException; -}; -} // namespace cru::platform::osx +#include "cru/common/platform/osx/Exception.hpp" |