[Kstars-devel] Making all sky components static

Akarsh Simha akarshsimha at gmail.com
Mon Jun 16 21:51:30 CEST 2008


Hi

Shouldn't we be making all sky components singleton classes? This will
make some things easier, like accessing StarComponent from SkyMap or
StarBlockList.

Currently, I've made StarComponent::m_StarBlockList, and
StarComponent::m_StarBlockFactory static members, so that
StarBlockFactory and StarBlockList can access them easily, instead of
passing around pointers to the StarComponent.

Regards
Akarsh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.kde.org/pipermail/kstars-devel/attachments/20080617/b1e67883/attachment.pgp 


More information about the Kstars-devel mailing list