00001 00004 #ifndef SXUIABSTRACTCOMPONENT_H_INCLUDED 00005 #define SXUIABSTRACTCOMPONENT_H_INCLUDED 00006 00007 #include "sxGlobal.h" 00008 00009 class sxInPort; 00010 class sxOutPort; 00011 class sxConnection; 00012 00016 class SX_SDKEXPORT sxUiAbstractComponent 00017 { 00018 public: 00019 virtual ~sxUiAbstractComponent() {} 00020 virtual bool SaveGui(QDomElement & guiNode) = 0; 00021 virtual bool LoadGui(const QDomElement & guiNode) = 0; 00022 virtual sxInPort * CreateInputPort() const = 0; 00023 virtual sxOutPort * CreateOutputPort() const = 0; 00024 }; 00025 00026 #endif // SXUIABSTRACTCOMPONENT_H_INCLUDED