[mythtv-commits] mythtv commit: r8967 - in trunk/mythtv by danielk

mythtv@cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Feb 15 16:18:40 UTC 2006


      Author: danielk
        Date: 2006-02-15 16:18:33 +0000 (Wed, 15 Feb 2006)
New Revision: 8967
   Changeset: http://cvs.mythtv.org/trac/changeset/8967

Added:

   trunk/mythtv/libs/libmythtv/cardutil.cpp
   trunk/mythtv/libs/libmythtv/cardutil.h
   trunk/mythtv/libs/libmythtv/sourceutil.cpp
   trunk/mythtv/libs/libmythtv/sourceutil.h

Modified:

   trunk/mythtv/libs/libmythtv/analogscan.cpp
   trunk/mythtv/libs/libmythtv/channel.cpp
   trunk/mythtv/libs/libmythtv/channeleditor.cpp
   trunk/mythtv/libs/libmythtv/dvbchannel.cpp
   trunk/mythtv/libs/libmythtv/dvbdiseqc.cpp
   trunk/mythtv/libs/libmythtv/dvbtransporteditor.cpp
   trunk/mythtv/libs/libmythtv/dvbtransporteditor.h
   trunk/mythtv/libs/libmythtv/libmythtv.pro
   trunk/mythtv/libs/libmythtv/scanwizard.cpp
   trunk/mythtv/libs/libmythtv/scanwizardhelpers.cpp
   trunk/mythtv/libs/libmythtv/signalmonitor.h
   trunk/mythtv/libs/libmythtv/siscan.cpp
   trunk/mythtv/libs/libmythtv/tv_rec.cpp
   trunk/mythtv/libs/libmythtv/videosource.cpp
   trunk/mythtv/libs/libmythtv/videosource.h
   trunk/mythtv/programs/mythfilldatabase/filldata.cpp

Log:

References #1037.

Small include refactoring. This doesn't change the code very much, it just moves the CardUtil and SourceUtil functions into their own files.

This is makes recompiles after changes to videosource.h significantly faster, this file had grown to a behemoth that was included in many places. It is still a behemoth, but now it is only included in three files since most of the places it was included only needed the CardUtil or SourceUtil classes.

This also includes a small fix for the DishNet legacy switch support patch I commited a couple days ago. There was an off by one error, so that you could only select the 21 switch and only by selecting the 64 switch in the UI. I've changed the places that used raw numbers to use the enum names of the switches to prevent this type of error in the future.






More information about the mythtv-commits mailing list