Refactored some classes in subclasses for every specific type of source (OCS, XML...
authorMateu Batle <mateu.batle@collabora.co.uk>
Fri, 11 Jun 2010 20:13:33 +0000 (16:13 -0400)
committerMateu Batle <mateu.batle@collabora.co.uk>
Fri, 11 Jun 2010 20:13:33 +0000 (16:13 -0400)
commit8521fd04fe90c3701401ea85f2c06b49eae7440c
tree63e4357d91c97442dd7916e3a78a29b7faecd5c9
parentcc39d8fb8d1d3a361906ceeef7c4b4eb41335ef3
Refactored some classes in subclasses for every specific type of source (OCS, XML, Generic)
At the moment just the XML version done to separate the code. Created classes XmlCatalog, XmlCategory and XmlApplication (also rename BaseObject to XmlBaseObject)
It might be better to refactor later with a builder pattern instead of specialization
Some code for interfacing Attica is committed to, but not enabled yet, refactoring was needed first
22 files changed:
src/application.cpp
src/application.h
src/baseobject.cpp [deleted file]
src/baseobject.h [deleted file]
src/catalog.cpp
src/catalog.h
src/category.cpp
src/category.h
src/garageclientservices.cpp
src/garageclientservices.h
src/garagesettings.cpp
src/garagesettings.h
src/src.pro
src/types.h
src/xmlapplication.cpp [new file with mode: 0644]
src/xmlapplication.h [new file with mode: 0644]
src/xmlbaseobject.cpp [new file with mode: 0644]
src/xmlbaseobject.h [new file with mode: 0644]
src/xmlcatalog.cpp [new file with mode: 0644]
src/xmlcatalog.h [new file with mode: 0644]
src/xmlcategory.cpp [new file with mode: 0644]
src/xmlcategory.h [new file with mode: 0644]