~ubuntu-branches/ubuntu/feisty/elinks/feisty-updates

« back to all changes in this revision

Viewing changes to src/scripting/smjs/elinks_object.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-06-30 08:57:43 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060630085743-l81fgbw9dehvl1ds
Tags: 0.11.1-1ubuntu1
* Merge to Debian unstable.
* Removed gnutls12 porting, this is upstream now.
* Only Ubuntu changes left:
  - Killed type-handling.
  - Add X-Ubuntu-Gettext-Domain to .desktop files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef EL__SCRIPTING_SMJS_ELINKS_OBJECT_H
 
2
#define EL__SCRIPTING_SMJS_ELINKS_OBJECT_H
 
3
 
 
4
#include "ecmascript/spidermonkey/util.h"
 
5
 
 
6
/* This is the all-powerful elinks object through which all client scripts
 
7
 * will interface with ELinks. */
 
8
extern JSObject *smjs_elinks_object;
 
9
 
 
10
/* Initialise elinks_object. */
 
11
void smjs_init_elinks_object(void);
 
12
 
 
13
/* Invoke elinks.<method> with the given arguments and put the return value
 
14
 * into *rval. */
 
15
JSBool smjs_invoke_elinks_object_method(unsigned char *method,
 
16
                                        jsval argv[], int argc, jsval *rval);
 
17
 
 
18
#endif