summaryrefslogtreecommitdiff
path: root/plugins/TipperYM/src/preset_items.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TipperYM/src/preset_items.h')
-rw-r--r--plugins/TipperYM/src/preset_items.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/plugins/TipperYM/src/preset_items.h b/plugins/TipperYM/src/preset_items.h
index a402cca5d6..83e73283fc 100644
--- a/plugins/TipperYM/src/preset_items.h
+++ b/plugins/TipperYM/src/preset_items.h
@@ -23,27 +23,30 @@ Boston, MA 02111-1307, USA.
#define MAX_PRESET_SUBST_COUNT 3
-typedef struct {
+struct PRESETITEM
+{
char *szID;
wchar_t *swzName;
wchar_t *swzLabel;
wchar_t *swzValue;
char *szNeededSubst[MAX_PRESET_SUBST_COUNT];
-} PRESETITEM;
+};
-typedef struct {
+struct PRESETSUBST
+{
char *szID;
wchar_t *swzName;
DisplaySubstType type;
char *szModuleName;
char *szSettingName;
int iTranslateFuncId;
-} PRESETSUBST;
+};
-typedef struct {
+struct DEFAULTITEM
+{
char *szName;
bool bValueNewline;
-} DEFAULTITEM;
+};
extern PRESETITEM presetItems[];
extern PRESETSUBST presetSubsts[];