What is the best way for a function in an interface to take as an argument, a property class?
void AcceptComponent (iPcComponent* pc) = 0; // false on failure bool AcceptComponent (const char* name, const char* tag = 0) = 0; bool AcceptComponent (const char* entity, const char* name, const char* tag = 0) = 0; bool AcceptComponent (iCelEntity* ent, const char* name, const char* tag = 0) = 0; Should it have all those functions? Or just the first? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Cel-main mailing list Cel-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cel-main