Ubuntu TV Media Scanner
A centralized index for removable media content.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Constant Groups | Functions
glibutils.h File Reference
#include <gio/gio.h>
#include <gio/gunixmounts.h>
#include <grilo.h>
#include <gst/pbutils/gstdiscoverer.h>
#include <gudev/gudev.h>
#include <libsoup/soup.h>
#include <boost/date_time/posix_time/posix_time_duration.hpp>
#include <string>
#include "mediascanner/declarations.h"

Classes

class  mediascanner::Wrapper< T, CopyHelper >
 A shared smart-pointer for GLib related types. More...
 
struct  mediascanner::ListWrapper< T, List >
 
class  mediascanner::Source
 The Source class provides access to the GLib event source mechanism. More...
 
class  mediascanner::Idle
 The Idle class provides access to GLib's idle source mechanism. More...
 
class  mediascanner::Timeout
 The Timeout class provides access to GLib's timeout mechanism. More...
 

Namespaces

 mediascanner
 Public components of the Ubuntu TV Media Scanner.
 

Constant Groups

 mediascanner
 Public components of the Ubuntu TV Media Scanner.
 

Functions

template<typename T >
T * mediascanner::shallow_copy (const T *p)
 A type-safe function for creating shallow copies of structures. More...
 
template<typename T , size_t N>
static T * mediascanner::array_copy (const T(&p)[N])
 A type-safe function for creating shallow copies of pointer arrays. More...
 
template<typename T >
Wrapper< T > mediascanner::wrap (T *p)
 Wraps a pointer to an object by a shared smart-pointer. More...
 
template<typename T >
Wrapper< T > mediascanner::take (T *p)
 Wraps a pointer to an object by a shared smart-pointer. More...
 
template<typename T >
Wrapper< T > mediascanner::wrap_static (const T *p)
 Wraps a statically allocated structure by a shared smart-pointer. More...
 
template<typename T >
void mediascanner::DestroyNotify (gpointer user_data)
 Type-safe destroy notifier. More...
 
template<typename T >
void mediascanner::ClosureNotify (gpointer user_data, GClosure *)
 
std::string mediascanner::to_string (const GError *error)
 Describes a GError. More...
 
std::string mediascanner::to_string (const GstCaps *caps)
 Describes GStreamer capabilities. More...
 
template<typename BoxedType >
GParamSpecmediascanner::MakeParamSpecBoxed (const char *name, const char *nick, const char *blurb, GParamFlags flags)
 Creates a GParamSpec for boxed types. More...