Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

p2mMenuOwner Class Reference
["pp2mfc" Infrastructure and support.]

#include <LMenu.h>

Inheritance diagram for p2mMenuOwner:

Inheritance graph
[legend]
Collaboration diagram for p2mMenuOwner:

Collaboration graph
[legend]
List of all members.

Detailed Description

tracks mapping of user-specified PowerPlant-style menu ID's.

manufactures LMenu's if necessary

Note:
that the list of ID's is not necessarily inclusive, just those that the app will need to retrieve


Public Methods

 p2mMenuOwner ()
virtual ~p2mMenuOwner ()
void SetNthSubmenuID (unsigned int N, ResIDT inMENUid)
LMenuFetchMenu (ResIDT inMENUid)
bool UnmapMenu (const LMenu *inMenu)

Protected Methods

void AppendMap ()
void RemoveMap (unsigned int mapIndex)
virtual LMenuMakeMenu (unsigned int inOffset, ResIDT)=0
void UpdateMenuOffsetsInserting (unsigned int)
void UpdateMenuOffsetsRemoving (unsigned int)

Protected Attributes

LMenumParent
unsigned int mNumMaps
p2mMapmMaps


Constructor & Destructor Documentation

p2mMenuOwner::p2mMenuOwner  
 

p2mMenuOwner::~p2mMenuOwner   [virtual]
 


Member Function Documentation

void p2mMenuOwner::AppendMap   [protected]
 

LMenu * p2mMenuOwner::FetchMenu ResIDT    inMENUid
 

virtual LMenu* p2mMenuOwner::MakeMenu unsigned int    inOffset,
ResIDT   
[protected, pure virtual]
 

Implemented in LMenu, and LMenuBar.

void p2mMenuOwner::RemoveMap unsigned int    mapIndex [protected]
 

void p2mMenuOwner::SetNthSubmenuID unsigned int    N,
ResIDT    inMENUid
 

bool p2mMenuOwner::UnmapMenu const LMenu   inMenu
 

void p2mMenuOwner::UpdateMenuOffsetsInserting unsigned    int [protected]
 

void p2mMenuOwner::UpdateMenuOffsetsRemoving unsigned    int [protected]
 


Member Data Documentation

p2mMap* p2mMenuOwner::mMaps [protected]
 

unsigned int p2mMenuOwner::mNumMaps [protected]
 

LMenu* p2mMenuOwner::mParent [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Jul 22 18:21:49 2002 for PP2MFC by doxygen1.2.17