gecko-dev/java/dom/JavaDOMSecurityContext.h
sdv%sparc.spb.su d5d632bf9d Added code to use OJI on win nt.
Added methods of latest dom java-binding
Fixes to bugs 22192, 22193
2000-01-28 03:45:01 +00:00

30 lines
990 B
C++

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
*/
#include "nsISecurityContext.h"
class JavaDOMSecurityContext : public nsISecurityContext {
public:
////////////////////////////////////////////////////////////////////////////
// from nsISupports
NS_DECL_ISUPPORTS
////////////////////////////////////////////////////////////////////////////
// from nsISecurityContext:
/**
* Get the security context to be used in LiveConnect.
* This is used for JavaScript <--> Java.
*
* @param target -- Possible target.
* @param action -- Possible action on the target.
* @return -- NS_OK if the target and action is permitted on the security context.
* -- NS_FALSE otherwise.
*/
NS_IMETHOD Implies(const char* target, const char* action, PRBool *bAllowedAccess);
JavaDOMSecurityContext();
virtual ~JavaDOMSecurityContext();
};