Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ev-media-player.h File Reference
#include <glib-object.h>
#include <gtk/gtk.h>
#include "ev-media.h"
+ Include dependency graph for ev-media-player.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EV_TYPE_MEDIA_PLAYER   (ev_media_player_get_type())
 
#define EV_MEDIA_PLAYER(object)   (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_MEDIA_PLAYER, EvMediaPlayer))
 
#define EV_IS_MEDIA_PLAYER(object)   (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_MEDIA_PLAYER))
 
#define EV_MEDIA_PLAYER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_MEDIA_PLAYER, EvMediaPlayerClass))
 
#define EV_IS_MEDIA_PLAYER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_MEDIA_PLAYER))
 
#define EV_MEDIA_PLAYER_GET_CLASS(object)   (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_MEDIA_PLAYER, EvMediaPlayerClass))
 

Typedefs

typedef struct _EvMediaPlayer EvMediaPlayer
 
typedef struct _EvMediaPlayerClass EvMediaPlayerClass
 

Enumerations

enum  EvMediaPlayerState { EV_MEDIA_PLAYER_STATE_PAUSE, EV_MEDIA_PLAYER_STATE_PLAY }
 

Functions

GType ev_media_player_get_type (void) G_GNUC_CONST
 
GtkWidget * ev_media_player_new (EvMedia *media)
 
EvMediaev_media_player_get_media (EvMediaPlayer *player)
 

Macro Definition Documentation

#define EV_IS_MEDIA_PLAYER (   object)    (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_MEDIA_PLAYER))

Definition at line 32 of file ev-media-player.h.

#define EV_IS_MEDIA_PLAYER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_MEDIA_PLAYER))

Definition at line 34 of file ev-media-player.h.

#define EV_MEDIA_PLAYER (   object)    (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_MEDIA_PLAYER, EvMediaPlayer))

Definition at line 31 of file ev-media-player.h.

#define EV_MEDIA_PLAYER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_MEDIA_PLAYER, EvMediaPlayerClass))

Definition at line 33 of file ev-media-player.h.

#define EV_MEDIA_PLAYER_GET_CLASS (   object)    (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_MEDIA_PLAYER, EvMediaPlayerClass))

Definition at line 35 of file ev-media-player.h.

#define EV_TYPE_MEDIA_PLAYER   (ev_media_player_get_type())

Definition at line 30 of file ev-media-player.h.

Typedef Documentation

typedef struct _EvMediaPlayer EvMediaPlayer

Definition at line 42 of file ev-media-player.h.

Definition at line 43 of file ev-media-player.h.

Enumeration Type Documentation

Enumerator
EV_MEDIA_PLAYER_STATE_PAUSE 
EV_MEDIA_PLAYER_STATE_PLAY 

Definition at line 37 of file ev-media-player.h.

Function Documentation

EvMedia* ev_media_player_get_media ( EvMediaPlayer player)

Definition at line 500 of file ev-media-player.c.

501 {
502  g_return_val_if_fail (EV_IS_MEDIA_PLAYER (player), NULL);
503 
504  return player->media;
505 }

+ Here is the caller graph for this function:

GType ev_media_player_get_type ( void  )
GtkWidget* ev_media_player_new ( EvMedia media)

Definition at line 492 of file ev-media-player.c.

493 {
494  g_return_val_if_fail (EV_IS_MEDIA (media), NULL);
495 
496  return GTK_WIDGET (g_object_new (EV_TYPE_MEDIA_PLAYER, "media", media, NULL));
497 }

+ Here is the caller graph for this function: