43 |
|
{$ELSE} |
44 |
|
unix, |
45 |
|
{$ENDIF} |
46 |
< |
SysUtils, Classes, IBExternals, IBUtils, DB, IBXConst; |
46 |
> |
SysUtils, Classes, IBExternals, IBUtils, DB, IBXConst, CustApp; |
47 |
|
|
48 |
|
type |
49 |
+ |
TIBGUIInterface = interface |
50 |
+ |
function ServerLoginDialog(const AServerName: string; |
51 |
+ |
var AUserName, APassword: string): Boolean; |
52 |
+ |
function LoginDialogEx(const ADatabaseName: string; |
53 |
+ |
var AUserName, APassword: string; |
54 |
+ |
NameReadOnly: Boolean): Boolean; |
55 |
+ |
procedure SetCursor; |
56 |
+ |
procedure RestoreCursor; |
57 |
+ |
end; |
58 |
+ |
|
59 |
|
TTraceFlag = (tfQPrepare, tfQExecute, tfQFetch, tfError, tfStmt, tfConnect, |
60 |
|
tfTransact, tfBlob, tfService, tfMisc); |
61 |
|
TTraceFlags = set of TTraceFlag; |
199 |
|
ibxeThreadFailed, |
200 |
|
ibxeFieldSizeError, |
201 |
|
ibxeTransactionNotEnding, |
202 |
< |
ibxeDscInfoTokenMissing |
202 |
> |
ibxeDscInfoTokenMissing, |
203 |
> |
ibxeNoLoginDialog |
204 |
|
); |
205 |
|
|
206 |
|
TStatusVector = array[0..19] of ISC_STATUS; |
357 |
|
SThreadFailed, |
358 |
|
SFieldSizeError, |
359 |
|
STransactionNotEnding, |
360 |
< |
SDscInfoTokenMissing |
360 |
> |
SDscInfoTokenMissing, |
361 |
> |
SNoLoginDialog |
362 |
|
); |
363 |
|
|
364 |
+ |
const |
365 |
+ |
IBGUIInterface: TIBGUIInterface = nil; |
366 |
+ |
|
367 |
+ |
|
368 |
|
var |
369 |
|
IBCS: TRTLCriticalSection; |
370 |
|
|