update dev300-m58
[ooovba.git] / basic / source / sbx / sbxres.hxx
blob9ef1e1ca1a79155419d8b390db62dab84b812a5c
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: sbxres.hxx,v $
10 * $Revision: 1.4 $
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 ************************************************************************/
31 #ifndef _SBXRES_HXX
32 #define _SBXRES_HXX
34 #include <tools/string.hxx>
36 // Zur Zeit sind Ressources im SVTOOLS-Projekt nicht vorgesehen.
37 // Da es sich um unkritische Ressourcen handelt (BASIC-Keywords),
38 // koennen wir mit Dummies arbeiten.
40 #define STRING_TYPES 0
41 #define STRING_EMPTY 0
42 #define STRING_NULL 1
43 #define STRING_INTEGER 2
44 #define STRING_LONG 3
45 #define STRING_SINGLE 4
46 #define STRING_DOUBLE 5
47 #define STRING_CURRENCY 6
48 #define STRING_DATE 7
49 #define STRING_STRING 8
50 #define STRING_OBJECT 9
51 #define STRING_ERROR 10
52 #define STRING_BOOL 11
53 #define STRING_VARIANT 12
54 #define STRING_ANY 13
55 #define STRING_CHAR 16
56 #define STRING_BYTE 17
57 #define STRING_USHORT 18
58 #define STRING_ULONG 19
59 #define STRING_INT 22
60 #define STRING_UINT 23
61 #define STRING_LPSTR 30
62 #define STRING_LPWSTR 31
63 #define STRING_AS 32
64 #define STRING_OPTIONAL 33
65 #define STRING_BYREF 34
67 #define STRING_NAMEPROP 35
68 #define STRING_PARENTPROP 36
69 #define STRING_APPLPROP 37
70 #define STRING_COUNTPROP 38
71 #define STRING_ADDMETH 39
72 #define STRING_ITEMMETH 40
73 #define STRING_REMOVEMETH 41
75 #define STRING_ERRORMSG 42
76 #define STRING_FALSE 43
77 #define STRING_TRUE 44
79 #define SBXRES_MAX 44
81 class SbxRes : public String
83 public:
84 SbxRes( USHORT );
87 const char* GetSbxRes( USHORT );
90 #endif