clarification on why pointer is public
This commit is contained in:
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user