Music Hub  ..
A session-wide music playback service
qtbridge.h File Reference
#include <QObject>
#include <functional>
#include <future>
#include <iostream>
+ Include dependency graph for qtbridge.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 qt
 
 qt::core
 
 qt::core::world
 

Functions

void qt::core::world::build_and_run (int argc, char **argv, const std::function< void()> &ready)
 Sets up the Qt core world and executes its event loop. Blocks until destroy() is called. More...
 
void qt::core::world::destroy ()
 Destroys the Qt core world and quits its event loop. More...
 
std::future< void > qt::core::world::enter_with_task (const std::function< void()> &task)
 Enters the Qt core world and schedules the given task for execution. More...
 
template<typename T >
std::future< T > qt::core::world::enter_with_task_and_expect_result (const std::function< T()> &task)
 Enters the Qt core world and schedules the given task for execution. More...