1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: dbu_control.hrc,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef _DBU_CONTROL_HRC_
31 #define _DBU_CONTROL_HRC_
33 #ifndef _DBU_RESOURCE_HRC_
34 #include "dbu_resource.hrc"
37 #define STR_TABLE_PRIV_NAME RID_STR_CONTROL_START
38 #define STR_TABLE_PRIV_INSERT RID_STR_CONTROL_START + 1
39 #define STR_TABLE_PRIV_DELETE RID_STR_CONTROL_START + 2
40 #define STR_TABLE_PRIV_UPDATE RID_STR_CONTROL_START + 3
41 #define STR_TABLE_PRIV_ALTER RID_STR_CONTROL_START + 4
42 #define STR_TABLE_PRIV_REFERENCE RID_STR_CONTROL_START + 5
43 #define STR_TABLE_PRIV_DROP RID_STR_CONTROL_START + 6
44 #define STR_TABLE_PRIV_SELECT RID_STR_CONTROL_START + 7
45 #define STR_ALL_TABLES_AND_VIEWS RID_STR_CONTROL_START + 8
46 #define STR_COULDNOTCONNECT RID_STR_CONTROL_START + 9
47 #define STR_COULDNOTCONNECT_PLEASECHECK RID_STR_CONTROL_START + 10
48 #define STR_NOTABLEINFO RID_STR_CONTROL_START + 11
49 #define STR_ALL_TABLES RID_STR_CONTROL_START + 12
50 #define STR_ALL_VIEWS RID_STR_CONTROL_START + 13
52 // please adjust checking before insert new strings
54 #if STR_ALL_VIEWS > RID_STR_CONTROL_END
55 #error Resource-Id Ueberlauf in #file, #line
58 #endif //_DBU_CONTROL_HRC_