X-Git-Url: http://git.maemo.org/git/?p=demorecorder;a=blobdiff_plain;f=src%2FIXmlSerializable.vala;fp=src%2FIXmlSerializable.vala;h=9b6168c4f7315486acb9508d98c5d0e9e2463f49;hp=0000000000000000000000000000000000000000;hb=804630a4e0d41b182d8540f2aec69cf25ca0acfd;hpb=753fb925588aeeacdd74a163672acf2bf362a99e diff --git a/src/IXmlSerializable.vala b/src/IXmlSerializable.vala new file mode 100644 index 0000000..9b6168c --- /dev/null +++ b/src/IXmlSerializable.vala @@ -0,0 +1,26 @@ +/* Demo Recorder for MAEMO 5 +* Copyright (C) 2010 Dru Moore +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License version 2, +* or (at your option) any later version, as published by the Free +* Software Foundation +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details +* +* You should have received a copy of the GNU General Public +* License along with this program; if not, write to the +* Free Software Foundation, Inc., +* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +*/ +namespace IdWorks { + +public interface IXmlSerializable { + public abstract string to_xml_string(); + public abstract void from_xml_node(Xml.Node* node); + public abstract Xml.Node* to_xml(); +} + +} \ No newline at end of file