~walkerlee/totem/pre-interview

« back to all changes in this revision

Viewing changes to lib/totem-scrsaver.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-05-26 00:07:51 UTC
  • mfrom: (1.6.1) (24.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20130526000751-kv8ap3x1di4qq8j2
Tags: 3.8.2-0ubuntu1
* Sync with Debian. Remaining changes: 
* debian/control.in:
  - Drop build-depends on libepc-ui-dev and libgrilo-0.2-dev (in universe)
  - Drop libxtst-dev build-depends so that the (redundant) fake key presses
    for inhibiting the screensaver are disabled (LP: #1007438)
  - Build-depend on libzeitgeist-dev
  - Suggest rather than recommend gstreamer components in universe
  - Add totem-plugins-extra
  - Add XB-Npp-Description and XB-Npp-Filename header to the 
    totem-mozilla package to improve ubufox/ubuntu plugin db integration 
  - Refer to Firefox in totem-mozilla description instead of Iceweasel
  - Don't have totem-mozilla recommend any particular browser
  - Drop obsolete python library dependencies since iplayer is no longer
    included
* debian/totem-common.install, debian/source_totem.py:
  - Install Ubuntu apport debugging hook
* debian/totem-plugins-extra.install:
  - Universe plugins split out of totem-plugins (currently only gromit)
* debian/totem-plugins.install:    
  - Skip the plugins split to -extra and add the zeitgeist plugin
* debian/rules:
  - Build with --fail-missing, to ensure we install everything. 
    + Ignore libtotem.{,l}a since we delibrately don't install these.
  - Re-enable hardening, make sure both PIE and BINDNOW are used
    by setting hardening=+all. (LP: #1039604)
* debian/patches/91_quicklist_entries.patch:
  - Add static quicklist
* debian/patches/92_gst-plugins-good.patch:
  - Build without unnecessary gstreamer1.0-bad dependency
* debian/patches/93_grilo_optional.patch:
  - Allow building without grilo while grilo MIR is still pending
* debian/patches/correct_desktop_mimetypes.patch:
  - Don't list the mimetypes after the unity lists
* debian/patches/revert_shell_menu.patch: 
  - revert the use of a shell menu until indicator-appmenu can handle
    the mixed shell/traditional menus itself
* New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* 
2
 
   Copyright (C) 2004, Bastien Nocera <hadess@hadess.net>
3
 
 
4
 
   The Gnome Library is free software; you can redistribute it and/or
5
 
   modify it under the terms of the GNU Library General Public License as
6
 
   published by the Free Software Foundation; either version 2 of the
7
 
   License, or (at your option) any later version.
8
 
 
9
 
   The Gnome Library is distributed in the hope that it will be useful,
10
 
   but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12
 
   Library General Public License for more details.
13
 
 
14
 
   You should have received a copy of the GNU Library General Public
15
 
   License along with the Gnome Library; see the file COPYING.LIB.  If not,
16
 
   write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17
 
   Boston, MA 02110-1301  USA.
18
 
 
19
 
   Author: Bastien Nocera <hadess@hadess.net>
20
 
 */
21
 
 
22
 
#ifndef TOTEM_SCRSAVER_H
23
 
#define TOTEM_SCRSAVER_H
24
 
 
25
 
#include <glib-object.h>
26
 
 
27
 
G_BEGIN_DECLS
28
 
 
29
 
#define TOTEM_TYPE_SCRSAVER             (totem_scrsaver_get_type ())
30
 
#define TOTEM_SCRSAVER(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), TOTEM_TYPE_SCRSAVER, TotemScrsaver))
31
 
#define TOTEM_SCRSAVER_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), TOTEM_TYPE_SCRSAVER, TotemScrsaverClass))
32
 
#define TOTEM_IS_SCRSAVER(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TOTEM_TYPE_SCRSAVER))
33
 
#define TOTEM_IS_SCRSAVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TOTEM_TYPE_SCRSAVER))
34
 
 
35
 
typedef struct TotemScrsaver TotemScrsaver;
36
 
typedef struct TotemScrsaverClass TotemScrsaverClass;
37
 
typedef struct TotemScrsaverPrivate TotemScrsaverPrivate;
38
 
 
39
 
struct TotemScrsaver {
40
 
        GObject parent;
41
 
        TotemScrsaverPrivate *priv;
42
 
};
43
 
 
44
 
struct TotemScrsaverClass {
45
 
        GObjectClass parent_class;
46
 
};
47
 
 
48
 
GType totem_scrsaver_get_type           (void) G_GNUC_CONST;
49
 
TotemScrsaver *totem_scrsaver_new       (void);
50
 
void totem_scrsaver_enable              (TotemScrsaver *scr);
51
 
void totem_scrsaver_disable             (TotemScrsaver *scr);
52
 
void totem_scrsaver_set_state           (TotemScrsaver *scr,
53
 
                                         gboolean enable);
54
 
 
55
 
G_END_DECLS
56
 
 
57
 
#endif /* !TOTEM_SCRSAVER_H */