NewOutputDeviceShape.cpp
gehe zur Dokumentation dieser Datei
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  */

Erzeugt am Sun Aug 21 2011 10:51:55 für Mutabor von doxygen 1.7.4