1998-03-28 02:44:41 +00:00
|
|
|
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
2004-04-25 21:07:34 +00:00
|
|
|
* ***** BEGIN LICENSE BLOCK *****
|
|
|
|
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
1998-03-28 02:44:41 +00:00
|
|
|
*
|
2004-04-25 21:07:34 +00:00
|
|
|
* The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
* 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
* the License. You may obtain a copy of the License at
|
|
|
|
* http://www.mozilla.org/MPL/
|
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
* for the specific language governing rights and limitations under the
|
|
|
|
* License.
|
1998-03-28 02:44:41 +00:00
|
|
|
*
|
1999-11-06 03:43:54 +00:00
|
|
|
* The Original Code is mozilla.org code.
|
|
|
|
*
|
2004-04-25 21:07:34 +00:00
|
|
|
* The Initial Developer of the Original Code is
|
|
|
|
* Netscape Communications Corporation.
|
|
|
|
* Portions created by the Initial Developer are Copyright (C) 1998
|
|
|
|
* the Initial Developer. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
|
|
|
*
|
|
|
|
* Alternatively, the contents of this file may be used under the terms of
|
|
|
|
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
* in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
* of those above. If you wish to allow use of your version of this file only
|
|
|
|
* under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
* use your version of this file under the terms of the MPL, indicate your
|
|
|
|
* decision by deleting the provisions above and replace them with the notice
|
|
|
|
* and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
* the provisions above, a recipient may use your version of this file under
|
|
|
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
1999-11-06 03:43:54 +00:00
|
|
|
*
|
2004-04-25 21:07:34 +00:00
|
|
|
* ***** END LICENSE BLOCK ***** */
|
1998-03-28 02:44:41 +00:00
|
|
|
|
|
|
|
#ifndef _RDF_VOCAB_H_
|
|
|
|
#define _RDF_VOCAB_H_
|
|
|
|
|
|
|
|
typedef struct _RDF_CoreVocabStruct {
|
|
|
|
RDF_Resource RDF_parent;
|
|
|
|
RDF_Resource RDF_name;
|
|
|
|
RDF_Resource RDF_instanceOf;
|
1998-04-20 00:39:11 +00:00
|
|
|
RDF_Resource RDF_subClassOf;
|
|
|
|
RDF_Resource RDF_PropertyType;
|
|
|
|
RDF_Resource RDF_Class;
|
1998-03-28 02:44:41 +00:00
|
|
|
RDF_Resource RDF_slotsHere;
|
|
|
|
RDF_Resource RDF_slotsIn;
|
|
|
|
RDF_Resource RDF_domain;
|
|
|
|
RDF_Resource RDF_range;
|
|
|
|
RDF_Resource RDF_StringType;
|
|
|
|
RDF_Resource RDF_IntType;
|
|
|
|
RDF_Resource RDF_equals;
|
|
|
|
RDF_Resource RDF_lessThan;
|
|
|
|
RDF_Resource RDF_greaterThan;
|
|
|
|
RDF_Resource RDF_lessThanOrEqual;
|
|
|
|
RDF_Resource RDF_greaterThanOrEqual;
|
|
|
|
RDF_Resource RDF_stringEquals;
|
1998-06-03 17:35:31 +00:00
|
|
|
RDF_Resource RDF_stringNotEquals;
|
1998-03-28 02:44:41 +00:00
|
|
|
RDF_Resource RDF_substring;
|
1998-06-03 17:35:31 +00:00
|
|
|
RDF_Resource RDF_stringStartsWith;
|
|
|
|
RDF_Resource RDF_stringEndsWith;
|
1998-03-28 02:44:41 +00:00
|
|
|
RDF_Resource RDF_child;
|
1998-04-20 00:39:11 +00:00
|
|
|
RDF_Resource RDF_comment;
|
|
|
|
RDF_Resource RDF_content;
|
|
|
|
RDF_Resource RDF_summary;
|
1998-03-28 02:44:41 +00:00
|
|
|
} RDF_CoreVocabStruct;
|
|
|
|
|
|
|
|
typedef RDF_CoreVocabStruct* RDF_CoreVocab;
|
|
|
|
|
|
|
|
typedef struct _RDF_NCVocabStruct {
|
|
|
|
RDF_Resource RDF_overview;
|
|
|
|
RDF_Resource RDF_Trash;
|
|
|
|
RDF_Resource RDF_Clipboard;
|
|
|
|
RDF_Resource RDF_Top;
|
|
|
|
RDF_Resource RDF_Search;
|
|
|
|
RDF_Resource RDF_Sitemaps;
|
|
|
|
RDF_Resource RDF_BreadCrumbCategory;
|
|
|
|
RDF_Resource RDF_BookmarkFolderCategory;
|
|
|
|
RDF_Resource RDF_NewBookmarkFolderCategory;
|
|
|
|
RDF_Resource RDF_History;
|
|
|
|
RDF_Resource RDF_HistoryBySite;
|
|
|
|
RDF_Resource RDF_HistoryByDate;
|
1998-07-23 17:36:59 +00:00
|
|
|
RDF_Resource RDF_HistoryMostVisited;
|
1998-08-17 20:17:06 +00:00
|
|
|
|
|
|
|
/* IE items */
|
|
|
|
RDF_Resource RDF_IEBookmarkFolderCategory;
|
|
|
|
RDF_Resource RDF_IEHistory;
|
|
|
|
|
1998-03-28 02:44:41 +00:00
|
|
|
RDF_Resource RDF_bookmarkAddDate;
|
|
|
|
RDF_Resource RDF_PersonalToolbarFolderCategory;
|
|
|
|
RDF_Resource RDF_Column;
|
|
|
|
RDF_Resource RDF_ColumnResource;
|
|
|
|
RDF_Resource RDF_ColumnWidth;
|
|
|
|
RDF_Resource RDF_ColumnIconURL;
|
|
|
|
RDF_Resource RDF_ColumnDataType;
|
1998-07-23 17:36:59 +00:00
|
|
|
RDF_Resource RDF_smallIcon; /* Small normal icon. */
|
|
|
|
RDF_Resource RDF_largeIcon; /* Large normal icon. */
|
1998-03-28 02:44:41 +00:00
|
|
|
RDF_Resource RDF_Guide;
|
|
|
|
RDF_Resource RDF_HTMLURL;
|
1998-05-08 05:48:14 +00:00
|
|
|
RDF_Resource RDF_HTMLHeight;
|
1998-03-28 02:44:41 +00:00
|
|
|
RDF_Resource RDF_LocalFiles;
|
1998-06-03 17:35:31 +00:00
|
|
|
RDF_Resource RDF_FTP;
|
1998-04-14 01:26:35 +00:00
|
|
|
RDF_Resource RDF_Appletalk;
|
1998-03-28 02:44:41 +00:00
|
|
|
RDF_Resource RDF_Mail;
|
|
|
|
RDF_Resource RDF_Password;
|
|
|
|
RDF_Resource RDF_SBProviders;
|
|
|
|
RDF_Resource RDF_WorkspacePos;
|
1998-07-23 17:36:59 +00:00
|
|
|
RDF_Resource RDF_ItemPos;
|
1998-03-28 02:44:41 +00:00
|
|
|
RDF_Resource RDF_Locks;
|
|
|
|
RDF_Resource RDF_AddLock;
|
|
|
|
RDF_Resource RDF_DeleteLock;
|
|
|
|
RDF_Resource RDF_IconLock;
|
|
|
|
RDF_Resource RDF_NameLock;
|
|
|
|
RDF_Resource RDF_CopyLock;
|
|
|
|
RDF_Resource RDF_MoveLock;
|
|
|
|
RDF_Resource RDF_WorkspacePosLock;
|
|
|
|
RDF_Resource RDF_DefaultSelectedView;
|
|
|
|
RDF_Resource RDF_AutoOpen;
|
|
|
|
RDF_Resource RDF_resultType;
|
1998-07-23 17:36:59 +00:00
|
|
|
RDF_Resource RDF_methodType;
|
|
|
|
RDF_Resource RDF_prompt;
|
1998-03-28 02:44:41 +00:00
|
|
|
RDF_Resource RDF_HTMLType;
|
1998-05-08 05:48:14 +00:00
|
|
|
RDF_Resource RDF_URLShortcut;
|
1998-09-11 07:45:49 +00:00
|
|
|
RDF_Resource RDF_Poll;
|
|
|
|
RDF_Resource RDF_PollInterval;
|
|
|
|
RDF_Resource RDF_PollURL;
|
|
|
|
|
1998-05-19 21:01:38 +00:00
|
|
|
RDF_Resource RDF_Cookies;
|
1998-07-20 18:40:09 +00:00
|
|
|
#ifdef TRANSACTION_RECEIPTS
|
|
|
|
RDF_Resource RDF_Receipts;
|
|
|
|
#endif
|
1998-06-03 17:35:31 +00:00
|
|
|
RDF_Resource RDF_Toolbar;
|
1998-10-09 02:05:16 +00:00
|
|
|
RDF_Resource RDF_collapsed;
|
|
|
|
RDF_Resource RDF_hidden;
|
1998-07-23 17:36:59 +00:00
|
|
|
RDF_Resource RDF_JSec;
|
|
|
|
RDF_Resource RDF_JSecPrincipal;
|
|
|
|
RDF_Resource RDF_JSecTarget;
|
|
|
|
RDF_Resource RDF_JSecAccess;
|
1998-04-25 02:07:03 +00:00
|
|
|
|
1998-05-20 01:13:24 +00:00
|
|
|
/* Commands */
|
|
|
|
|
|
|
|
RDF_Resource RDF_Command;
|
|
|
|
RDF_Resource RDF_Command_Launch;
|
1998-05-20 06:35:51 +00:00
|
|
|
RDF_Resource RDF_Command_Refresh;
|
1998-07-23 17:36:59 +00:00
|
|
|
RDF_Resource RDF_Command_Reveal;
|
1998-06-03 17:35:31 +00:00
|
|
|
RDF_Resource RDF_Command_Atalk_FlatHierarchy;
|
|
|
|
RDF_Resource RDF_Command_Atalk_Hierarchy;
|
1998-05-20 01:13:24 +00:00
|
|
|
|
1998-04-25 02:07:03 +00:00
|
|
|
/* NavCenter appearance styles */
|
|
|
|
|
1998-07-23 17:36:59 +00:00
|
|
|
RDF_Resource viewFGColor;
|
|
|
|
RDF_Resource viewBGColor;
|
|
|
|
RDF_Resource viewBGURL;
|
1998-04-25 02:07:03 +00:00
|
|
|
RDF_Resource showTreeConnections;
|
|
|
|
RDF_Resource treeConnectionFGColor;
|
|
|
|
RDF_Resource treeOpenTriggerIconURL;
|
|
|
|
RDF_Resource treeClosedTriggerIconURL;
|
|
|
|
RDF_Resource selectionFGColor;
|
|
|
|
RDF_Resource selectionBGColor;
|
|
|
|
RDF_Resource columnHeaderFGColor;
|
|
|
|
RDF_Resource columnHeaderBGColor;
|
|
|
|
RDF_Resource columnHeaderBGURL;
|
|
|
|
RDF_Resource showColumnHeaders;
|
|
|
|
RDF_Resource showColumnHeaderDividers;
|
1998-09-22 00:23:53 +00:00
|
|
|
RDF_Resource showTitleBar; /* Whether or not to show the title bar at all */
|
|
|
|
RDF_Resource showControlStrip; /* Whether or not to show the control strip at all. */
|
|
|
|
|
1998-04-25 02:07:03 +00:00
|
|
|
RDF_Resource sortColumnFGColor;
|
|
|
|
RDF_Resource sortColumnBGColor;
|
|
|
|
RDF_Resource titleBarFGColor;
|
|
|
|
RDF_Resource titleBarBGColor;
|
|
|
|
RDF_Resource titleBarBGURL;
|
1998-08-03 23:41:58 +00:00
|
|
|
RDF_Resource titleBarShowText;
|
1998-05-02 02:18:36 +00:00
|
|
|
RDF_Resource dividerColor;
|
|
|
|
RDF_Resource showDivider;
|
|
|
|
RDF_Resource selectedColumnHeaderFGColor;
|
|
|
|
RDF_Resource selectedColumnHeaderBGColor;
|
|
|
|
RDF_Resource showColumnHilite;
|
|
|
|
RDF_Resource triggerPlacement;
|
1998-07-23 17:36:59 +00:00
|
|
|
|
1998-07-28 00:43:07 +00:00
|
|
|
/* NavCenter behavior flags */
|
|
|
|
|
|
|
|
RDF_Resource useInlineEditing;
|
|
|
|
RDF_Resource useSingleClick;
|
|
|
|
RDF_Resource loadOpenState;
|
|
|
|
RDF_Resource saveOpenState;
|
|
|
|
|
1998-07-23 17:36:59 +00:00
|
|
|
/* Toolbar Appearance Styles */
|
|
|
|
RDF_Resource toolbarBitmapPosition; /* Bitmap's position ("side"/"top") */
|
1998-08-28 01:19:41 +00:00
|
|
|
RDF_Resource toolbarDisplayMode;
|
1998-09-01 20:51:45 +00:00
|
|
|
RDF_Resource toolbarCollapsed;
|
|
|
|
RDF_Resource toolbarVisible;
|
1998-09-22 00:23:53 +00:00
|
|
|
RDF_Resource toolbarRolloverIcon; /* The icon to display on rollover. */
|
|
|
|
RDF_Resource toolbarPressedIcon; /* The icon to display on a press. */
|
|
|
|
RDF_Resource toolbarDisabledIcon; /* The icon to display when disabled. */
|
|
|
|
RDF_Resource toolbarEnabledIcon; /* THe icon to display when enabled. */
|
|
|
|
|
1998-07-23 17:36:59 +00:00
|
|
|
/* Cookie Stuff */
|
|
|
|
RDF_Resource cookieDomain;
|
|
|
|
RDF_Resource cookieValue;
|
|
|
|
RDF_Resource cookieHost;
|
|
|
|
RDF_Resource cookiePath;
|
|
|
|
RDF_Resource cookieSecure;
|
|
|
|
RDF_Resource cookieExpires;
|
|
|
|
|
|
|
|
RDF_Resource toolbarButtonsFixedSize; /* Whether or not the buttons must be the same size ("yes"/"no") */
|
|
|
|
RDF_Resource viewRolloverColor; /* What to display when an item is rolled over in a view.*/
|
|
|
|
RDF_Resource viewPressedColor; /* What to display when an item is pressed in a view. */
|
|
|
|
RDF_Resource viewDisabledColor; /* Color to use when item is disabled in a view. */
|
|
|
|
RDF_Resource urlBar; /* Whether or not the button is a URL bar. */
|
|
|
|
RDF_Resource urlBarWidth; /* The width of the URL bar. */
|
1998-08-03 22:32:19 +00:00
|
|
|
|
|
|
|
RDF_Resource buttonTreeState; /* The tree state (docked, popup) for a button. */
|
1998-09-22 00:23:53 +00:00
|
|
|
RDF_Resource buttonTooltipText; /* The tooltip text for a button. */
|
|
|
|
RDF_Resource buttonStatusbarText; /* The status bar text for a button. */
|
|
|
|
RDF_Resource buttonBorderStyle; /* What type of border the button should have. */
|
1998-08-03 22:32:19 +00:00
|
|
|
|
|
|
|
RDF_Resource controlStripFGColor; /* The tree's control strip foreground */
|
|
|
|
RDF_Resource controlStripBGColor; /* The tree's control strip background */
|
|
|
|
RDF_Resource controlStripBGURL; /* The tree's control strip BG URL */
|
1998-08-03 23:41:58 +00:00
|
|
|
RDF_Resource controlStripCloseText; /* The text displayed for the close function in the control strip. */
|
1998-08-03 22:32:19 +00:00
|
|
|
|
1998-07-23 17:36:59 +00:00
|
|
|
RDF_Resource pos;
|
1998-08-01 23:18:26 +00:00
|
|
|
RDF_Resource from;
|
|
|
|
RDF_Resource to;
|
|
|
|
RDF_Resource subject;
|
|
|
|
RDF_Resource date;
|
1998-08-15 01:32:53 +00:00
|
|
|
RDF_Resource displayURL;
|
1998-03-28 02:44:41 +00:00
|
|
|
} RDF_NCVocabStruct;
|
|
|
|
|
|
|
|
typedef RDF_NCVocabStruct* RDF_NCVocab;
|
|
|
|
|
|
|
|
typedef struct _RDF_WDVocabStruct {
|
|
|
|
RDF_Resource RDF_URL;
|
|
|
|
RDF_Resource RDF_description;
|
1998-07-23 17:36:59 +00:00
|
|
|
RDF_Resource RDF_keyword;
|
1998-03-28 02:44:41 +00:00
|
|
|
RDF_Resource RDF_Container;
|
|
|
|
RDF_Resource RDF_firstVisitDate;
|
|
|
|
RDF_Resource RDF_lastVisitDate;
|
|
|
|
RDF_Resource RDF_numAccesses;
|
|
|
|
RDF_Resource RDF_creationDate;
|
|
|
|
RDF_Resource RDF_lastModifiedDate;
|
|
|
|
RDF_Resource RDF_size;
|
|
|
|
} RDF_WDVocabStruct;
|
|
|
|
|
|
|
|
typedef RDF_WDVocabStruct* RDF_WDVocab;
|
|
|
|
|
|
|
|
#endif
|