[Kstars-devel] branches/kstars/summer/kstars/kstars/comast
Prakash Mohan
prak902000 at gmail.com
Tue Jul 14 15:08:00 CEST 2009
SVN commit 996459 by prakash:
Updating the support for writing OAL 2.0 compliany logs.
CCMAIL: kstars-devel at kde.org
M +12 -0 log.cpp
M +1 -0 log.h
--- branches/kstars/summer/kstars/kstars/comast/log.cpp #996458:996459
@@ -67,11 +67,15 @@
void Comast::Log::writeSites() {
writer->writeStartElement("sites");
+ foreach( Comast::Site *o, m_siteList )
+ writeSite( o );
writer->writeEndElement();
}
void Comast::Log::writeSessions() {
writer->writeStartElement("sessions");
+ foreach( Comast::Session *o, m_sessionList )
+ writeSession( o );
writer->writeEndElement();
}
@@ -85,21 +89,29 @@
void Comast::Log::writeScopes() {
writer->writeStartElement("scopes");
+ foreach( Comast::Scope *o, m_scopeList )
+ writeScope( o );
writer->writeEndElement();
}
void Comast::Log::writeEyePieces() {
writer->writeStartElement("eyepieces");
+ foreach( Comast::Eyepiece *o, m_eyepieceList )
+ writeEyepiece( o );
writer->writeEndElement();
}
void Comast::Log::writeLenses() {
writer->writeStartElement("lenses");
+ foreach( Comast::Lens *o, m_lensList )
+ writeLens( o );
writer->writeEndElement();
}
void Comast::Log::writeFilters() {
writer->writeStartElement("filters");
+ foreach( Comast::Filter *o, m_filterList )
+ writeFilter( o );
writer->writeEndElement();
}
--- branches/kstars/summer/kstars/kstars/comast/log.h #996458:996459
@@ -73,6 +73,7 @@
QList<SkyObject *> m_targetList;
QList<Comast::Observer *> m_observerList;
QList<Comast::Eyepiece *> m_eyepieceList;
+ QList<Comast::Lens *> m_lensList;
QList<Comast::Filter *> m_filterList;
// QList<Comast::Equipment *> m_equipmentList;
// QList<Comast::Imager *> m_imagerList;
More information about the Kstars-devel
mailing list