cfad47cfa3/t3compiler/tads3/resnoexe.cpp

4b825dc642cb6eb9a060e54bf8d69288fbee4904cfad47cfa334b206c65f22086bcc5d63e6f70944
1
/* 
2
 *   Copyright (c) 2001, 2002 Michael J. Roberts.  All Rights Reserved.
3
 *   
4
 *   Please see the accompanying license file, LICENSE.TXT, for information
5
 *   on using and copying this software.  
6
 */
7
/*
8
Name
9
  resnoexe.cpp - null implementation of executable file resource loader
10
Function
11
  Provides a null implementation of CResLoader::open_exe_res().  Programs
12
  that do not want to be able to load resources from the executable file
13
  can link this module (rather than resldexe.cpp); this avoids dragging
14
  in additional osifc routines that are superfluous when executable
15
  resource loading is not required.
16
Notes
17
  
18
Modified
19
  11/03/01 MJRoberts  - Creation
20
*/
21
22
#include "resload.h"
23
24
/*
25
 *   Try loading a resource from the executable file 
26
 */
27
osfildef *CResLoader::open_exe_res(const char *respath,
28
                                   const char *restype)
29
{
30
    /* this version is a null implementation - return failure */
31
    return 0;
32
}
33
34
/*
35
 *   load a resource from a library 
36
 */
37
osfildef *CResLoader::open_lib_res(const char *libfile,
38
                                   const char *respath)
39
{
40
    /* this version is a null implementation - return failure */
41
    return 0;
42
}