1
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2
/* ***** BEGIN LICENSE BLOCK *****
3
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
5
* The contents of this file are subject to the Mozilla Public License Version
6
* 1.1 (the "License"); you may not use this file except in compliance with
7
* the License. You may obtain a copy of the License at
8
* http://www.mozilla.org/MPL/
10
* Software distributed under the License is distributed on an "AS IS" basis,
11
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12
* for the specific language governing rights and limitations under the
15
* The Original Code is Mozilla XForms support.
17
* The Initial Developer of the Original Code is
19
* Portions created by the Initial Developer are Copyright (C) 2004
20
* the Initial Developer. All Rights Reserved.
23
* Brian Ryner <bryner@brianryner.com>
25
* Alternatively, the contents of this file may be used under the terms of
26
* either the GNU General Public License Version 2 or later (the "GPL"), or
27
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28
* in which case the provisions of the GPL or the LGPL are applicable instead
29
* of those above. If you wish to allow use of your version of this file only
30
* under the terms of either the GPL or the LGPL, and not to allow others to
31
* use your version of this file under the terms of the MPL, indicate your
32
* decision by deleting the provisions above and replace them with the notice
33
* and other provisions required by the GPL or the LGPL. If you do not delete
34
* the provisions above, a recipient may use your version of this file under
35
* the terms of any one of the MPL, the GPL or the LGPL.
37
* ***** END LICENSE BLOCK ***** */
39
#ifndef nsXFormsAtoms_h_
40
#define nsXFormsAtoms_h_
42
#include "nsStaticAtom.h"
45
* Class for singleton XForms nsIAtom pointers
50
static NS_HIDDEN_(nsIAtom *) src;
51
static NS_HIDDEN_(nsIAtom *) bind;
52
static NS_HIDDEN_(nsIAtom *) type;
53
static NS_HIDDEN_(nsIAtom *) readonly;
54
static NS_HIDDEN_(nsIAtom *) required;
55
static NS_HIDDEN_(nsIAtom *) relevant;
56
static NS_HIDDEN_(nsIAtom *) calculate;
57
static NS_HIDDEN_(nsIAtom *) constraint;
58
static NS_HIDDEN_(nsIAtom *) p3ptype;
59
static NS_HIDDEN_(nsIAtom *) modelListProperty;
60
static NS_HIDDEN_(nsIAtom *) uploadFileProperty;
61
static NS_HIDDEN_(nsIAtom *) messageProperty;
62
static NS_HIDDEN_(nsIAtom *) ref;
63
static NS_HIDDEN_(nsIAtom *) nodeset;
64
static NS_HIDDEN_(nsIAtom *) model;
65
static NS_HIDDEN_(nsIAtom *) selected;
66
static NS_HIDDEN_(nsIAtom *) appearance;
67
static NS_HIDDEN_(nsIAtom *) incremental;
68
static NS_HIDDEN_(nsIAtom *) value;
69
static NS_HIDDEN_(nsIAtom *) clazz;
70
static NS_HIDDEN_(nsIAtom *) deferredBindListProperty;
71
static NS_HIDDEN_(nsIAtom *) readyForBindProperty;
72
static NS_HIDDEN_(nsIAtom *) fatalError;
73
static NS_HIDDEN_(nsIAtom *) isInstanceDocument;
74
static NS_HIDDEN_(nsIAtom *) instanceDocumentOwner;
75
static NS_HIDDEN_(nsIAtom *) externalMessagesProperty;
76
static NS_HIDDEN_(nsIAtom *) deferredEventListProperty;
77
static NS_HIDDEN_(nsIAtom *) attrBased;
79
// xforms elements atoms (required for xforms utility service)
80
static NS_HIDDEN_(nsIAtom *) choices;
81
static NS_HIDDEN_(nsIAtom *) item;
82
static NS_HIDDEN_(nsIAtom *) itemset;
83
static NS_HIDDEN_(nsIAtom *) select;
84
static NS_HIDDEN_(nsIAtom *) select1;
86
static NS_HIDDEN_(void) InitAtoms();
89
static NS_HIDDEN_(const nsStaticAtom) Atoms_info[];