ultimatepp/bazaar/Functions4U/Xmlize2.cpp
koldo a9c996ed6b .Functions4U: Solved GetMacAddress() and Xlib include problems in Linux
git-svn-id: svn://ultimatepp.org/upp/trunk@2476 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-06-12 23:53:17 +00:00

27 lines
476 B
C++

//#BLITZ_APPROVE
#ifdef flagGUI
#include <CtrlLib/CtrlLib.h>
#include <GridCtrl/GridCtrl.h>
#include <Functions4U/Functions4U.h>
#include <Functions4U/Functions4U_Gui.h>
//#include "Xmlize2.h"
NAMESPACE_UPP
template <> void Xmlize(XmlIO xml, GridCtrl& r) {
Vector<Vector<Value> > data;
if(xml.IsLoading()) {
xml("data", data);
SetGridData(r, data);
} else {
data = GetGridData(r);
xml("data", data);
}
}
END_UPP_NAMESPACE
#endif