ResourceManager(void (*CreateResourceFunction) (Type** resource, char* name, char* path) = NULL)
{
m_list = new LinkedList<Type>;
CreateResource = CreateResourceFunction;
}
hey - this is code for a contructer for a class (taking the code from a book I bought). What exactly is the parameter of the function? Is the parameter like a refrence to another function? CreateResource is defined as:
void (*CreateResource)(Type** resource, char* name, char* path);
as a private member.