[Kstars-devel] Reorganisation of the sources layout

Médéric Boquien mboquien at free.fr
Mon Feb 23 07:03:51 CET 2009


Hi,

As i was trying to make my way into kstars' sources, i realised that it is 
awfully messy with about 200 files in the main source dir. To make it easier to 
navigate into the kstars' sources i propose to reorganise then as follows:
* optional compoments (indi, cfitsio, xplanet) are entirely self-contained in 
their own directory
* the icons move to icons/
* the options move to options/
* all other dialogs move to dialogs/
* the base classes for sky bodies (ksplanet.* for instance) move to skybodies
* the related objects (starobject.* for instance) move to skyobjects
* skycomponents is renamed as skymapcomponents
This is a first proposal to get some feedback to improve the layout in any way. 
I do not know what to do with  a number of files, suggestions most welcome. I 
paste the proposed layout at the end of the email. I touch only file in 
kstars/kstars, not in other subdirectories. Of course i volunteer to move the 
files once we agree.

Regards,

Médéric

dialogs/
dialogs/addcatdialog.cpp   
dialogs/addcatdialog.h     
dialogs/addcatdialog.ui    
dialogs/addlinkdialog.cpp  
dialogs/addlinkdialog.h    
dialogs/addlinkdialog.ui   
dialogs/detaildialog.cpp   
dialogs/detaildialog.h     
dialogs/details_database.ui
dialogs/details_data.ui    
dialogs/details_links.ui   
dialogs/details_log.ui     
dialogs/details_position.ui
dialogs/finddialog.cpp     
dialogs/finddialog.h       
dialogs/finddialog.ui      
dialogs/focusdialog.cpp    
dialogs/focusdialog.h      
dialogs/focusdialog.ui     
dialogs/fovdialog.cpp      
dialogs/fovdialog.h        
dialogs/fovdialog.ui       
dialogs/locationdialog.cpp 
dialogs/locationdialog.h   
dialogs/locationdialog.ui  
dialogs/timedialog.cpp
dialogs/timedialog.h
dialogs/kswizard.cpp       
dialogs/kswizard.h         
dialogs/wizdownload.ui
dialogs/wizlocation.ui
dialogs/wizwelcome.ui

fitsviewer/
fitsviewer/fitsheaderdialog.ui
fitsviewer/fitshistogram.cpp  
fitsviewer/fitshistogram.h    
fitsviewer/fitshistogramui.ui 
fitsviewer/fitsimage.cpp      
fitsviewer/fitsimage.h        
fitsviewer/fitsviewer.cpp     
fitsviewer/fitsviewer.h       
fitsviewer/fitsviewer.rc      
fitsviewer/statform.ui
fitsviewer/streamform.ui

icons/
icons/hi128-app-kstars.png     
icons/hi16-app-kstars.png      
icons/hi32-app-kstars.png      
icons/hi48-app-kstars.png      
icons/hi64-app-kstars.png      
icons/hisc-app-kstars.svgz     

indi/
indi/devicemanager.cpp
indi/devicemanager.h  
indi/devmanager.ui    
indi/indidevice.cpp   
indi/indidevice.h     
indi/indidriver.cpp   
indi/indidriver.h     
indi/indielement.cpp  
indi/indielement.h    
indi/indigroup.cpp    
indi/indigroup.h      
indi/indihostconf.ui  
indi/indimenu.cpp     
indi/indimenu.h       
indi/indiproperty.cpp 
indi/indiproperty.h   
indi/indistd.cpp      
indi/indistd.h        
indi/opsindi.cpp      
indi/opsindi.h        
indi/opsindi.ui       
indi/streamwg.cpp
indi/streamwg.h
indi/telescopeprop.cpp
indi/telescopeprop.h
indi/telescopeprop.ui
indi/telescopewizardprocess.cpp
indi/telescopewizardprocess.h
indi/telescopewizard.ui
indi/imagesequence.cpp         
indi/imagesequence.h           
indi/imgsequencedlg.ui         

options/                       
options/opsadvanced.cpp
options/opsadvanced.h  
options/opsadvanced.ui 
options/opscatalog.cpp 
options/opscatalog.h   
options/opscatalog.ui  
options/opscolors.cpp  
options/opscolors.h    
options/opscolors.ui   
options/opsguides.cpp  
options/opsguides.h    
options/opsguides.ui   
options/opssolarsystem.cpp     
options/opssolarsystem.h       
options/opssolarsystem.ui      
options/Options.kcfgc          
options/kstars.kcfg

skybodies/
skybodies/ksasteroid.cpp  
skybodies/ksasteroid.h 
skybodies/kscomet.cpp     
skybodies/kscomet.h       
skybodies/ksmoon.cpp      
skybodies/ksmoon.h        
skybodies/ksplanetbase.cpp
skybodies/ksplanetbase.h  
skybodies/ksplanet.cpp    
skybodies/ksplanet.h      
skybodies/kspluto.cpp     
skybodies/kspluto.h       
skybodies/jupitermoons.cpp
skybodies/jupitermoons.h  
skybodies/kssun.cpp       
skybodies/kssun.h         

skyobjects/
skyobjects/auxinfo.h 
skyobjects/deepskyobject.cpp
skyobjects/deepskyobject.h  
skyobjects/deepstardata.h
skyobjects/skyobject.cpp
skyobjects/skyobject.h
skyobjects/skypoint.cpp
skyobjects/skypoint.h
skyobjects/skyline.cpp
skyobjects/skyline.h
skyobjects/stardata.h
skyobjects/starobject.cpp
skyobjects/starobject.h
skyobjects/trailobject.cpp
skyobjects/trailobject.h
                         
thumbnails/
thumbnails/thumbnaileditor.cpp
thumbnails/thumbnaileditor.h
thumbnails/thumbnaileditor.ui
thumbnails/thumbnailpicker.cpp
thumbnails/thumbnailpicker.h
thumbnails/thumbnailpicker.ui

xplanet/opsxplanet.cpp
xplanet/opsxplanet.h  
xplanet/opsxplanet.ui 

binfilehelper.cpp              
binfilehelper.h                
byteswap.h                     
CMakeLists.txt                 
colorscheme.cpp                
colorscheme.h                                                 
dms.cpp                        
dms.h                          
fov.cpp                        
fov.h                          
geolocation.cpp                
geolocation.h                  
imageviewer.cpp                
imageviewer.h                  
infobox.cpp                    
infoboxes.cpp                  
infoboxes.h                    
infobox.h                                                   
ksfilereader.cpp               
ksfilereader.h                 
ksnumbers.cpp                  
ksnumbers.h                    
kspopupmenu.cpp                
kspopupmenu.h                  
kstarsactions.cpp              
kstars.cpp                     
kstarsdata.cpp                 
kstarsdata.h                   
kstarsdatetime.cpp             
kstarsdatetime.h               
kstarsdcop.cpp                 
kstars.desktop                 
kstars.h                       
kstarsinit.cpp                 
kstars.knsrc                   
kstarssplash.cpp               
kstarssplash.h                 
kstarsui-indi.rc               
kstarsui.rc                    
kstarsui-win.rc                
ksutils.cpp                    
ksutils.h                      
main.cpp                       
Messages.sh                    
newfov.ui
org.kde.kstars.SimClock.xml    
org.kde.kstars.xml             
quaternion.cpp                 
quaternion.h
simclock.cpp
simclock.h
skymap.cpp
skymapdraw.cpp
skymapevents.cpp
skymap.h
timezonerule.cpp
timezonerule.h

Rename skycomponents as skymapcomponents


More information about the Kstars-devel mailing list