#include "util.h"
#include <QDomDocument>

MacroWindow *createMacroWindow()
{
  MacroWindow *m;
  m = NULL;
  return m;
}

QDomElement getWidgetElement(QString type, QString name, QString value)
{
  QDomDocument doc;

  QDomElement e = doc.createElement(type);
  e.setAttribute("name", name);
  if(value != "") e.setAttribute("value", value);

  return e;
}