⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 restype.c

📁 关于rcp2c_v3.rar协议在LINUX下的实现程序
💻 C
字号:

/*
 * @(#)restype.c
 *
 * Copyright 1997-1999, Wes Cherry   (mailto:wesc@technosis.com)
 *           2000-2001, Aaron Ardiri (mailto:aaron@ardiri.com)
 * All rights reserved.
 * 
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation;  either version 2, or (at your option)
 * any version.
 *
 * This program is distributed in the hope that it will be useful,  but
 * WITHOUT  ANY  WARRANTY;   without  even   the  implied  warranty  of 
 * MERCHANTABILITY  or FITNESS FOR A  PARTICULAR  PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You  should have  received a  copy of the GNU General Public License
 * along with this program;  if not,  please write to the Free Software 
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 * Revisions:
 * ==========
 *
 *     18-Aug-2000 RMa
 *                 creation
 *     Jan-2001    Regis Nicolas
 *                 Merged 68K and LE32 version into one binary
 */

#include "restype.h"
#include "RCP2C.h"

char *kPalmResType[kMaxNumberResType];

/**
 * Resource Type initialization based on the target type (68K/LE32).
 */
void
ResTypeInit(void)
{
  kPalmResType[0] = "tAIN";
  kPalmResType[1] = "tSTR";
  kPalmResType[2] = "tver";
  kPalmResType[3] = "tAIS";
  kPalmResType[4] = "taic";
  kPalmResType[5] = "tSTL";
  kPalmResType[14] = "MIDI";
  kPalmResType[20] = "APPL";
  kPalmResType[21] = "TRAP";
  kPalmResType[22] = "tTTL";
  kPalmResType[23] = "tLBL";
  if (vfLE32)
  {
    kPalmResType[6] = "aaib";
    kPalmResType[7] = "abmp";
    kPalmResType[8] = "absb";
    kPalmResType[9] = "aalt";
    kPalmResType[10] = "akbd";
    kPalmResType[11] = "amnu";
    kPalmResType[12] = "afnt";
    kPalmResType[13] = "afti";
    kPalmResType[15] = "aclt";
    kPalmResType[16] = "acbr";
    kPalmResType[17] = "aint";
    kPalmResType[18] = "afrm";
    kPalmResType[19] = "awrd";
    kPalmResType[24] = "aslk";
    kPalmResType[25] = "acty";
    kPalmResType[26] = "afea";
    kPalmResType[27] = "akbd";
    kPalmResType[28] = "adwd";
    kPalmResType[29] = "abyt";
  }
  else
  {
    kPalmResType[6] = "tAIB";
    kPalmResType[7] = "Tbmp";
    kPalmResType[8] = "Tbsb";
    kPalmResType[9] = "Talt";
    kPalmResType[10] = "tkbd";
    kPalmResType[11] = "MBAR";
    kPalmResType[12] = "NFNT";
    kPalmResType[13] = "fnti";
    kPalmResType[15] = "tclt";
    kPalmResType[16] = "tcbr";
    kPalmResType[17] = "tint";
    kPalmResType[18] = "tFRM";
    kPalmResType[19] = "wrdl";
    kPalmResType[24] = "silk";
    kPalmResType[25] = "cnty";
    kPalmResType[26] = "feat";
    kPalmResType[27] = "tkbd";
    kPalmResType[28] = "DLST";
    kPalmResType[29] = "BLST";
  }
}

⌨️ 快捷键说明

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