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 23 24#ifndef EXTENSIONS_ABPRESID_HRC 25#define EXTENSIONS_ABPRESID_HRC 26 27#include "abpilot.hrc" 28#include "extensio.hrc" 29 30//======================================================================== 31// basics 32 33#define RID_DIALOG_START RID_ABP_START 34#define RID_PAGE_START RID_ABP_START 35#define RID_STRING_START RID_ABP_START 36#define RID_ERRORBOX_START RID_ABP_START 37#define RID_UNTYPED_START RID_ABP_START 38#define RID_QUERYBOX_START RID_ABP_START 39#define RID_BITMAP_START RID_ABP_START 40 41//======================================================================== 42// dialogs 43 44#define RID_DLG_ADDRESSBOOKSOURCEPILOT ( RID_DIALOG_START + 0 ) 45// please adjust RID_DIALOG_END (below) when adding new dialogs 46 47#define RID_DIALOG_END RID_DLG_ADDRESSBOOKSOURCEPILOT 48 49//======================================================================== 50// tab pages 51 52#define RID_PAGE_SELECTABTYPE ( RID_PAGE_START + 0 ) 53#define RID_PAGE_ADMININVOKATION ( RID_PAGE_START + 1 ) 54#define RID_PAGE_TABLESELECTION_AB ( RID_PAGE_START + 2 ) 55#define RID_PAGE_FIELDMAPPING ( RID_PAGE_START + 3 ) 56#define RID_PAGE_FINAL ( RID_PAGE_START + 4 ) 57// please adjust RID_PAGE_END (below) when adding new tab pages 58 59#define RID_PAGE_END RID_PAGE_FINAL 60 61//======================================================================== 62// strings 63 64#define RID_STR_DEFAULT_NAME ( RID_STRING_START + 0 ) 65#define RID_STR_ADMINDIALOGTITLE ( RID_STRING_START + 1 ) 66#define RID_STR_NOCONNECTION ( RID_STRING_START + 2 ) 67#define RID_STR_PLEASECHECKSETTINGS ( RID_STRING_START + 3 ) 68#define RID_STR_FIELDDIALOGTITLE ( RID_STRING_START + 4 ) 69#define RID_STR_NOFIELDSASSIGNED ( RID_STRING_START + 5 ) 70// please adjust RID_STRING_END (below) when adding new strings 71 72#define RID_STRING_END RID_STR_NOFIELDSASSIGNED 73 74//======================================================================== 75// error boxes 76 77#define RID_ERR_NEEDTYPESELECTION ( RID_ERRORBOX_START + 0 ) 78// please adjust RID_ERRORBOX_END (below) when adding new error boxes 79 80#define RID_ERRORBOX_END RID_ERR_NEEDTYPESELECTION 81 82//======================================================================== 83// query boxes 84 85#define RID_QRY_NOTABLES ( RID_QUERYBOX_START + 0 ) 86// please adjust RID_QUERYBOX_END (below) when adding new query boxes 87 88#define RID_QUERYBOX_END RID_QRY_NOTABLES 89 90//======================================================================== 91// untyped resources 92 93#define RID_RSC_NOTUSEDYET ( RID_UNTYPED_START + 0 ) 94// please adjust RID_UNTYPED_END (below) when adding new untyped resources 95 96#define RID_UNTYPED_END RID_RSC_NOTUSEDYET 97 98//======================================================================== 99// bitmaps 100 101#define BMP_HEADERIMAGE ( RID_BITMAP_START + 0 ) 102// please adjust RID_BITMAP_END (below) when adding new bitmaps 103 104#define RID_BITMAP_END BMP_HEADERIMAGE 105 106//======================================================================== 107//======================================================================== 108//= range checks 109 110#if RID_DIALOG_END > RID_ABP_END 111 #error "please adjust the resource id ranges!!" 112#endif 113#if RID_PAGE_END > RID_ABP_END 114 #error "please adjust the resource id ranges!!" 115#endif 116#if RID_STRING_END > RID_ABP_END 117 #error "please adjust the resource id ranges!!" 118#endif 119#if RID_ERRORBOX_END > RID_ABP_END 120 #error "please adjust the resource id ranges!!" 121#endif 122#if RID_QUERYBOX_END > RID_ABP_END 123 #error "please adjust the resource id ranges!!" 124#endif 125#if RID_UNTYPED_END > RID_ABP_END 126 #error "please adjust the resource id ranges!!" 127#endif 128#if RID_BITMAP_END > RID_ABP_END 129 #error "please adjust the resource id ranges!!" 130#endif 131 132//======================================================================== 133// local resource ids 134 135//........................................................................ 136#define FL_SEPARATOR 1 137#define FL_TYPE 2 138#define FL_NAME 3 139 140//........................................................................ 141#define FT_TYPE_HINTS 1 142#define FT_ADMINEXPLANATION 3 143#define FT_NAME_EXPL 4 144#define FT_ERROR 5 145#define FL_TOOMUCHTABLES 6 146#define FT_FIELDASSIGMENTEXPL 7 147#define FT_ASSIGNEDFIELDS 8 148#define FT_FINISH_EXPL 9 149#define FT_DUPLICATENAME 10 150#define FT_LOCATION 11 151 152//........................................................................ 153#define RB_MORK 1 154#define RB_THUNDERBIRD 2 155#define RB_EVOLUTION 3 156#define RB_KAB 4 157#define RB_MACAB 5 158#define RB_LDAP 6 159#define RB_OUTLOOK 7 160#define RB_OUTLOOKEXPRESS 8 161#define RB_OTHER 9 162#define RB_EVOLUTION_GROUPWISE 10 163#define RB_EVOLUTION_LDAP 11 164 165//........................................................................ 166#define ET_DATASOURCENAME 1 167#define ET_LOCATION 2 168 169//........................................................................ 170#define PB_INVOKE_ADMIN_DIALOG 1 171#define PB_INVOKE_FIELDS_DIALOG 2 172#define PB_BROWSE 3 173 174//........................................................................ 175#define LB_TABLELIST 1 176 177//........................................................................ 178#define CB_REGISTER_DS 1 179 180//........................................................................ 181#define CBB_LOCATION 1 182 183//........................................................................ 184#define STR_SELECT_ABTYPE 1 185#define STR_INVOKE_ADMIN_DIALOG 2 186#define STR_TABLE_SELECTION 3 187#define STR_MANUAL_FIELD_MAPPING 4 188#define STR_FINAL_CONFIRM 5 189 190//======================================================================== 191// some defines 192 193//........................................................................ 194#define WINDOW_SIZE_X 240 195#define WINDOW_SIZE_Y 185 196 197#define WINDOW_BORDER_X 12 198#define WINDOW_BORDER_Y 14 199 200#define BUTTON_SIZE_X 50 201#define BUTTON_SIZE_Y 14 202 203#define HEADER_SIZE_Y 30 204 205#define BORDER_X 12 206 207//........................................................................ 208 209#endif // EXTENSIONS_ABPRESID_HRC 210 211/************************************************************************* 212 * history: 213 * 214 * Revision 1.0 30.01.01 16:38:29 fs 215 ************************************************************************/ 216 217