1 // 2 // aegis - project change supervisor 3 // Copyright (C) 2003-2008, 2012 Peter Miller 4 // 5 // This program is free software; you can redistribute it and/or modify 6 // it under the terms of the GNU General Public License as published by 7 // the Free Software Foundation; either version 3 of the License, or (at 8 // your option) any later version. 9 // 10 // This program is distributed in the hope that it will be useful, 11 // but WITHOUT ANY WARRANTY; without even the implied warranty of 12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 // General Public License for more details. 14 // 15 // You should have received a copy of the GNU General Public License 16 // along with this program. If not, see <http://www.gnu.org/licenses/>. 17 // 18 19 #include <common/trace.h> 20 #include <libaegis/change/identifier.h> 21 22 #include <aexml/xml/change/cstate.h> 23 24 ~xml_change_cstate()25xml_change_cstate::~xml_change_cstate() 26 { 27 } 28 29 xml_change_cstate()30xml_change_cstate::xml_change_cstate() 31 { 32 } 33 34 35 xml::pointer create()36xml_change_cstate::create() 37 { 38 return pointer(new xml_change_cstate()); 39 } 40 41 42 void report(change_identifier & cid,output::pointer op)43xml_change_cstate::report(change_identifier &cid, output::pointer op) 44 { 45 trace(("xml_change_cstate::report()\n{\n")); 46 47 // 48 // Write out the change state data. 49 // 50 cstate_ty *cstate_data = cid.get_cp()->cstate_get(); 51 cstate_write_xml(op, cstate_data); 52 trace(("}\n")); 53 } 54 55 56 // vim: set ts=8 sw=4 et : 57