Kaydet (Commit) 735fba05 authored tarafından Andreas Mantke's avatar Andreas Mantke Kaydeden (comit) Cédric Bosdonnat

the German comments translated to English

üst 17d59dae
...@@ -166,7 +166,7 @@ protected: ...@@ -166,7 +166,7 @@ protected:
BasicLibInfo* FindLibInfo( StarBASIC* pBasic ) const; BasicLibInfo* FindLibInfo( StarBASIC* pBasic ) const;
void CheckModules( StarBASIC* pBasic, BOOL bReference ) const; void CheckModules( StarBASIC* pBasic, BOOL bReference ) const;
void SetFlagToAllLibs( short nFlag, BOOL bSet ) const; void SetFlagToAllLibs( short nFlag, BOOL bSet ) const;
BasicManager(); // Nur zum anpassen von Pfaden bei 'Speichern unter'. BasicManager(); // This is used only to customize the paths of 'Save as'.
~BasicManager(); ~BasicManager();
public: public:
...@@ -211,7 +211,7 @@ public: ...@@ -211,7 +211,7 @@ public:
BOOL LoadLib( USHORT nLib ); BOOL LoadLib( USHORT nLib );
BOOL RemoveLib( USHORT nLib, BOOL bDelBasicFromStorage ); BOOL RemoveLib( USHORT nLib, BOOL bDelBasicFromStorage );
// Modify-Flag wird nur beim Speichern zurueckgesetzt. // Modify-Flag will be reset only during save.
BOOL IsModified() const; BOOL IsModified() const;
BOOL IsBasicModified() const; BOOL IsBasicModified() const;
......
...@@ -71,7 +71,7 @@ public: ...@@ -71,7 +71,7 @@ public:
void SetDebugFlags( USHORT n ) { nDebugFlags = n; } void SetDebugFlags( USHORT n ) { nDebugFlags = n; }
void GetLineRange( USHORT&, USHORT& ); void GetLineRange( USHORT&, USHORT& );
// Schnittstelle zum Ausfuehren einer Methode aus den Applikationen // Interface to execute a method from the applications
virtual ErrCode Call( SbxValue* pRet = NULL ); virtual ErrCode Call( SbxValue* pRet = NULL );
virtual void Broadcast( ULONG nHintId ); virtual void Broadcast( ULONG nHintId );
}; };
......
...@@ -158,9 +158,9 @@ public: ...@@ -158,9 +158,9 @@ public:
#ifndef __SBX_SBXARRAY #ifndef __SBX_SBXARRAY
#define __SBX_SBXARRAY #define __SBX_SBXARRAY
// SbxArray ist ein eindimensionales, dynamisches Array // SbxArray is an unidimensional, dynamic Array
// von SbxVariablen. Put()/Insert() konvertieren die Variablen in den // The variables convert from SbxVariablen. Put()/Insert() into the
// angegebenen Datentyp, falls er nicht SbxVARIANT ist. // declared datatype, if they are not SbxVARIANT.
class SbxVarRefs; class SbxVarRefs;
class SbxVariableRef; class SbxVariableRef;
......
...@@ -67,7 +67,7 @@ enum SbxDataType { ...@@ -67,7 +67,7 @@ enum SbxDataType {
SbxOBJECT = 9, // * SbxBase object pointer SbxOBJECT = 9, // * SbxBase object pointer
SbxERROR = 10, // * Error (UINT16) SbxERROR = 10, // * Error (UINT16)
SbxBOOL = 11, // * Boolean (0 or -1) SbxBOOL = 11, // * Boolean (0 or -1)
SbxVARIANT = 12, // * Anzeige fuer varianten Datentyp SbxVARIANT = 12, // * Display for variant datatype
SbxDATAOBJECT = 13, // * Common data object w/o ref count SbxDATAOBJECT = 13, // * Common data object w/o ref count
SbxCHAR = 16, // * signed char SbxCHAR = 16, // * signed char
...@@ -86,9 +86,9 @@ enum SbxDataType { ...@@ -86,9 +86,9 @@ enum SbxDataType {
SbxUSERDEF = 29, // user defined SbxUSERDEF = 29, // user defined
SbxLPSTR = 30, // * null terminated string SbxLPSTR = 30, // * null terminated string
SbxLPWSTR = 31, // wide null terminated string SbxLPWSTR = 31, // wide null terminated string
SbxCoreSTRING = 32, // AB 10.4.97, fuer GetCoreString(), nur zum Konvertieren SbxCoreSTRING = 32, // from 1997/4/10 for GetCoreString(), only for converting
SbxWSTRING = 33, // AB 4.10.2000 Reimplemented for backwards compatibility (#78919) SbxWSTRING = 33, // from 2000/10/4 Reimplemented for backwards compatibility (#78919)
SbxWCHAR = 34, // AB 4.10.2000 Reimplemented for backwards compatibility (#78919) SbxWCHAR = 34, // from 2000/10/4 Reimplemented for backwards compatibility (#78919)
SbxSALINT64 = 35, // for UNO hyper SbxSALINT64 = 35, // for UNO hyper
SbxSALUINT64 = 36, // for UNO unsigned hyper SbxSALUINT64 = 36, // for UNO unsigned hyper
SbxDECIMAL = 37, // for UNO/automation Decimal SbxDECIMAL = 37, // for UNO/automation Decimal
...@@ -155,7 +155,7 @@ enum SbxNameType { // Type of the questioned name of a variable ...@@ -155,7 +155,7 @@ enum SbxNameType { // Type of the questioned name of a variable
#endif #endif
// AB: 20.3.96: New error messages // from 1996/3/20: New error messages
typedef ULONG SbxError; // Preserve old type typedef ULONG SbxError; // Preserve old type
#endif #endif
...@@ -189,7 +189,7 @@ typedef ULONG SbxError; // Preserve old type ...@@ -189,7 +189,7 @@ typedef ULONG SbxError; // Preserve old type
#define ERRCODE_SBX_BAD_INDEX (12UL | ERRCODE_AREA_SBX | \ #define ERRCODE_SBX_BAD_INDEX (12UL | ERRCODE_AREA_SBX | \
ERRCODE_CLASS_SBX) // Invalid object index ERRCODE_CLASS_SBX) // Invalid object index
#define ERRCODE_SBX_NO_ACTIVE_OBJECT (13UL | ERRCODE_AREA_SBX | \ #define ERRCODE_SBX_NO_ACTIVE_OBJECT (13UL | ERRCODE_AREA_SBX | \
ERRCODE_CLASS_ACCESS) // Object ist not activated ERRCODE_CLASS_ACCESS) // Object is not activated
#define ERRCODE_SBX_BAD_PROP_VALUE (14UL | ERRCODE_AREA_SBX | \ #define ERRCODE_SBX_BAD_PROP_VALUE (14UL | ERRCODE_AREA_SBX | \
ERRCODE_CLASS_RUNTIME) // Bad property value ERRCODE_CLASS_RUNTIME) // Bad property value
#define ERRCODE_SBX_PROP_READONLY (15UL | ERRCODE_AREA_SBX | \ #define ERRCODE_SBX_PROP_READONLY (15UL | ERRCODE_AREA_SBX | \
...@@ -270,7 +270,7 @@ enum SbxError { // Ergebnis einer Rechenoperation/Konversion ...@@ -270,7 +270,7 @@ enum SbxError { // Ergebnis einer Rechenoperation/Konversion
SbxERR_BOUNDS = 9, // Array-Index ungueltig SbxERR_BOUNDS = 9, // Array-Index ungueltig
SbxERR_ZERODIV = 11, // Division durch Null SbxERR_ZERODIV = 11, // Division durch Null
SbxERR_CONVERSION = 13, // falscher Datentyp SbxERR_CONVERSION = 13, // falscher Datentyp
SbxERR_BAD_PARAMETER = 14, // ungltiger Parameter SbxERR_BAD_PARAMETER = 14, // ungltiger Parameter
SbxERR_PROC_UNDEFINED = 35, // BASIC-Sub oder Function undefiniert SbxERR_PROC_UNDEFINED = 35, // BASIC-Sub oder Function undefiniert
SbxERR_ERROR = 51, // andere Fehler SbxERR_ERROR = 51, // andere Fehler
// Objektbezogene Fehler // Objektbezogene Fehler
...@@ -285,15 +285,15 @@ enum SbxError { // Ergebnis einer Rechenoperation/Konversion ...@@ -285,15 +285,15 @@ enum SbxError { // Ergebnis einer Rechenoperation/Konversion
SbxERR_NO_METHOD = 423, // Property oder Methode unbekannt SbxERR_NO_METHOD = 423, // Property oder Methode unbekannt
SbxERR_INVALID_USAGE_OBJECT=425,// Falsche Verwendung eines Objekts SbxERR_INVALID_USAGE_OBJECT=425,// Falsche Verwendung eines Objekts
SbxERR_NO_OLE = 430, // Kein OLE-Objekt SbxERR_NO_OLE = 430, // Kein OLE-Objekt
SbxERR_BAD_METHOD = 438, // Methode nicht untersttzt SbxERR_BAD_METHOD = 438, // Methode nicht untersttzt
SbxERR_OLE_ERROR = 440, // OLE Automation-Fehler SbxERR_OLE_ERROR = 440, // OLE Automation-Fehler
SbxERR_BAD_ACTION = 445, // Aktion nicht untersttzt SbxERR_BAD_ACTION = 445, // Aktion nicht untersttzt
SbxERR_NO_NAMED_ARGS = 446, // Keine benannten Argumente SbxERR_NO_NAMED_ARGS = 446, // Keine benannten Argumente
SbxERR_BAD_LOCALE = 447, // Laenderspezifische Einstellungen nicht untersttzt SbxERR_BAD_LOCALE = 447, // Laenderspezifische Einstellungen nicht untersttzt
SbxERR_NAMED_NOT_FOUND = 448,// Unbekanntes benanntes Argument SbxERR_NAMED_NOT_FOUND = 448,// Unbekanntes benanntes Argument
SbxERR_NOT_OPTIONAL = 449, // Argument nicht optional SbxERR_NOT_OPTIONAL = 449, // Argument nicht optional
SbxERR_WRONG_ARGS = 450, // Falsche Zahl von Argumenten SbxERR_WRONG_ARGS = 450, // Falsche Zahl von Argumenten
SbxERR_NOT_A_COLL = 451 // Objekt enthlt keine Elemente SbxERR_NOT_A_COLL = 451 // Objekt enthlt keine Elemente
}; };
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment