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 public class Dispatch extends JacobObject
{ {
/** /**
* why is this public? * This is public because Dispatch.cpp knows its name and accesses
* it could be protected and the Dispatch subclasses could still * it directly to get the disptach id. You really can't rename
* get it. * it or make it private
* This makes it hard to rename this thing
*/ */
public int m_pDispatch; public int m_pDispatch;
/** program Id passed in by ActiveX components in their constructor */ /** program Id passed in by ActiveX components in their constructor */