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

📄 wrinfo.h

📁 开放源码的编译器open watcom 1.6.0版的源代码
💻 H
字号:
/****************************************************************************
*
*                            Open Watcom Project
*
*    Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
*  ========================================================================
*
*    This file contains Original Code and/or Modifications of Original
*    Code as defined in and that are subject to the Sybase Open Watcom
*    Public License version 1.0 (the 'License'). You may not use this file
*    except in compliance with the License. BY USING THIS FILE YOU AGREE TO
*    ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
*    provided with the Original Code and Modifications, and is also
*    available at www.sybase.com/developer/opensource.
*
*    The Original Code and all software distributed under the License are
*    distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
*    EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
*    ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
*    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
*    NON-INFRINGEMENT. Please see the License for the specific language
*    governing rights and limitations under the License.
*
*  ========================================================================
*
* Description:  WHEN YOU FIGURE OUT WHAT THIS FILE DOES, PLEASE
*               DESCRIBE IT HERE!
*
****************************************************************************/


#ifndef WRINFO_INCLUDED
#define WRINFO_INCLUDED

#include "wresall.h"
#include "wrglbl.h"

/****************************************************************************/
/* type definitions                                                         */
/****************************************************************************/
typedef enum {
    WR_DONT_KNOW
,   WR_WIN16M_RES
,   WR_WIN16W_RES
,   WR_WINNTM_RES
,   WR_WINNTW_RES
,   WR_WIN16_EXE
,   WR_WINNT_EXE
,   WR_WIN16_DLL
,   WR_WINNT_DLL
,   WR_WIN_BITMAP
,   WR_WIN_ICON
,   WR_WIN_CURSOR
,   WR_WIN_RC_STR
,   WR_WIN_RC_MENU
,   WR_WIN_RC_ACCEL
,   WR_WIN_RC_DLG
,   WR_WIN_RC
,   WR_INVALID_FILE
} WRFileType;

typedef struct WRInfoStruct  {
    WRFileType  save_type;
    char       *save_name;
    WRFileType  file_type;
    char       *file_name;
    char       *tmp_file;
    WResDir     dir;
    WRFileType  internal_type;
    char        *internal_filename;
} WRInfo;

/****************************************************************************/
/* function prototypes                                                      */
/****************************************************************************/
extern WRInfo * WR_EXPORT   WRAllocWRInfo      ( void );
extern void     WR_EXPORT   WRFreeWRInfo       ( WRInfo * );
extern void     WR_EXPORT   WRFreeWResDirData  ( WResDir );
extern int      WR_EXPORT   WRCountZeroLengthResources( WResDir dir );
extern int      WR_EXPORT   WRGetInternalRESName( char *filename, char *newname );

#endif

⌨️ 快捷键说明

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