1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef _DBU_CONTROL_HRC_
20 #define _DBU_CONTROL_HRC_
22 #include "dbu_resource.hrc"
24 #define STR_TABLE_PRIV_NAME RID_STR_CONTROL_START
25 #define STR_TABLE_PRIV_INSERT RID_STR_CONTROL_START + 1
26 #define STR_TABLE_PRIV_DELETE RID_STR_CONTROL_START + 2
27 #define STR_TABLE_PRIV_UPDATE RID_STR_CONTROL_START + 3
28 #define STR_TABLE_PRIV_ALTER RID_STR_CONTROL_START + 4
29 #define STR_TABLE_PRIV_REFERENCE RID_STR_CONTROL_START + 5
30 #define STR_TABLE_PRIV_DROP RID_STR_CONTROL_START + 6
31 #define STR_TABLE_PRIV_SELECT RID_STR_CONTROL_START + 7
32 #define STR_ALL_TABLES_AND_VIEWS RID_STR_CONTROL_START + 8
33 #define STR_COULDNOTCONNECT RID_STR_CONTROL_START + 9
34 #define STR_COULDNOTCONNECT_PLEASECHECK RID_STR_CONTROL_START + 10
35 #define STR_NOTABLEINFO RID_STR_CONTROL_START + 11
36 #define STR_ALL_TABLES RID_STR_CONTROL_START + 12
37 #define STR_ALL_VIEWS RID_STR_CONTROL_START + 13
39 // please adjust checking before insert new strings
41 #if STR_ALL_VIEWS > RID_STR_CONTROL_END
42 #error Resource-Id Ueberlauf in #file, #line
45 #endif //_DBU_CONTROL_HRC_
47 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */