abend
ich fersuche jetzt schon 3 tage das setup-plugin zu endern , fileicht kann mir jemant helfen .
über ein script setzen wier (freevdr) die vdr-setup.xml zusamen .
grund warum wier dises wollen ist die bakete zb vdr-sxfe bringt einstellungen mit die bei einen vdr mit ff nicht gebraucht werten und somit im osd nicht forhanten sind , forteil es ist im osd des vdr auch nur das da was instalirt ist .
mann kann eine eigene xml erstellen und drotzdem die fungtionen des plugins nutzen ( wer das plugin kennt kennt seine forzüge )
jetzt zu meinen broplem ich brauche die vdr-setup.xml so
<!--setup.plugins.xml-->
<plugins sysconfig="PLUGINLIST">
</plugins>
<!--setup.plugins.xml-->
<!--setup.system.xml-->
<menu name="System-Einstellungen" help2="setup_system.hlp">
</menu>
<!--setup.system.xml-->
<!--setup.vdr.xml-->
<menu name="VDR-Einstellungen" help2="setup_vdr.hlp">
</menu>
<!--setup.vdr.xml-->
<!--setup.custom.xml-->
<menu name="Persönlice-Einstellungen" help2="setup_custom.hlp">
</menu>
<!--setup.custom.xml-->
Alles anzeigen
das plugin nach einer enderung in osd löscht jetzt aber alle
<!--setup.plugins.xml--> komentarte die tyni lib kann das aber nur fehlt d
die fungtion beim einlesen der xml und speichern diser
will also in code funktion zu erhaltung der kommentare einbauen
aus tinyxml.h
/** An XML comment.
*/
class TiXmlComment : public TiXmlNode
{
public:
/// Constructs an empty comment.
TiXmlComment() : TiXmlNode( TiXmlNode::COMMENT ) {}
TiXmlComment( const TiXmlComment& );
void operator=( const TiXmlComment& base );
virtual ~TiXmlComment() {}
/// Returns a copy of this Comment.
virtual TiXmlNode* Clone() const;
/// Write this Comment to a FILE stream.
virtual void Print( FILE* cfile, int depth ) const;
/* Attribtue parsing starts: at the ! of the !--
returns: next char past '>'
*/
virtual const char* Parse( const char* p, TiXmlParsingData* data, TiXmlEncoding encoding );
protected:
void CopyTo( TiXmlComment* target ) const;
// used to be public
#ifdef TIXML_USE_STL
virtual void StreamIn( TIXML_ISTREAM * in, TIXML_STRING * tag );
#endif
virtual void StreamOut( TIXML_OSTREAM * out ) const;
private:
};
was meiner ansicht nach über 2 tateien
menüs.c und config.c nachrüstbar sein müste
mfg det