mythsystem.h File Reference

Go to the source code of this file.

Classes

class  MythSystem
class  MythSystemPrivate

Typedefs

typedef enum MythSystemMask MythSystemFlag
typedef QMap< QString, boolSetting_t

Enumerations

enum  MythSystemMask {
  kMSNone = 0x00000000, kMSDontBlockInputDevs = 0x00000001, kMSDontDisableDrawing = 0x00000002, kMSRunBackground = 0x00000004,
  kMSProcessEvents = 0x00000008, kMSInUi = 0x00000010, kMSStdIn = 0x00000020, kMSStdOut = 0x00000040,
  kMSStdErr = 0x00000080, kMSBuffered = 0x00000100, kMSRunShell = 0x00000200, kMSNoRunShell = 0x00000400,
  kMSAnonLog = 0x00000800, kMSAbortOnJump = 0x00001000, kMSSetPGID = 0x00002000, kMSAutoCleanup = 0x00004000,
  kMSLowExitVal = 0x00008000
}

Functions

void ShutdownMythSystem (void)
MBASE_PUBLIC unsigned int myth_system (const QString &command, uint flags=kMSNone, uint timeout=0)
MBASE_PUBLIC void myth_system_jump_abort (void)
MBASE_PUBLIC unsigned int myth_system_c (char *command, uint flags, uint timeout)

Typedef Documentation

typedef QMap<QString, bool> Setting_t

Definition at line 35 of file mythsystem.h.


Enumeration Type Documentation

Enumerator:
kMSNone 
kMSDontBlockInputDevs 
kMSDontDisableDrawing 
kMSRunBackground 
kMSProcessEvents 
kMSInUi 
kMSStdIn 
kMSStdOut 
kMSStdErr 
kMSBuffered 
kMSRunShell 
kMSNoRunShell 
kMSAnonLog 
kMSAbortOnJump 
kMSSetPGID 
kMSAutoCleanup 
kMSLowExitVal 

Definition at line 8 of file mythsystem.h.


Function Documentation

void ShutdownMythSystem ( void   ) 

Definition at line 65 of file system-unix.cpp.

Referenced by MythCoreContextPrivate::~MythCoreContextPrivate().

MBASE_PUBLIC unsigned int myth_system ( const QString &  command,
uint  flags = kMSNone,
uint  timeout = 0 
)

Definition at line 401 of file mythsystem.cpp.

Referenced by MythCoreContext::BackendIsRunning(), burnISOImage(), DcrawHandler::canRead(), WelcomeDialog::checkAutoStart(), Scheduler::CheckShutdownServer(), MythCoreContext::ConnectCommandSocket(), LCD::connectToHost(), createISOImage(), WelcomeDialog::customEvent(), MythThemedMenu::customEvent(), IdleScreen::customEvent(), DBUtil::DoBackup(), BurnMenu::doBurn(), JobQueue::DoFlagCommercialsThread(), JobQueue::DoMetadataLookupThread(), JobQueue::DoTranscodeThread(), JobQueue::DoUserJobThread(), MythMediaDevice::eject(), MediaMonitor::ejectOpticalDisc(), exec_program_cb(), exec_program_tv_cb(), MythMediaDevice::findMountPath(), ImportNative::finishedPressed(), getFileDetails(), FillData::GrabData(), ExitPrompter::halt(), MainServer::HandleGoToSleep(), Scheduler::HandleRunSchedulerStartup(), IsPulseAudioRunning(), isRunning(), WelcomeDialog::keyPressEvent(), GameHandler::Launchgame(), WelcomeDialog::lockShutdown(), myth_system_c(), MSqlDatabase::OpenDatabase(), MythMediaDevice::performMountCmd(), ping(), VideoPlayMythSystem::Play(), playDisc(), MainServer::ProcessRequestWork(), ExitPrompter::reboot(), ScreenSaverX11Private::ResetScreenSaver(), PreviewGenerator::Run(), SystemEventThread::run(), HTTPLiveStreamThread::run(), CDRipperThread::run(), WelcomeDialog::runMythFillDatabase(), MythBurn::runScript(), ExportNative::runScript(), runTestDVD(), ScreenSaverX11Private::ScreenSaverX11Private(), VideoDialog::ShowHomepage(), WelcomeDialog::showMenu(), NetTree::showWebVideo(), NetSearch::showWebVideo(), shutdown(), WelcomeDialog::shutdownNow(), Scheduler::ShutdownServer(), BookmarkManager::slotBookmarkClicked(), BookmarkManager::slotShowMarked(), GeneralSetupWizard::slotView(), MythNews::slotViewArticle(), WelcomeDialog::startFrontend(), LCD::startLCDServer(), StartPrompter::stopBackend(), MythContextPrivate::TestDBconnection(), WelcomeDialog::unlockShutdown(), SourceUtil::UpdateChannelsFromListings(), WelcomeDialog::updateStatusMessage(), and Scheduler::WakeUpSlave().

MBASE_PUBLIC void myth_system_jump_abort ( void   ) 

Definition at line 413 of file mythsystem.cpp.

MBASE_PUBLIC unsigned int myth_system_c ( char *  command,
uint  flags,
uint  timeout 
)

Definition at line 420 of file mythsystem.cpp.

Referenced by lirc_readconfig().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:41:48 2012 for MythTV by  doxygen 1.6.3