//************************************************************************************** // Filename: CMPluginImpl.h // Part of Contextual Menu Workshop by Abracode Inc. // http://free.abracode.com/cmworkshop/ // Copyright © 2002-2003 Abracode, Inc. All rights reserved. // // Description: // //************************************************************************************** #ifndef __CMPluginImpl__ #define __CMPluginImpl__ //concrete plugin implementation constants //you must change these #define kCMImplPluginFactoryID ( CFUUIDGetConstantUUIDWithBytes( NULL,\ 0x90, 0x1F, 0x19, 0x1B, 0x06, 0x0A, 0x11, 0xD6, 0xA9, 0x75, 0x00, 0x05, 0x02, 0x89, 0xEC, 0x9F ) ) // "901F191B-060A-11D6-A975-00050289EC9F" #define CM_IMPL_PLUGIN_BUNDLE_INDENTIFIER "com.abracode.InternetLocationCM" #define CM_IMPL_PLUGIN_PREFS_INDENTIFIER "com.abracode.IL_CM_Prefs" typedef struct UrlWordAndCode { unsigned char keyWord[16];// pascal string FourCharCode urlCode; } UrlWordAndCode; typedef struct CMPluginImplData { Handle mClipTextH; UrlWordAndCode *mUsedTable; short mUsedIndex; FSRef mFolderSpec; short mPrefs; // Point mWhereClicked; Boolean mIsNormalized; } CMPluginImplData; //command ID - change it and use your command(s) enum { kAddURLCommand = 100, kCopyURLToClipboardCommand, kSetupIL_CMCommand, kAboutIL_CMCommand }; #endif //__CMPluginImpl__