#include <tracedlg.h>
Inheritance diagram for TraceMsg:
Public Member Functions | |
TraceMsg (KernelBitmap *pTheBitmap) | |
Static Public Member Functions | |
static void | OpenOrUse (KernelBitmap *pBitmap) |
Open the tracer dialog if it's not already open, else just uses that bitmap. | |
Public Attributes | |
KernelBitmap * | pBitmap |
Definition at line 142 of file tracedlg.h.
|
Definition at line 147 of file tracedlg.h. 00147 :pBitmap(pTheBitmap) { /* empty */ };
|
|
Open the tracer dialog if it's not already open, else just uses that bitmap.
Definition at line 1711 of file tracedlg.cpp. 01712 { 01713 // Obtain a pointer to the op descriptor for the create operation 01714 OpDescriptor* OpDesc = OpDescriptor::FindOpDescriptor(CC_RUNTIME_CLASS(TraceDlg)); 01715 if (!OpDesc) return; 01716 01717 // Only one live instance of the operation is allowed. It's probably a dialog 01718 if (!MessageHandler::MessageHandlerExists(CC_RUNTIME_CLASS(TraceDlg))) 01719 { 01720 OpParam param((void *)pBitmap,(void *)NULL); 01721 OpDesc->Invoke(¶m); 01722 } 01723 else 01724 { 01725 BROADCAST_TO_CLASS(TraceMsg(pBitmap),DialogOp); 01726 } 01727 return; 01728 }
|
|
Definition at line 146 of file tracedlg.h. |