clarification on why pointer is public

This commit is contained in:
clay_shooter
2005-01-09 04:10:49 +00:00
parent 34210e20a7
commit cef3db9ef2

View File

@@ -38,10 +38,9 @@ import java.lang.reflect.Array;
public class Dispatch extends JacobObject
{
/**
* why is this public?
* it could be protected and the Dispatch subclasses could still
* get it.
* This makes it hard to rename this thing
* This is public because Dispatch.cpp knows its name and accesses
* it directly to get the disptach id. You really can't rename
* it or make it private
*/
public int m_pDispatch;
/** program Id passed in by ActiveX components in their constructor */