/*
SRConstant.m

Author: Makoto Kinoshita

Copyright 2004-2006 The Shiira Project. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted 
provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions 
  and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of 
  conditions and the following disclaimer in the documentation and/or other materials provided 
  with the distribution.

THIS SOFTWARE IS PROVIDED BY THE SHIIRA PROJECT ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, 
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE SHIIRA PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
POSSIBILITY OF SUCH DAMAGE.
*/

#import "SRConstants.h"

// Bookmark type
NSString*   SRBookmarkTypeHTML = @"HTML";
NSString*   SRBookmarkTypeFolder = @"Folder";
NSString*   SRBookmarkTypeJavaScript = @"JaavScript";
NSString*   SRBookmarkTypeSmart = @"Smart";
NSString*   SRBookmarkTypeBookmarkBar = @"BookmarksBar";
NSString*   SRBookmarkTypeBookmarkMenu = @"BookmarksMenu";
NSString*   SRBookmarkTypeRoot = @"Root";

// Browser
NSString*   SRBrowserShiira = @"Shiira";
NSString*   SRBrowserSafari = @"Safari";
NSString*   SRBrowserFirefox = @"Firefox";
NSString*   SRBrowserCamino = @"Camino";
NSString*   SRBrowserIE = @"Internet Explorer";
NSString*   SRBrowserOmniWeb = @"OmniWeb";
NSString*   SRBrowserOpera = @"Opera";
NSString*   SRBrowserICab = @"iCab";

// Search engine type
NSString*   SRSearchEngineTypeEngine = @"Engine";
NSString*   SRSearchEngineTypeFolder = @"Floder";
NSString*   SRSearchEngineTypeSeparator = @"Separator";

// Support file name
NSString*   SRBookmarksFileName = @"Bookmarks.plist";
NSString*   SRHistoryFileName = @"History.plist";
NSString*   SRSearchEnginesFileName = @"SearchEngines.plist";
NSString*   SRKeyBindingsFileName = @"KeyBindings.dat";

// Pasteboard data type
NSString*   SRBookmarkPboardType = @"SRBookmarkPboardType";
NSString*   SRPageInfoPboardType = @"SRPageInfoPboardType";

NSString*   CorePasteboardFlavorType_rtf  = @"CorePasteboardFlavorType 0x52544620"; // 'rtf '
NSString*   CorePasteboardFlavorType_utxt = @"CorePasteboardFlavorType 0x75747874"; // 'utxt'
NSString*   CorePasteboardFlavorType_ustl = @"CorePasteboardFlavorType 0x7573746C"; // 'ustl'
NSString*   CorePasteboardFlavorType_TEXT = @"CorePasteboardFlavorType 0x54455845"; // 'TEXT'
NSString*   CorePasteboardFlavorType_styl = @"CorePasteboardFlavorType 0x7374796C"; // 'styl'
NSString*   CorePasteboardFlavorType_url  = @"CorePasteboardFlavorType 0x75726C20"; // 'url '
NSString*   CorePasteboardFlavorType_urln = @"CorePasteboardFlavorType 0x75726C6E"; // 'urln'
NSString*   WebURLsWithTitlesPboardType = @"WebURLsWithTitlesPboardType";

// Bookmark element name for Safari
NSString*   SafariBookmarkChildrenName = @"Children";
NSString*   SafariBookmarkTitleName = @"Title";
NSString*   SafariBookmarkTypeName = @"WebBookmarkType";
NSString*   SafariBookmarksTypeListName = @"WebBookmarkTypeList";
NSString*   SafariBookmarksTypeLeafName = @"WebBookmarkTypeLeaf";
NSString*   SafariBookmarkURLName = @"URLString";
NSString*   SafariBookmarkURIDictionaryName = @"URIDictionary";
NSString*   SafariBookmarkURITitleName = @"title";
NSString*   SafariBookmarkAutoTabName = @"WebBookmarkAutoTab";
NSString*   SafariBookmarkUUIDName = @"WebBookmarkUUID";

NSString*   SafariBookmarkVersion = @"WebBookmarkFileVersion";

NSString*   SafariBookmarksBarName = @"BookmarksBar";
NSString*   SafariBookmarksMenuName = @"BookmarksMenu";
NSString*   SafariAddressBookMenuName = @"AddressBook";
NSString*   SafariRendezbousMenuName = @"Rendezvous";
NSString*   SafariHistoryMenuName = @"History";

// Notifications
NSString*   SRBookmarkUpdated = @"SRBookmarkUpdated";
NSString*   SRWebHistoryUpdated = @"SRWebHistoryUpdated";
