1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22#ifndef EXTENSIONS_ABPRESID_HRC 23#define EXTENSIONS_ABPRESID_HRC 24 25#include "abpilot.hrc" 26#include "extensio.hrc" 27 28// basics 29 30#define RID_DIALOG_START RID_ABP_START 31#define RID_PAGE_START RID_ABP_START 32#define RID_STRING_START RID_ABP_START 33#define RID_ERRORBOX_START RID_ABP_START 34#define RID_UNTYPED_START RID_ABP_START 35#define RID_QUERYBOX_START RID_ABP_START 36#define RID_BITMAP_START RID_ABP_START 37 38// dialogs 39 40#define RID_DLG_ADDRESSBOOKSOURCEPILOT ( RID_DIALOG_START + 0 ) 41// please adjust RID_DIALOG_END (below) when adding new dialogs 42 43#define RID_DIALOG_END RID_DLG_ADDRESSBOOKSOURCEPILOT 44 45// tab pages 46 47#define RID_PAGE_SELECTABTYPE ( RID_PAGE_START + 0 ) 48#define RID_PAGE_ADMININVOKATION ( RID_PAGE_START + 1 ) 49#define RID_PAGE_TABLESELECTION_AB ( RID_PAGE_START + 2 ) 50#define RID_PAGE_FIELDMAPPING ( RID_PAGE_START + 3 ) 51#define RID_PAGE_FINAL ( RID_PAGE_START + 4 ) 52// please adjust RID_PAGE_END (below) when adding new tab pages 53 54#define RID_PAGE_END RID_PAGE_FINAL 55 56// strings 57 58#define RID_STR_DEFAULT_NAME ( RID_STRING_START + 0 ) 59#define RID_STR_ADMINDIALOGTITLE ( RID_STRING_START + 1 ) 60#define RID_STR_NOCONNECTION ( RID_STRING_START + 2 ) 61#define RID_STR_PLEASECHECKSETTINGS ( RID_STRING_START + 3 ) 62#define RID_STR_FIELDDIALOGTITLE ( RID_STRING_START + 4 ) 63#define RID_STR_NOFIELDSASSIGNED ( RID_STRING_START + 5 ) 64// please adjust RID_STRING_END (below) when adding new strings 65 66#define RID_STRING_END RID_STR_NOFIELDSASSIGNED 67 68// error boxes 69 70#define RID_ERR_NEEDTYPESELECTION ( RID_ERRORBOX_START + 0 ) 71// please adjust RID_ERRORBOX_END (below) when adding new error boxes 72 73#define RID_ERRORBOX_END RID_ERR_NEEDTYPESELECTION 74 75// query boxes 76 77#define RID_QRY_NOTABLES ( RID_QUERYBOX_START + 0 ) 78// please adjust RID_QUERYBOX_END (below) when adding new query boxes 79 80#define RID_QUERYBOX_END RID_QRY_NOTABLES 81 82// untyped resources 83 84#define RID_RSC_NOTUSEDYET ( RID_UNTYPED_START + 0 ) 85// please adjust RID_UNTYPED_END (below) when adding new untyped resources 86 87#define RID_UNTYPED_END RID_RSC_NOTUSEDYET 88 89// bitmaps 90 91#define BMP_HEADERIMAGE ( RID_BITMAP_START + 0 ) 92// please adjust RID_BITMAP_END (below) when adding new bitmaps 93 94#define RID_BITMAP_END BMP_HEADERIMAGE 95 96// range checks 97 98#if RID_DIALOG_END > RID_ABP_END 99 #error "please adjust the resource id ranges!!" 100#endif 101#if RID_PAGE_END > RID_ABP_END 102 #error "please adjust the resource id ranges!!" 103#endif 104#if RID_STRING_END > RID_ABP_END 105 #error "please adjust the resource id ranges!!" 106#endif 107#if RID_ERRORBOX_END > RID_ABP_END 108 #error "please adjust the resource id ranges!!" 109#endif 110#if RID_QUERYBOX_END > RID_ABP_END 111 #error "please adjust the resource id ranges!!" 112#endif 113#if RID_UNTYPED_END > RID_ABP_END 114 #error "please adjust the resource id ranges!!" 115#endif 116#if RID_BITMAP_END > RID_ABP_END 117 #error "please adjust the resource id ranges!!" 118#endif 119 120// local resource ids 121 122//........................................................................ 123#define FL_SEPARATOR 1 124#define FL_TYPE 2 125#define FL_NAME 3 126 127//........................................................................ 128#define FT_TYPE_HINTS 1 129#define FT_ADMINEXPLANATION 3 130#define FT_NAME_EXPL 4 131#define FT_ERROR 5 132#define FL_TOOMUCHTABLES 6 133#define FT_FIELDASSIGMENTEXPL 7 134#define FT_ASSIGNEDFIELDS 8 135#define FT_FINISH_EXPL 9 136#define FT_DUPLICATENAME 10 137#define FT_LOCATION 11 138 139//........................................................................ 140// FREE 141#define RB_THUNDERBIRD 2 142#define RB_EVOLUTION 3 143#define RB_KAB 4 144#define RB_MACAB 5 145#define RB_LDAP 6 146#define RB_OUTLOOK 7 147#define RB_OUTLOOKEXPRESS 8 148#define RB_OTHER 9 149#define RB_EVOLUTION_GROUPWISE 10 150#define RB_EVOLUTION_LDAP 11 151 152//........................................................................ 153#define ET_DATASOURCENAME 1 154#define ET_LOCATION 2 155 156//........................................................................ 157#define PB_INVOKE_ADMIN_DIALOG 1 158#define PB_INVOKE_FIELDS_DIALOG 2 159#define PB_BROWSE 3 160 161//........................................................................ 162#define LB_TABLELIST 1 163 164//........................................................................ 165#define CB_REGISTER_DS 1 166 167//........................................................................ 168#define CBB_LOCATION 1 169 170//........................................................................ 171#define STR_SELECT_ABTYPE 1 172#define STR_INVOKE_ADMIN_DIALOG 2 173#define STR_TABLE_SELECTION 3 174#define STR_MANUAL_FIELD_MAPPING 4 175#define STR_FINAL_CONFIRM 5 176 177// some defines 178 179//........................................................................ 180#define WINDOW_SIZE_X 240 181#define WINDOW_SIZE_Y 185 182 183#define WINDOW_BORDER_X 12 184#define WINDOW_BORDER_Y 14 185 186#define BUTTON_SIZE_X 50 187#define BUTTON_SIZE_Y 14 188 189#define HEADER_SIZE_Y 30 190 191#define BORDER_X 12 192 193//........................................................................ 194 195#endif // EXTENSIONS_ABPRESID_HRC 196 197/************************************************************************* 198 * history: 199 * 200 * Revision 1.0 30.01.01 16:38:29 fs 201 ************************************************************************/ 202