mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-10-26 00:02:36 -04:00
28 lines
413 B
C++
28 lines
413 B
C++
#pragma once
|
|
#ifdef TRANSCODER_EXPORTS
|
|
#define API __declspec(dllexport)
|
|
#else
|
|
#define API __declspec(dllimport)
|
|
#endif
|
|
|
|
#include <iostream>
|
|
|
|
extern "C" API struct Video
|
|
{
|
|
std::string title;
|
|
Audio* audios;
|
|
Subtitle* subtitles;
|
|
long duration;
|
|
};
|
|
|
|
extern "C" API struct Audio
|
|
{
|
|
std::string title;
|
|
std::string languageCode;
|
|
};
|
|
|
|
extern "C" API struct Subtitle
|
|
{
|
|
std::string title;
|
|
std::string languageCode;
|
|
}; |