debug/src/sessionxmlwriter.h

00001 /***************************************************************************
00002                           sessionxmlwriter.h  -  description
00003                              -------------------
00004     begin                : Fri Apr 2 2004
00005     copyright            : (C) 2004 by Lynn Hazan
00006     email                : lynn.hazan.myrealbox.com
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef SESSIONXMLWRITER_H
00019 #define SESSIONXMLWRITER_H
00020 
00021 // include files for KDE
00022 #include <kurl.h>
00023 
00024 //Application specific includes
00025 #include "sessionInformation.h"
00026 
00027 //include files for QT
00028 #include <qvaluelist.h>
00029 #include <qmap.h>
00030 #include <qdom.h> 
00031 
00032 // forward declaration
00033 class ChannelColors;
00034 
00040 class SessionXmlWriter {
00041 public:
00042 
00045   SessionXmlWriter();
00046 
00047   ~SessionXmlWriter();
00048 
00053   bool writeTofile(const KURL& url);
00054 
00060   void setLoadedFilesInformation(QValueList<SessionFile> fileList);
00061 
00066   void setDisplayInformation(QValueList<DisplayInformation> displayList);
00067   
00068   private:
00069 
00071   QDomDocument doc;
00072 
00074   QDomElement root;   
00075 
00077   QDomElement video;
00078 
00080   QDomElement samplingRates;
00081   
00083   QDomElement loadedFiles;
00084 
00086   QDomElement displays;
00087                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
00088 };
00089 
00090 #endif

Generated on Mon Sep 17 20:47:31 2007 for NeuroScope by  doxygen 1.5.1