00001 // -*-C++ -*- 00002 00064 #include "NewOutputDeviceShape.h" 00065 00066 void MutNewOutputDeviceShape::InitializeDialog(OutputDevDlg * out) const 00067 { 00068 out -> SetType(DTNotSet); 00069 } 00070 00071 bool MutNewOutputDeviceShape::replaceSelfBy (MutOutputDeviceShape * newshape) 00072 { 00073 MutRouteWnd * p = dynamic_cast<MutRouteWnd *> (m_parent); 00074 if (!p) UNREACHABLEC; 00075 // the "New device" icon won't be replaced, so we just append the device 00076 p->AddOutputDevice(newshape,sizerFlags); 00077 return false; 00078 } 00079 00080 00081 00082 IMPLEMENT_DYNAMIC_CLASS(MutNewOutputDeviceShape, MutOutputDeviceShape) 00083 /* 00084 * \} 00085 */