~woodrow-shen/totem/mybranch

« back to all changes in this revision

Viewing changes to browser-plugin/totemConeInput.h

Tags: 2.24.3-3
* totem-mozilla.docs: ship README.browser-plugin which explains how to 
  disable the plugin for some MIME types.
* rules: remove the hack that only let totem-xine support VCDs and 
  DVDs, now that GStreamer supports them. Closes: #370789.
* 01_fake_keypresses.patch: new patch. Completely disable the broken 
  XTEST code that generates fake keypresses. Closes: #500330.
* 90_autotools.patch: regenerated.
* Build-depend on nautilus 2.22 to be sure to build the extension for 
  the correct version.
* totem-xine depends on libxine1-x.
* Standards version is 3.8.1.
* Upload to unstable.
* 04_tracker_build.patch: new patch, stolen upstream. Fix build with 
  latest tracker version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Totem Cone plugin
 
2
 *
 
3
 * Copyright © 2004 Bastien Nocera <hadess@hadess.net>
 
4
 * Copyright © 2002 David A. Schleef <ds@schleef.org>
 
5
 * Copyright © 2006, 2007, 2008 Christian Persch
 
6
 *
 
7
 * This library is free software; you can redistribute it and/or
 
8
 * modify it under the terms of the GNU Library General Public
 
9
 * License as published by the Free Software Foundation; either
 
10
 * version 2 of the License, or (at your option) any later version.
 
11
 *
 
12
 * This library is distributed in the hope that it will be useful,
 
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
15
 * Library General Public License for more details.
 
16
 *
 
17
 * You should have received a copy of the GNU Library General Public
 
18
 * License along with this library; if not, write to the
 
19
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 
20
 * Boston, MA 02110-1301  USA.
 
21
 */
 
22
 
 
23
#ifndef __TOTEM_CONE_INPUT_H__
 
24
#define __TOTEM_CONE_INPUT_H__
 
25
 
 
26
#include "totemNPClass.h"
 
27
#include "totemNPObject.h"
 
28
 
 
29
class totemConeInput : public totemNPObject
 
30
{
 
31
  public:
 
32
    totemConeInput (NPP);
 
33
    virtual ~totemConeInput ();
 
34
 
 
35
  private:
 
36
 
 
37
    enum Properties {
 
38
      eFps,
 
39
      eHasVout,
 
40
      eLength,
 
41
      ePosition,
 
42
      eRate,
 
43
      eState,
 
44
      eTime
 
45
    };
 
46
 
 
47
    virtual bool GetPropertyByIndex (int aIndex, NPVariant *_result);
 
48
    virtual bool SetPropertyByIndex (int aIndex, const NPVariant *aValue);
 
49
};
 
50
 
 
51
TOTEM_DEFINE_NPCLASS (totemConeInput);
 
52
 
 
53
#endif /* __TOTEM_CONE_INPUT_H__ */