You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
974 B
52 lines
974 B
/*++
|
|
|
|
Copyright (c) 2001 Microsoft Corporation
|
|
|
|
Module Name :
|
|
|
|
funcdict.hxx
|
|
|
|
Abstract:
|
|
|
|
Class that contains all the methods used by the .inf file
|
|
|
|
Author:
|
|
|
|
Christopher Achille (cachille)
|
|
|
|
Project:
|
|
|
|
Internet Services Setup
|
|
|
|
Revision History:
|
|
|
|
June 2001: Created
|
|
|
|
--*/
|
|
|
|
#include "basefunc.hxx"
|
|
|
|
#define DICTIONARY_MAXFUNCTIONS 50
|
|
|
|
// class: CFunctionDictionary
|
|
//
|
|
// This class keeps track of all the Functions available,
|
|
// and lets them be used
|
|
//
|
|
class CFunctionDictionary {
|
|
private:
|
|
CBaseFunction* m_pDict[DICTIONARY_MAXFUNCTIONS];
|
|
DWORD m_dwFunctions;
|
|
BOOL m_bFunctionsLoaded;
|
|
|
|
CBaseFunction *FindFunction(LPTSTR szFunctionName);
|
|
void DeleteFunctions();
|
|
void InitializeFunctions();
|
|
BOOL LoadFunctions();
|
|
|
|
public:
|
|
CFunctionDictionary();
|
|
~CFunctionDictionary();
|
|
BOOL CallFunction(LPTSTR szFunctionName, LPTSTR szParameters);
|
|
|
|
};
|