UnityProxy.cpp File Reference
#include "UnityProxy.h"
#include <nsCOMPtr.h>
#include <nsIObserverService.h>
#include <nsServiceManagerUtils.h>
Include dependency graph for UnityProxy.cpp:

Go to the source code of this file.

Functions

void onPlayPause (GtkWidget *window, gpointer data)
 
void onNext (GtkWidget *window, gpointer data)
 
void onPrevious (GtkWidget *window, gpointer data)
 
void onRaise (GtkWidget *window, gpointer data)
 
void checkWindowTitle (gpointer data, gpointer user_data)
 

Variables

static nsCOMPtr
< nsIObserverService > 
observerService = NULL
 
static UnityMusicPlayer * musicPlayer = NULL
 
static UnityTrackMetadata * trackMetadata = NULL
 
static GtkWindow * playerGtkWindow = NULL
 
static gchar * playerName = NULL
 
static gchar * playerIcon = NULL
 
static gboolean lockedFromSoundMenu = false
 
static gboolean enableNotify = true
 

Function Documentation

void checkWindowTitle ( gpointer  data,
gpointer  user_data 
)

Definition at line 48 of file UnityProxy.cpp.

void onNext ( GtkWidget *  window,
gpointer  data 
)

Definition at line 28 of file UnityProxy.cpp.

void onPlayPause ( GtkWidget *  window,
gpointer  data 
)

Definition at line 16 of file UnityProxy.cpp.

void onPrevious ( GtkWidget *  window,
gpointer  data 
)

Definition at line 35 of file UnityProxy.cpp.

void onRaise ( GtkWidget *  window,
gpointer  data 
)

Definition at line 42 of file UnityProxy.cpp.

Variable Documentation

gboolean enableNotify = true
static

Definition at line 14 of file UnityProxy.cpp.

gboolean lockedFromSoundMenu = false
static

Definition at line 12 of file UnityProxy.cpp.

UnityMusicPlayer* musicPlayer = NULL
static

Definition at line 7 of file UnityProxy.cpp.

nsCOMPtr<nsIObserverService> observerService = NULL
static

Definition at line 6 of file UnityProxy.cpp.

GtkWindow* playerGtkWindow = NULL
static

Definition at line 9 of file UnityProxy.cpp.

gchar* playerIcon = NULL
static

Definition at line 11 of file UnityProxy.cpp.

gchar* playerName = NULL
static

Definition at line 10 of file UnityProxy.cpp.

UnityTrackMetadata* trackMetadata = NULL
static

Definition at line 8 of file UnityProxy.cpp.