This commit is contained in:
Alfie King
2024-06-20 15:11:55 +01:00
parent 07c2db22f0
commit 9a6d9fcad7
22 changed files with 4051 additions and 3 deletions
+35
View File
@@ -0,0 +1,35 @@
// Clip Library
// Copyright (c) 2024 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifndef CLIP_OSX_H_INCLUDED
#define CLIP_OSX_H_INCLUDED
#pragma once
#ifdef __OBJC__
#include <Cocoa/Cocoa.h>
namespace clip {
class image;
struct image_spec;
namespace osx {
#if CLIP_ENABLE_IMAGE
bool get_image_from_clipboard(NSPasteboard* pasteboard,
image* output_img,
image_spec* output_spec);
#endif // CLIP_ENABLE_IMAGE
} // namespace osx
} // namespace clip
#endif
#endif