diff options
| author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-02-06 16:04:24 +0100 | 
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-02-06 16:04:24 +0100 | 
| commit | 5d2c2b27a6323e2666378b986129b2a7c2c39e5c (patch) | |
| tree | ce8982b6c0111f79791068de2c2d4c6ce3138a49 /app/bin/note.h | |
| parent | b623f5953691b2a0614e6f1f4def86bdbb9a4113 (diff) | |
New upstream version 5.2.2GAupstream/5.2.2GA
Diffstat (limited to 'app/bin/note.h')
| -rw-r--r-- | app/bin/note.h | 15 | 
1 files changed, 8 insertions, 7 deletions
diff --git a/app/bin/note.h b/app/bin/note.h index 315823f..2d70176 100644 --- a/app/bin/note.h +++ b/app/bin/note.h @@ -22,8 +22,7 @@  #ifndef HAVE_NOTE_H  #define HAVE_NOTE_H -#include <stdbool.h> -#include "track.h" +#include "common.h"  #define URLMAXIMUMLENGTH (512)  #define PATHMAXIMUMLENGTH (2048) @@ -40,7 +39,8 @@ enum noteCommands {  };  /** hold the data for the note */ -struct extraDataNote { +typedef struct extraDataNote_t { +	extraDataBase_t base;  	coOrd pos;					/**< position */  	unsigned int layer;  	enum noteCommands op;		/**< note type */ @@ -57,7 +57,7 @@ struct extraDataNote {  			BOOL_T inArchive;  		} fileData;				/**< used for file note */  	} noteData; -}; +} extraDataNote_t;  //struct noteTextData {  //	coOrd pos; @@ -102,9 +102,10 @@ void NewTextNoteUI(track_p trk);  void DescribeTextNote(track_p trk, char * str, CSIZE_T len);  /* trknote.c */ +extern TRKTYP_T T_NOTE;  void NoteStateSave(track_p trk); -void UpdateFile(struct extraDataNote *noteUIData, int inx, BOOL_T needUndoStart); -void UpdateText(struct extraDataNote *noteUIData, int inx, BOOL_T needUndoStart); -void UpdateLink(struct extraDataNote *noteUIData, int inx, BOOL_T needUndoStart); +void UpdateFile(struct extraDataNote_t *noteUIData, int inx, BOOL_T needUndoStart); +void UpdateText(struct extraDataNote_t *noteUIData, int inx, BOOL_T needUndoStart); +void UpdateLink(struct extraDataNote_t *noteUIData, int inx, BOOL_T needUndoStart);  #endif // !HAVE_NOTE_H  | 
