diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-02-06 16:04:38 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-02-06 16:04:38 +0100 |
commit | d0ca838c7ab297036b4a7c45351761a48fe05efd (patch) | |
tree | f0f3cc006e8157d6bd699bd644b7dd7b35387ac2 /app/bin/fileio.h | |
parent | fd6639655b399a79fb72f494786a4f57da9c90e7 (diff) | |
parent | 5d2c2b27a6323e2666378b986129b2a7c2c39e5c (diff) |
Update upstream source from tag 'upstream/5.2.2GA'
Update to upstream version '5.2.2GA'
with Debian dir 9c80045d0b4f9e463647bc8af8c090a673df4132
Diffstat (limited to 'app/bin/fileio.h')
-rw-r--r-- | app/bin/fileio.h | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/app/bin/fileio.h b/app/bin/fileio.h index 13761bf..a037063 100644 --- a/app/bin/fileio.h +++ b/app/bin/fileio.h @@ -22,10 +22,7 @@ #ifndef FILEIO_H #define FILEIO_H -#include <stdio.h> - #include "common.h" -#include "misc.h" extern FILE * paramFile; extern char *paramFileName; @@ -69,6 +66,7 @@ extern wMenuList_p fileList_ml; #define BITMAPPATHKEY "bitmap" #define BACKGROUNDPATHKEY "images" #define DXFPATHKEY "dxf" +#define SVGPATHKEY "svg" #define PARTLISTPATHKEY "parts" #define CARSPATHKEY "cars" #define PARAMETERPATHKEY "params" @@ -81,7 +79,7 @@ typedef struct { char * name; readParam_t proc; } paramProc_t; -dynArr_t paramProc_da; +extern dynArr_t paramProc_da; #define paramProc(N) DYNARR_N( paramProc_t, paramProc_da, N ) void Stripcr( char * ); @@ -104,21 +102,18 @@ void AddParam( char *name, readParam_t proc ); FILE * OpenCustom( char * ); -#ifdef WINDOWS -#define fopen( FN, MODE ) wFileOpen( FN, MODE ) -#endif - void SetWindowTitle( void ); char * PutTitle( char * cp ); void ParamFileListLoad(int paramFileCnt, dynArr_t *paramFiles); -void DoParamFiles(void * junk); +void DoParamFiles(void * unused); int LoadTracks( int cnt, char **fileName, void *data ); typedef void (*doSaveCallBack_p)( void ); -void DoSave( doSaveCallBack_p ); -void DoSaveAs( doSaveCallBack_p ); +void SetAutoSave(void); +void DoSave( void * doAfterSaveVP ); +void DoSaveAs( void * doAfterSaveVP ); void DoLoad( void ); void DoExamples( void ); void DoFileList( int, char *, void * ); @@ -126,18 +121,20 @@ void DoCheckPoint( void ); void CleanupFiles( void ); int ExistsCheckpoint( void ); int LoadCheckpoint( BOOL_T ); -void DoImport( void * ); -void DoExport( void ); -void DoExportDXF( void ); -BOOL_T EditCopy( void ); -BOOL_T EditCut( void ); -BOOL_T EditPaste( void ); -BOOL_T EditClone( void ); +void DoImport( void * typeVP ); +void DoExport( void * unused ); +void DoExportDXF( void * unused ); +void DoExportSVG(void); +extern wBool_t editStatus; // Status of last Edit* command +void EditCopy( void * unused ); +void EditCut( void * unused ); +void EditPaste( void * unused ); +void EditClone( void * unused ); void DoRecord( void * ); void AddPlaybackProc( char *, playbackProc_p, void * ); -EXPORT void TakeSnapshot( drawCmd_t * ); +EXPORT void TakeSnapshot( drawCmd_p ); void PlaybackMessage( char * ); void DoPlayBack( void * ); int MyGetKeyState( void ); @@ -150,10 +147,10 @@ void FileInit( void ); BOOL_T MacroInit( void ); -char *SaveLocale( char *newLocale ); -void RestoreLocale( char * locale ); +void SetCLocale(); +void SetUserLocale(); // Parameter file search -void DoSearchParams(void * junk); +void DoSearchParams(void * unused); #endif |