home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv7.zip
/
VACPP
/
IBMCPP
/
smarts
/
ICLUI
/
OPENFILE.CPP
< prev
next >
Wrap
Text File
|
1995-06-02
|
926b
|
31 lines
%PROLOG%
#include "openfile.hpp"
#include "%FILE_NAME%.hpp"
/****************** AppOpenFileFn Implementation **********************/
/***********************************************************/
/* Constructor for the file open thread function class. It */
/* takes a single AppWindow argument and simply stores a */
/* pointer to the AppWindow as private data. */
/***********************************************************/
AppOpenFileFn :: AppOpenFileFn (AppWindow *window)
{
appWindow = window;
}
/***********************************************************/
/* Overriding run() method for the file open thread */
/* function class. This function is called implicitly */
/* when a thread to open a file is dispatched. */
/***********************************************************/
void AppOpenFileFn :: run()
{
appWindow->openFile();
}