cfad47cfa3/t3compiler/tads3/resnoexe.cpp
Commiter: Nikos Chantziaras
Author: Nikos Chantziaras
Revision: cfad47cfa3
File Size: 1.16 KB
(June 01, 2009 20:54 UTC) Almost 3 years ago
Initial commit.
/*
* Copyright (c) 2001, 2002 Michael J. Roberts. All Rights Reserved.
*
* Please see the accompanying license file, LICENSE.TXT, for information
* on using and copying this software.
*/
/*
Name
resnoexe.cpp - null implementation of executable file resource loader
Function
Provides a null implementation of CResLoader::open_exe_res(). Programs
that do not want to be able to load resources from the executable file
can link this module (rather than resldexe.cpp); this avoids dragging
in additional osifc routines that are superfluous when executable
resource loading is not required.
Notes
Modified
11/03/01 MJRoberts - Creation
*/
#include "resload.h"
/*
* Try loading a resource from the executable file
*/
osfildef *CResLoader::open_exe_res(const char *respath,
const char *restype)
{
/* this version is a null implementation - return failure */
return 0;
}
/*
* load a resource from a library
*/
osfildef *CResLoader::open_lib_res(const char *libfile,
const char *respath)
{
/* this version is a null implementation - return failure */
return 0;
} |