diff options
author | George Hazan <ghazan@miranda.im> | 2018-11-13 20:46:32 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-11-13 20:46:32 +0300 |
commit | e8173bb66d10c1716fc659e08a77528e71375ae3 (patch) | |
tree | 92dd8f43f1f2708034a9b6d1ddfc656b4f497528 /plugins/TipperYM/src/preset_items.h | |
parent | 54e2d0c216f73e368eeb96dc43f8de233f1a6027 (diff) |
Tipper -> g_plugin (+ some code cleaning)
Diffstat (limited to 'plugins/TipperYM/src/preset_items.h')
-rw-r--r-- | plugins/TipperYM/src/preset_items.h | 15 |
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[];
|