cutego/sailfish/sailfish_sailfish.h
therecipe aa8a227277 even more changes related to the js binding + fixes for Qt 5.14
* support for static darwin docker deployments
2019-12-21 17:42:05 +01:00

26 lines
624 B
C

// +build sailfish sailfish_emulator
#pragma once
#ifndef GO_QTSAILFISH_H
#define GO_QTSAILFISH_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
struct QtSailfish_PackedString { char* data; long long len; void* ptr; };
struct QtSailfish_PackedList { void* data; long long len; };
void* SailfishApp_SailfishApp_Application(int argc, char* argv);
int SailfishApp_SailfishApp_Main(int argc, char* argv);
void* SailfishApp_SailfishApp_CreateView();
void* SailfishApp_SailfishApp_PathTo(struct QtSailfish_PackedString filename);
void* SailfishApp_SailfishApp_PathToMainQml();
#ifdef __cplusplus
}
#endif
#endif