feat: add native local-file playback
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#ifndef PERSONAL_PLAYER_MACOS_H
|
||||
#define PERSONAL_PLAYER_MACOS_H
|
||||
#include "player.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
// Returns an owned NSView (+1). Swift must consume it with takeRetainedValue().
|
||||
void *player_macos_make_video_view(Player *player);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user