term-owo-cpp/clip-lib/clip_osx.h

36 lines
609 B
C
Raw Normal View History

2024-06-20 14:11:55 +00:00
// 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