Michaël Lemaire
79e687bd09
git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@309 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
26 lines
512 B
C
26 lines
512 B
C
#ifndef _PAYSAGES_MAIN_H_
|
|
#define _PAYSAGES_MAIN_H_
|
|
|
|
#define PAYSAGES_CURRENT_DATA_VERSION 1
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef enum {
|
|
FILE_OPERATION_OK,
|
|
FILE_OPERATION_IOERROR,
|
|
FILE_OPERATION_APP_MISMATCH,
|
|
FILE_OPERATION_VERSION_MISMATCH
|
|
} FileOperationResult;
|
|
|
|
void paysagesInit();
|
|
void paysagesQuit();
|
|
FileOperationResult paysagesSave(char* filepath);
|
|
FileOperationResult paysagesLoad(char* filepath);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|