~ubuntu-branches/ubuntu/maverick/vlc/maverick

« back to all changes in this revision

Viewing changes to projects/mozilla/support/classinfo.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-09-17 21:56:14 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20080917215614-tj0vx8xzd57e52t8
Tags: 0.9.2-1ubuntu1
* New Upstream Release, exception granted by
    - dktrkranz, norsetto, Hobbsee (via irc). LP: #270404

Changes done in ubuntu:

* add libxul-dev to build-depends
* make sure that vlc is build against libxul in configure. This doesn't
  change anything in the package, but makes it more robust if building
  in an 'unclean' chroot or when modifying the package.
* debian/control: make Vcs-* fields point to the motumedia branch
* add libx264-dev and libass-dev to build-depends
  LP: #210354, #199870
* actually enable libass support by passing --enable-libass to configure
* enable libdca: add libdca-dev to build depends and --enable-libdca
* install the x264 plugin.

Changes already in the pkg-multimedia branch in debian:

* don't install usr/share/vlc/mozilla in debian/mozilla-plugin-vlc.install  
* new upstream .desktop file now registers flash video mimetype LP: #261567
* add Xb-Npp-Applications to mozilla-plugin-vlc
* remove duplicate entries in debian/vlc-nox.install

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "nsIClassInfo.h"
 
2
 
 
3
// helper class to implement all necessary nsIClassInfo method stubs
 
4
// and to set flags used by the security system
 
5
class  ClassInfo : public nsIClassInfo
 
6
{
 
7
  // These flags are used by the DOM and security systems to signal that
 
8
  // JavaScript callers are allowed to call this object's scritable methods.
 
9
  NS_IMETHOD GetFlags(PRUint32 *aFlags)
 
10
    {*aFlags = nsIClassInfo::PLUGIN_OBJECT | nsIClassInfo::DOM_OBJECT;
 
11
     return NS_OK;}
 
12
  NS_IMETHOD GetImplementationLanguage(PRUint32 *aImplementationLanguage)
 
13
    {*aImplementationLanguage = nsIProgrammingLanguage::CPLUSPLUS;
 
14
     return NS_OK;}
 
15
 
 
16
  // The rest of the methods can safely return error codes...
 
17
  NS_IMETHOD GetInterfaces(PRUint32 *count, nsIID * **array)
 
18
    {return NS_ERROR_NOT_IMPLEMENTED;}
 
19
  NS_IMETHOD GetHelperForLanguage(PRUint32 language, nsISupports **_retval)
 
20
    {return NS_ERROR_NOT_IMPLEMENTED;}
 
21
  NS_IMETHOD GetContractID(char * *aContractID)
 
22
    {return NS_ERROR_NOT_IMPLEMENTED;}
 
23
  NS_IMETHOD GetClassDescription(char * *aClassDescription)
 
24
    {return NS_ERROR_NOT_IMPLEMENTED;}
 
25
  NS_IMETHOD GetClassID(nsCID * *aClassID)
 
26
    {return NS_ERROR_NOT_IMPLEMENTED;}
 
27
  NS_IMETHOD GetClassIDNoAlloc(nsCID *aClassIDNoAlloc)
 
28
    {return NS_ERROR_NOT_IMPLEMENTED;}
 
29
};
 
30