[mythtv-firehose] mythtv/master commit: fd68a6fc8 by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Sun Jul 24 20:58:58 UTC 2011


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2011-07-24T13:58:04-07:00
   Push Date:  2011/07/24 13:58:50 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  fd68a6fc88f17199a0f9dafaceb857e65ae25ca2
   Changeset:  https://github.com/MythTV/mythtv/commit/fd68a6fc8

Log:

Split mythlogging.h into parts to reduce recompiles

Causes an API version bump.  Make distclean likely required.

As everybody and its dog uses mythlogging.h, any small changes to internals
would precipitate a recompile of nearly everything.  This is not fun.  So...

mythlogging.h remains the header presenting the logging API to the rest of the
              system
loggingdefs.h contains the definition of LogLevel_t enum (likely to be
              combined with verbosedefs.h)
logging.h     contains the internals of the logging system (classes, etc)
logging.cpp   contains the code for the logging system

I had to rename mythlogging.cpp -> logging.cpp or moc wouldn't create the
moc_logging.cpp file (or moc_mythlogging.cpp) as the class definitions weren't
in mythlogging.h anymore.

Added:

   mythtv/libs/libmythbase/logging.cpp
   mythtv/libs/libmythbase/logging.h
   mythtv/libs/libmythbase/loggingdefs.h

Removed:

   mythtv/libs/libmythbase/mythlogging.cpp

Modified:

   mythtv/libs/libmythbase/libmythbase.pro
   mythtv/libs/libmythbase/mythlogging.h
   mythtv/libs/libmythbase/mythversion.h



More information about the mythtv-firehose mailing list