[mythtv-commits] mythtv/master commit: 1df93f5e4 by Chris Pinkham (cpinkham)
MythTV
noreply at mythtv.org
Mon Oct 17 04:54:49 UTC 2011
Author: Chris Pinkham <cpinkham at mythtv.org>
Change Date: 2011-10-16T21:45:20-07:00
Push Date: 2011/10/16 21:54:34 -0700
Repository: mythtv
Branch: master
New Revision: 1df93f5e4c11194b60208d2da51122e29e176d31
Changeset: https://github.com/MythTV/mythtv/commit/1df93f5e4
Log:
Move main system event sender helper routine to MythCoreContext.
This will allow any code with access to MythCoreContext via
the global gCoreContext to be able to send a MythSystemEvent.
This includes plugins and libmythbase.
Instead of this:
#include "mythsystemevent.h"
SendMythSystemEvent("blah");
callers can now do this:
gCoreContext->SendSystemEvent("blah");
Rather than replicating the code in RemoteSendMessage() inside
MythCoreContext, RemoteSendMessage() has been moved into MythCoreContext
as MythCoreContext::SendMessage(). Ditto for RemoteSendEvent()
moving to MythCoreContext::SendEvent(). Both of these were no longer
true 'Remote' methods since they send the message or event locally when
run from the mythbackend application.
Fixes #9394.
NOTE: This commit modifies the binary API verison, so make clean, etc..
Modified:
mythtv/libs/libmyth/programinfoupdater.cpp
mythtv/libs/libmyth/rawsettingseditor.cpp
mythtv/libs/libmyth/remoteutil.cpp
mythtv/libs/libmyth/remoteutil.h
mythtv/libs/libmythbase/mythcorecontext.cpp
mythtv/libs/libmythbase/mythcorecontext.h
mythtv/libs/libmythbase/mythversion.h
mythtv/libs/libmythmetadata/videoscan.cpp
mythtv/libs/libmythprotoserver/requesthandler/basehandler.cpp
mythtv/libs/libmythtv/mythplayer.cpp
mythtv/libs/libmythtv/mythsystemevent.cpp
mythtv/libs/libmythtv/mythsystemevent.h
mythtv/libs/libmythtv/tv_play.cpp
mythtv/programs/mythbackend/main_helpers.cpp
mythtv/programs/mythbackend/mainserver.cpp
mythtv/programs/mythbackend/scheduler.cpp
mythtv/programs/mythcommflag/main.cpp
mythtv/programs/mythfilldatabase/main.cpp
mythtv/programs/mythfrontend/main.cpp
mythtv/programs/mythfrontend/networkcontrol.cpp
mythtv/programs/mythfrontend/themechooser.cpp
mythtv/programs/mythshutdown/main.cpp
mythtv/programs/mythtv-setup/exitprompt.cpp
mythtv/programs/mythutil/backendutils.cpp
mythtv/programs/mythwelcome/welcomedialog.cpp
More information about the mythtv-commits
mailing list