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