22 lines
504 B
C
22 lines
504 B
C
#ifndef XTC_PROJECT_H
|
|
#define XTC_PROJECT_H
|
|
|
|
#include "xtc_types.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct xtc_project xtc_project;
|
|
|
|
/* Project persistence is not implemented in this scaffold yet. */
|
|
xtc_result xtc_project_create(xtc_project **out_project);
|
|
void xtc_project_destroy(xtc_project *project);
|
|
xtc_result xtc_project_save(const xtc_project *project, const char *path);
|
|
xtc_result xtc_project_load(xtc_project *project, const char *path);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|