conv_opt_old_c.cpp

来自「This software performs code conversion o」· C++ 代码 · 共 63 行

CPP
63
字号
// conv_opt_old.cpp

#include <windows.h>
#include <stdio.h>
#include <ctype.h>
#include "msc.h"
#include "chnconv.h"
#include "chnconv_opt.h"

#ifndef CONV_OPT_OLD_DECLARE
#define CONV_OPT_OLD_DECLARE(type,name)   type name = (type) 0
#endif
#include "conv_opt_old_c.h"


static int dummy ;



static const OPTION_INTEGER OptionIntegerListOld [] = {
   { & IsSenceCwFanti,  "IsSenceCwFant" },
   { & nSavedCode,      "SavedCode" },
   { & nSavedWindowX,   "SavedWindowX" },
   { & nSavedWindowY,   "SavedWindowY" },
} ;

static const OPTION_STRING_A OptionStringListOldA [] = {
   { szBrowsePathA,  "SavedPath",         MAX_PATH },
   { szBrowsePathA,  "BrowsePath",        MAX_PATH },
} ;

static const OPTION_STRING_W OptionStringListOldW [] = {
   { szBrowsePathW,  "SavedPathW",     MAX_PATH },
} ;



#define ReadOption ReadOldOption
#define FreeFontNameArray FreeFontNameArrayOld

#define OptionIntegerList     OptionIntegerListOld
#define OptionStringListA     OptionStringListOldA
#define OptionStringListW     OptionStringListOldW
#ifdef SETUP_R
#define OptionBinaryList      OptionBinaryListOld
#endif

#define OPTION_INTEGER_LIST_NELEM      (sizeof(OptionIntegerListOld)/sizeof(OPTION_INTEGER))
#define OPTION_STRING_LIST_A_NELEM     (sizeof(OptionStringListOldA)/sizeof(OPTION_STRING_A))
#define OPTION_STRING_LIST_W_NELEM     (sizeof(OptionStringListOldW)/sizeof(OPTION_STRING_W))
#ifdef SETUP_R
#define OPTION_BINARY_LIST_NELEM       (sizeof(OptionBinaryListOld)/sizeof(OPTION_BINARY))
#endif



#define CONV_OPT_OLD

#include "conv_opt.cpp"



⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?