[mythtv-commits] mythtv commit: r8994 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Feb 16 20:28:09 UTC 2006


      Author: danielk
        Date: 2006-02-16 20:28:07 +0000 (Thu, 16 Feb 2006)
New Revision: 8994
   Changeset: http://cvs.mythtv.org/trac/changeset/8994

Modified:

   trunk/mythtv/libs/libmythtv/recordingprofile.cpp
   trunk/mythtv/libs/libmythtv/recordingprofile.h
   trunk/mythtv/libs/libmythtv/tv_rec.cpp
   trunk/mythtv/libs/libmythtv/tv_rec.h

Log:

References #1133. two small refactorings.

 * Break out channel creation from TVRec::Init() into TVRec::CreateChannel()
 * Simplify recordingprofile loading. This eliminates function in TVRec, and replaces loadByCardID() with loadByCardType() in RecordingProfile.

The first one makes it possible for us to recreate the channel classes, and the second change just makes the code simpler by eliminating some unnesessary code.






More information about the mythtv-commits mailing list