1*08d9396cSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*08d9396cSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*08d9396cSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*08d9396cSAndrew Rist * distributed with this work for additional information
6*08d9396cSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*08d9396cSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*08d9396cSAndrew Rist * "License"); you may not use this file except in compliance
9*08d9396cSAndrew Rist * with the License.  You may obtain a copy of the License at
10*08d9396cSAndrew Rist *
11*08d9396cSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*08d9396cSAndrew Rist *
13*08d9396cSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*08d9396cSAndrew Rist * software distributed under the License is distributed on an
15*08d9396cSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*08d9396cSAndrew Rist * KIND, either express or implied.  See the License for the
17*08d9396cSAndrew Rist * specific language governing permissions and limitations
18*08d9396cSAndrew Rist * under the License.
19*08d9396cSAndrew Rist *
20*08d9396cSAndrew Rist *************************************************************/
21*08d9396cSAndrew Rist
22*08d9396cSAndrew Rist
23cdf0e10cSrcweir#ifndef _DBU_CONTROL_HRC_
24cdf0e10cSrcweir#define _DBU_CONTROL_HRC_
25cdf0e10cSrcweir
26cdf0e10cSrcweir#ifndef _DBU_RESOURCE_HRC_
27cdf0e10cSrcweir#include "dbu_resource.hrc"
28cdf0e10cSrcweir#endif
29cdf0e10cSrcweir
30cdf0e10cSrcweir#define STR_TABLE_PRIV_NAME					RID_STR_CONTROL_START
31cdf0e10cSrcweir#define STR_TABLE_PRIV_INSERT				RID_STR_CONTROL_START +  1
32cdf0e10cSrcweir#define STR_TABLE_PRIV_DELETE				RID_STR_CONTROL_START +  2
33cdf0e10cSrcweir#define STR_TABLE_PRIV_UPDATE				RID_STR_CONTROL_START +  3
34cdf0e10cSrcweir#define STR_TABLE_PRIV_ALTER				RID_STR_CONTROL_START +  4
35cdf0e10cSrcweir#define STR_TABLE_PRIV_REFERENCE			RID_STR_CONTROL_START +  5
36cdf0e10cSrcweir#define STR_TABLE_PRIV_DROP					RID_STR_CONTROL_START +  6
37cdf0e10cSrcweir#define STR_TABLE_PRIV_SELECT				RID_STR_CONTROL_START +  7
38cdf0e10cSrcweir#define STR_ALL_TABLES_AND_VIEWS			RID_STR_CONTROL_START +  8
39cdf0e10cSrcweir#define STR_COULDNOTCONNECT					RID_STR_CONTROL_START +  9
40cdf0e10cSrcweir#define STR_COULDNOTCONNECT_PLEASECHECK		RID_STR_CONTROL_START + 10
41cdf0e10cSrcweir#define STR_NOTABLEINFO						RID_STR_CONTROL_START + 11
42cdf0e10cSrcweir#define STR_ALL_TABLES						RID_STR_CONTROL_START + 12
43cdf0e10cSrcweir#define STR_ALL_VIEWS						RID_STR_CONTROL_START + 13
44cdf0e10cSrcweir
45cdf0e10cSrcweir// please adjust checking before insert new strings
46cdf0e10cSrcweir
47cdf0e10cSrcweir#if STR_ALL_VIEWS > RID_STR_CONTROL_END
48cdf0e10cSrcweir#error Resource-Id Ueberlauf in #file, #line
49cdf0e10cSrcweir#endif
50cdf0e10cSrcweir
51cdf0e10cSrcweir#endif //_DBU_CONTROL_HRC_
52cdf0e10cSrcweir
53