MythTV  master
Functions
libmythbrowser.cpp File Reference
#include <iostream>
#include <unistd.h>
#include <QApplication>
#include <libmyth/mythcontext.h>
#include <libmythbase/mythpluginapi.h>
#include <libmythbase/mythversion.h>
#include <libmythui/mythmainwindow.h>
#include <libmythui/mythscreenstack.h>
#include "bookmarkmanager.h"
#include "browserdbutil.h"
#include "mythbrowser.h"
#include "mythflashplayer.h"
Include dependency graph for libmythbrowser.cpp:

Go to the source code of this file.

Functions

static int handleMedia (const QString &url, const QString &directory, const QString &filename, const QString &, const QString &, int, int, const QString &, std::chrono::minutes, const QString &, const QString &, bool)
 
static void runBookmarkManager ()
 
static void runHomepage ()
 Loads the specified homepage from the database (the name starts with an underscore) and calls handleMedia() if it exists. More...
 
static void setupKeys (void)
 
int mythplugin_init (const char *libversion)
 
int mythplugin_run (void)
 
int mythplugin_config (void)
 

Function Documentation

◆ handleMedia()

static int handleMedia ( const QString &  url,
const QString &  directory,
const QString &  filename,
const QString &  ,
const QString &  ,
int  ,
int  ,
const QString &  ,
std::chrono::minutes  ,
const QString &  ,
const QString &  ,
bool   
)
static

Definition at line 21 of file libmythbrowser.cpp.

Referenced by runHomepage(), and setupKeys().

◆ runBookmarkManager()

static void runBookmarkManager ( )
static

Definition at line 67 of file libmythbrowser.cpp.

Referenced by setupKeys().

◆ runHomepage()

runHomepage ( )
static

Loads the specified homepage from the database (the name starts with an underscore) and calls handleMedia() if it exists.

Returns
void.

Definition at line 77 of file libmythbrowser.cpp.

Referenced by setupKeys().

◆ setupKeys()

static void setupKeys ( void  )
static

Definition at line 107 of file libmythbrowser.cpp.

Referenced by mythplugin_init().

◆ mythplugin_init()

int mythplugin_init ( const char *  libversion)

Definition at line 123 of file libmythbrowser.cpp.

◆ mythplugin_run()

int mythplugin_run ( void  )

Definition at line 146 of file libmythbrowser.cpp.

Referenced by runBookmarkManager().

◆ mythplugin_config()

int mythplugin_config ( void  )

Definition at line 161 of file libmythbrowser.cpp.