~fcwu-tw/ubuntu/precise/totem/fix-for-lp-1041032

« back to all changes in this revision

Viewing changes to lib/totem-scrsaver.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-08-12 13:09:09 UTC
  • mfrom: (1.11.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20100812130909-hzn8tsoh9z7t3dbx
Tags: 2.31.6-0ubuntu1
* New upstream version:
  - Add support for Web-M to browser, movie player, and YouTube plugin
  Movie Player:
  - Add deinterlacing support, automatically used for interlaced content
  - Do not block when loading playlists
  - Remove libunique dependency
  - Make auto-resize use half-scale or 2x if the player would fit on the 
    screen
  - Make screensaver preference clearer
  - Support running with RGBA (semi-transparent) GTK+ themes
  Plugins:
  - Update for YouTube website changes
  Browser plugin:
  - Fix running browser plugin in non-GTK+ front-ends
  - VLC-compatible browser plugin:
  - Support input.time and input.length property
  - Support togglePause function
  - Support toolbar plugin argument
* debian/control.in:
  - updated the build requirements to match the configure
* debian/patches/80_webm.patch,
  debian/patches/81_mpegts.patch,
  debian/patches/91_git_correct_rgba_use.patch:
  - the changes are in the new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
   Author: Bastien Nocera <hadess@hadess.net>
20
20
 */
21
21
 
22
 
#include <glib.h>
 
22
#ifndef TOTEM_SCRSAVER_H
 
23
#define TOTEM_SCRSAVER_H
 
24
 
23
25
#include <glib-object.h>
24
26
 
 
27
G_BEGIN_DECLS
 
28
 
25
29
#define TOTEM_TYPE_SCRSAVER             (totem_scrsaver_get_type ())
26
30
#define TOTEM_SCRSAVER(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), TOTEM_TYPE_SCRSAVER, TotemScrsaver))
27
31
#define TOTEM_SCRSAVER_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), TOTEM_TYPE_SCRSAVER, TotemScrsaverClass))
28
32
#define TOTEM_IS_SCRSAVER(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TOTEM_TYPE_SCRSAVER))
29
33
#define TOTEM_IS_SCRSAVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TOTEM_TYPE_SCRSAVER))
30
34
 
31
 
 
32
35
typedef struct TotemScrsaver TotemScrsaver;
33
36
typedef struct TotemScrsaverClass TotemScrsaverClass;
34
37
typedef struct TotemScrsaverPrivate TotemScrsaverPrivate;
39
42
};
40
43
 
41
44
struct TotemScrsaverClass {
42
 
        GObjectClass parent_class; 
 
45
        GObjectClass parent_class;
43
46
};
44
47
 
45
 
GType totem_scrsaver_get_type           (void);
46
 
TotemScrsaver *totem_scrsaver_new       (void);
 
48
GType totem_scrsaver_get_type           (void) G_GNUC_CONST;
 
49
TotemScrsaver *totem_scrsaver_new       (void);
47
50
void totem_scrsaver_enable              (TotemScrsaver *scr);
48
51
void totem_scrsaver_disable             (TotemScrsaver *scr);
49
52
void totem_scrsaver_set_state           (TotemScrsaver *scr,
50
53
                                         gboolean enable);
51
54
 
 
55
G_END_DECLS
 
56
 
 
57
#endif /* !TOTEM_SCRSAVER_H */