6978 lines
315 KiB
TypeScript
6978 lines
315 KiB
TypeScript
|
declare namespace AuGIO {
|
|||
|
|
|||
|
class AppInfoCreateFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": AppInfoCreateFlags
|
|||
|
static readonly "kNeedsTerminal": AppInfoCreateFlags
|
|||
|
static readonly "kSupportsUris": AppInfoCreateFlags
|
|||
|
static readonly "kSupportsStartupNotification": AppInfoCreateFlags
|
|||
|
}
|
|||
|
|
|||
|
class ApplicationFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kFlagsNone": ApplicationFlags
|
|||
|
static readonly "kIsService": ApplicationFlags
|
|||
|
static readonly "kIsLauncher": ApplicationFlags
|
|||
|
static readonly "kHandlesOpen": ApplicationFlags
|
|||
|
static readonly "kHandlesCommandLine": ApplicationFlags
|
|||
|
static readonly "kSendEnvironment": ApplicationFlags
|
|||
|
static readonly "kNonUnique": ApplicationFlags
|
|||
|
static readonly "kCanOverrideAppId": ApplicationFlags
|
|||
|
static readonly "kAllowReplacement": ApplicationFlags
|
|||
|
static readonly "kReplace": ApplicationFlags
|
|||
|
}
|
|||
|
|
|||
|
class AskPasswordFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNeedPassword": AskPasswordFlags
|
|||
|
static readonly "kNeedUsername": AskPasswordFlags
|
|||
|
static readonly "kNeedDomain": AskPasswordFlags
|
|||
|
static readonly "kSavingSupported": AskPasswordFlags
|
|||
|
static readonly "kAnonymousSupported": AskPasswordFlags
|
|||
|
static readonly "kTcrypt": AskPasswordFlags
|
|||
|
}
|
|||
|
|
|||
|
class BusNameOwnerFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": BusNameOwnerFlags
|
|||
|
static readonly "kAllowReplacement": BusNameOwnerFlags
|
|||
|
static readonly "kReplace": BusNameOwnerFlags
|
|||
|
static readonly "kDoNotQueue": BusNameOwnerFlags
|
|||
|
}
|
|||
|
|
|||
|
class BusNameWatcherFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": BusNameWatcherFlags
|
|||
|
static readonly "kAutoStart": BusNameWatcherFlags
|
|||
|
}
|
|||
|
|
|||
|
class BusType {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kStarter": BusType
|
|||
|
static readonly "kNone": BusType
|
|||
|
static readonly "kSystem": BusType
|
|||
|
static readonly "kSession": BusType
|
|||
|
}
|
|||
|
|
|||
|
class ConverterFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": ConverterFlags
|
|||
|
static readonly "kInputAtEnd": ConverterFlags
|
|||
|
static readonly "kFlush": ConverterFlags
|
|||
|
}
|
|||
|
|
|||
|
class ConverterResult {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kError": ConverterResult
|
|||
|
static readonly "kConverted": ConverterResult
|
|||
|
static readonly "kFinished": ConverterResult
|
|||
|
static readonly "kFlushed": ConverterResult
|
|||
|
}
|
|||
|
|
|||
|
class CredentialsType {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kInvalid": CredentialsType
|
|||
|
static readonly "kLinuxUcred": CredentialsType
|
|||
|
static readonly "kFreebsdCmsgcred": CredentialsType
|
|||
|
static readonly "kOpenbsdSockpeercred": CredentialsType
|
|||
|
static readonly "kSolarisUcred": CredentialsType
|
|||
|
static readonly "kNetbsdUnpcbid": CredentialsType
|
|||
|
static readonly "kAppleXUcred": CredentialsType
|
|||
|
static readonly "kWin32Pid": CredentialsType
|
|||
|
}
|
|||
|
|
|||
|
class DBusCallFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": DBusCallFlags
|
|||
|
static readonly "kNoAutoStart": DBusCallFlags
|
|||
|
static readonly "kAllowInteractiveAuthorization": DBusCallFlags
|
|||
|
}
|
|||
|
|
|||
|
class DBusCapabilityFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": DBusCapabilityFlags
|
|||
|
static readonly "kUnixFdPassing": DBusCapabilityFlags
|
|||
|
}
|
|||
|
|
|||
|
class DBusConnectionFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": DBusConnectionFlags
|
|||
|
static readonly "kAuthenticationClient": DBusConnectionFlags
|
|||
|
static readonly "kAuthenticationServer": DBusConnectionFlags
|
|||
|
static readonly "kAuthenticationAllowAnonymous": DBusConnectionFlags
|
|||
|
static readonly "kMessageBusConnection": DBusConnectionFlags
|
|||
|
static readonly "kDelayMessageProcessing": DBusConnectionFlags
|
|||
|
static readonly "kAuthenticationRequireSameUser": DBusConnectionFlags
|
|||
|
}
|
|||
|
|
|||
|
class DBusError {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kFailed": DBusError
|
|||
|
static readonly "kNoMemory": DBusError
|
|||
|
static readonly "kServiceUnknown": DBusError
|
|||
|
static readonly "kNameHasNoOwner": DBusError
|
|||
|
static readonly "kNoReply": DBusError
|
|||
|
static readonly "kIoError": DBusError
|
|||
|
static readonly "kBadAddress": DBusError
|
|||
|
static readonly "kNotSupported": DBusError
|
|||
|
static readonly "kLimitsExceeded": DBusError
|
|||
|
static readonly "kAccessDenied": DBusError
|
|||
|
static readonly "kAuthFailed": DBusError
|
|||
|
static readonly "kNoServer": DBusError
|
|||
|
static readonly "kTimeout": DBusError
|
|||
|
static readonly "kNoNetwork": DBusError
|
|||
|
static readonly "kAddressInUse": DBusError
|
|||
|
static readonly "kDisconnected": DBusError
|
|||
|
static readonly "kInvalidArgs": DBusError
|
|||
|
static readonly "kFileNotFound": DBusError
|
|||
|
static readonly "kFileExists": DBusError
|
|||
|
static readonly "kUnknownMethod": DBusError
|
|||
|
static readonly "kTimedOut": DBusError
|
|||
|
static readonly "kMatchRuleNotFound": DBusError
|
|||
|
static readonly "kMatchRuleInvalid": DBusError
|
|||
|
static readonly "kSpawnExecFailed": DBusError
|
|||
|
static readonly "kSpawnForkFailed": DBusError
|
|||
|
static readonly "kSpawnChildExited": DBusError
|
|||
|
static readonly "kSpawnChildSignaled": DBusError
|
|||
|
static readonly "kSpawnFailed": DBusError
|
|||
|
static readonly "kSpawnSetupFailed": DBusError
|
|||
|
static readonly "kSpawnConfigInvalid": DBusError
|
|||
|
static readonly "kSpawnServiceInvalid": DBusError
|
|||
|
static readonly "kSpawnServiceNotFound": DBusError
|
|||
|
static readonly "kSpawnPermissionsInvalid": DBusError
|
|||
|
static readonly "kSpawnFileInvalid": DBusError
|
|||
|
static readonly "kSpawnNoMemory": DBusError
|
|||
|
static readonly "kUnixProcessIdUnknown": DBusError
|
|||
|
static readonly "kInvalidSignature": DBusError
|
|||
|
static readonly "kInvalidFileContent": DBusError
|
|||
|
static readonly "kSelinuxSecurityContextUnknown": DBusError
|
|||
|
static readonly "kAdtAuditDataUnknown": DBusError
|
|||
|
static readonly "kObjectPathInUse": DBusError
|
|||
|
static readonly "kUnknownObject": DBusError
|
|||
|
static readonly "kUnknownInterface": DBusError
|
|||
|
static readonly "kUnknownProperty": DBusError
|
|||
|
static readonly "kPropertyReadOnly": DBusError
|
|||
|
}
|
|||
|
|
|||
|
class DBusInterfaceSkeletonFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": DBusInterfaceSkeletonFlags
|
|||
|
static readonly "kHandleMethodInvocationsInThread": DBusInterfaceSkeletonFlags
|
|||
|
}
|
|||
|
|
|||
|
class DBusMessageByteOrder {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kBigEndian": DBusMessageByteOrder
|
|||
|
static readonly "kLittleEndian": DBusMessageByteOrder
|
|||
|
}
|
|||
|
|
|||
|
class DBusMessageFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": DBusMessageFlags
|
|||
|
static readonly "kNoReplyExpected": DBusMessageFlags
|
|||
|
static readonly "kNoAutoStart": DBusMessageFlags
|
|||
|
static readonly "kAllowInteractiveAuthorization": DBusMessageFlags
|
|||
|
}
|
|||
|
|
|||
|
class DBusMessageHeaderField {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kInvalid": DBusMessageHeaderField
|
|||
|
static readonly "kPath": DBusMessageHeaderField
|
|||
|
static readonly "kInterface": DBusMessageHeaderField
|
|||
|
static readonly "kMember": DBusMessageHeaderField
|
|||
|
static readonly "kErrorName": DBusMessageHeaderField
|
|||
|
static readonly "kReplySerial": DBusMessageHeaderField
|
|||
|
static readonly "kDestination": DBusMessageHeaderField
|
|||
|
static readonly "kSender": DBusMessageHeaderField
|
|||
|
static readonly "kSignature": DBusMessageHeaderField
|
|||
|
static readonly "kNumUnixFds": DBusMessageHeaderField
|
|||
|
}
|
|||
|
|
|||
|
class DBusMessageType {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kInvalid": DBusMessageType
|
|||
|
static readonly "kMethodCall": DBusMessageType
|
|||
|
static readonly "kMethodReturn": DBusMessageType
|
|||
|
static readonly "kError": DBusMessageType
|
|||
|
static readonly "kSignal": DBusMessageType
|
|||
|
}
|
|||
|
|
|||
|
class DBusObjectManagerClientFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": DBusObjectManagerClientFlags
|
|||
|
static readonly "kDoNotAutoStart": DBusObjectManagerClientFlags
|
|||
|
}
|
|||
|
|
|||
|
class DBusPropertyInfoFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": DBusPropertyInfoFlags
|
|||
|
static readonly "kReadable": DBusPropertyInfoFlags
|
|||
|
static readonly "kWritable": DBusPropertyInfoFlags
|
|||
|
}
|
|||
|
|
|||
|
class DBusProxyFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": DBusProxyFlags
|
|||
|
static readonly "kDoNotLoadProperties": DBusProxyFlags
|
|||
|
static readonly "kDoNotConnectSignals": DBusProxyFlags
|
|||
|
static readonly "kDoNotAutoStart": DBusProxyFlags
|
|||
|
static readonly "kGetInvalidatedProperties": DBusProxyFlags
|
|||
|
static readonly "kDoNotAutoStartAtConstruction": DBusProxyFlags
|
|||
|
static readonly "kNoMatchRule": DBusProxyFlags
|
|||
|
}
|
|||
|
|
|||
|
class DBusSendMessageFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": DBusSendMessageFlags
|
|||
|
static readonly "kPreserveSerial": DBusSendMessageFlags
|
|||
|
}
|
|||
|
|
|||
|
class DBusServerFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": DBusServerFlags
|
|||
|
static readonly "kRunInThread": DBusServerFlags
|
|||
|
static readonly "kAuthenticationAllowAnonymous": DBusServerFlags
|
|||
|
static readonly "kAuthenticationRequireSameUser": DBusServerFlags
|
|||
|
}
|
|||
|
|
|||
|
class DBusSignalFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": DBusSignalFlags
|
|||
|
static readonly "kNoMatchRule": DBusSignalFlags
|
|||
|
static readonly "kMatchArg0Namespace": DBusSignalFlags
|
|||
|
static readonly "kMatchArg0Path": DBusSignalFlags
|
|||
|
}
|
|||
|
|
|||
|
class DBusSubtreeFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": DBusSubtreeFlags
|
|||
|
static readonly "kDispatchToUnenumeratedNodes": DBusSubtreeFlags
|
|||
|
}
|
|||
|
|
|||
|
class DataStreamByteOrder {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kBigEndian": DataStreamByteOrder
|
|||
|
static readonly "kLittleEndian": DataStreamByteOrder
|
|||
|
static readonly "kHostEndian": DataStreamByteOrder
|
|||
|
}
|
|||
|
|
|||
|
class DataStreamNewlineType {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kLf": DataStreamNewlineType
|
|||
|
static readonly "kCr": DataStreamNewlineType
|
|||
|
static readonly "kCrLf": DataStreamNewlineType
|
|||
|
static readonly "kAny": DataStreamNewlineType
|
|||
|
}
|
|||
|
|
|||
|
class DriveStartFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": DriveStartFlags
|
|||
|
}
|
|||
|
|
|||
|
class DriveStartStopType {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kUnknown": DriveStartStopType
|
|||
|
static readonly "kShutdown": DriveStartStopType
|
|||
|
static readonly "kNetwork": DriveStartStopType
|
|||
|
static readonly "kMultidisk": DriveStartStopType
|
|||
|
static readonly "kPassword": DriveStartStopType
|
|||
|
}
|
|||
|
|
|||
|
class EmblemOrigin {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kUnknown": EmblemOrigin
|
|||
|
static readonly "kDevice": EmblemOrigin
|
|||
|
static readonly "kLivemetadata": EmblemOrigin
|
|||
|
static readonly "kTag": EmblemOrigin
|
|||
|
}
|
|||
|
|
|||
|
class FileAttributeInfoFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": FileAttributeInfoFlags
|
|||
|
static readonly "kCopyWithFile": FileAttributeInfoFlags
|
|||
|
static readonly "kCopyWhenMoved": FileAttributeInfoFlags
|
|||
|
}
|
|||
|
|
|||
|
class FileAttributeStatus {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kUnset": FileAttributeStatus
|
|||
|
static readonly "kSet": FileAttributeStatus
|
|||
|
static readonly "kErrorSetting": FileAttributeStatus
|
|||
|
}
|
|||
|
|
|||
|
class FileAttributeType {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kInvalid": FileAttributeType
|
|||
|
static readonly "kString": FileAttributeType
|
|||
|
static readonly "kByteString": FileAttributeType
|
|||
|
static readonly "kBoolean": FileAttributeType
|
|||
|
static readonly "kUint32": FileAttributeType
|
|||
|
static readonly "kInt32": FileAttributeType
|
|||
|
static readonly "kUint64": FileAttributeType
|
|||
|
static readonly "kInt64": FileAttributeType
|
|||
|
static readonly "kObject": FileAttributeType
|
|||
|
static readonly "kStringv": FileAttributeType
|
|||
|
}
|
|||
|
|
|||
|
class FileCopyFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": FileCopyFlags
|
|||
|
static readonly "kOverwrite": FileCopyFlags
|
|||
|
static readonly "kBackup": FileCopyFlags
|
|||
|
static readonly "kNofollowSymlinks": FileCopyFlags
|
|||
|
static readonly "kAllMetadata": FileCopyFlags
|
|||
|
static readonly "kNoFallbackForMove": FileCopyFlags
|
|||
|
static readonly "kTargetDefaultPerms": FileCopyFlags
|
|||
|
}
|
|||
|
|
|||
|
class FileCreateFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": FileCreateFlags
|
|||
|
static readonly "kPrivate": FileCreateFlags
|
|||
|
static readonly "kReplaceDestination": FileCreateFlags
|
|||
|
}
|
|||
|
|
|||
|
class FileMeasureFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": FileMeasureFlags
|
|||
|
static readonly "kReportAnyError": FileMeasureFlags
|
|||
|
static readonly "kApparentSize": FileMeasureFlags
|
|||
|
static readonly "kNoXDev": FileMeasureFlags
|
|||
|
}
|
|||
|
|
|||
|
class FileMonitorEvent {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kChanged": FileMonitorEvent
|
|||
|
static readonly "kChangesDoneHint": FileMonitorEvent
|
|||
|
static readonly "kDeleted": FileMonitorEvent
|
|||
|
static readonly "kCreated": FileMonitorEvent
|
|||
|
static readonly "kAttributeChanged": FileMonitorEvent
|
|||
|
static readonly "kPreUnmount": FileMonitorEvent
|
|||
|
static readonly "kUnmounted": FileMonitorEvent
|
|||
|
static readonly "kMoved": FileMonitorEvent
|
|||
|
static readonly "kRenamed": FileMonitorEvent
|
|||
|
static readonly "kMovedIn": FileMonitorEvent
|
|||
|
static readonly "kMovedOut": FileMonitorEvent
|
|||
|
}
|
|||
|
|
|||
|
class FileMonitorFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": FileMonitorFlags
|
|||
|
static readonly "kWatchMounts": FileMonitorFlags
|
|||
|
static readonly "kSendMoved": FileMonitorFlags
|
|||
|
static readonly "kWatchHardLinks": FileMonitorFlags
|
|||
|
static readonly "kWatchMoves": FileMonitorFlags
|
|||
|
}
|
|||
|
|
|||
|
class FileQueryInfoFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": FileQueryInfoFlags
|
|||
|
static readonly "kNofollowSymlinks": FileQueryInfoFlags
|
|||
|
}
|
|||
|
|
|||
|
class FileType {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kUnknown": FileType
|
|||
|
static readonly "kRegular": FileType
|
|||
|
static readonly "kDirectory": FileType
|
|||
|
static readonly "kSymbolicLink": FileType
|
|||
|
static readonly "kSpecial": FileType
|
|||
|
static readonly "kShortcut": FileType
|
|||
|
static readonly "kMountable": FileType
|
|||
|
}
|
|||
|
|
|||
|
class FilesystemPreviewType {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kIfAlways": FilesystemPreviewType
|
|||
|
static readonly "kIfLocal": FilesystemPreviewType
|
|||
|
static readonly "kNever": FilesystemPreviewType
|
|||
|
}
|
|||
|
|
|||
|
class IOErrorEnum {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kFailed": IOErrorEnum
|
|||
|
static readonly "kNotFound": IOErrorEnum
|
|||
|
static readonly "kExists": IOErrorEnum
|
|||
|
static readonly "kIsDirectory": IOErrorEnum
|
|||
|
static readonly "kNotDirectory": IOErrorEnum
|
|||
|
static readonly "kNotEmpty": IOErrorEnum
|
|||
|
static readonly "kNotRegularFile": IOErrorEnum
|
|||
|
static readonly "kNotSymbolicLink": IOErrorEnum
|
|||
|
static readonly "kNotMountableFile": IOErrorEnum
|
|||
|
static readonly "kFilenameTooLong": IOErrorEnum
|
|||
|
static readonly "kInvalidFilename": IOErrorEnum
|
|||
|
static readonly "kTooManyLinks": IOErrorEnum
|
|||
|
static readonly "kNoSpace": IOErrorEnum
|
|||
|
static readonly "kInvalidArgument": IOErrorEnum
|
|||
|
static readonly "kPermissionDenied": IOErrorEnum
|
|||
|
static readonly "kNotSupported": IOErrorEnum
|
|||
|
static readonly "kNotMounted": IOErrorEnum
|
|||
|
static readonly "kAlreadyMounted": IOErrorEnum
|
|||
|
static readonly "kClosed": IOErrorEnum
|
|||
|
static readonly "kCancelled": IOErrorEnum
|
|||
|
static readonly "kPending": IOErrorEnum
|
|||
|
static readonly "kReadOnly": IOErrorEnum
|
|||
|
static readonly "kCantCreateBackup": IOErrorEnum
|
|||
|
static readonly "kWrongEtag": IOErrorEnum
|
|||
|
static readonly "kTimedOut": IOErrorEnum
|
|||
|
static readonly "kWouldRecurse": IOErrorEnum
|
|||
|
static readonly "kBusy": IOErrorEnum
|
|||
|
static readonly "kWouldBlock": IOErrorEnum
|
|||
|
static readonly "kHostNotFound": IOErrorEnum
|
|||
|
static readonly "kWouldMerge": IOErrorEnum
|
|||
|
static readonly "kFailedHandled": IOErrorEnum
|
|||
|
static readonly "kTooManyOpenFiles": IOErrorEnum
|
|||
|
static readonly "kNotInitialized": IOErrorEnum
|
|||
|
static readonly "kAddressInUse": IOErrorEnum
|
|||
|
static readonly "kPartialInput": IOErrorEnum
|
|||
|
static readonly "kInvalidData": IOErrorEnum
|
|||
|
static readonly "kDbusError": IOErrorEnum
|
|||
|
static readonly "kHostUnreachable": IOErrorEnum
|
|||
|
static readonly "kNetworkUnreachable": IOErrorEnum
|
|||
|
static readonly "kConnectionRefused": IOErrorEnum
|
|||
|
static readonly "kProxyFailed": IOErrorEnum
|
|||
|
static readonly "kProxyAuthFailed": IOErrorEnum
|
|||
|
static readonly "kProxyNeedAuth": IOErrorEnum
|
|||
|
static readonly "kProxyNotAllowed": IOErrorEnum
|
|||
|
static readonly "kBrokenPipe": IOErrorEnum
|
|||
|
static readonly "kConnectionClosed": IOErrorEnum
|
|||
|
static readonly "kNotConnected": IOErrorEnum
|
|||
|
static readonly "kMessageTooLarge": IOErrorEnum
|
|||
|
}
|
|||
|
|
|||
|
class IOModuleScopeFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": IOModuleScopeFlags
|
|||
|
static readonly "kBlockDuplicates": IOModuleScopeFlags
|
|||
|
}
|
|||
|
|
|||
|
class IOStreamSpliceFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": IOStreamSpliceFlags
|
|||
|
static readonly "kCloseStream1": IOStreamSpliceFlags
|
|||
|
static readonly "kCloseStream2": IOStreamSpliceFlags
|
|||
|
static readonly "kWaitForBoth": IOStreamSpliceFlags
|
|||
|
}
|
|||
|
|
|||
|
class MemoryMonitorWarningLevel {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kLow": MemoryMonitorWarningLevel
|
|||
|
static readonly "kMedium": MemoryMonitorWarningLevel
|
|||
|
static readonly "kCritical": MemoryMonitorWarningLevel
|
|||
|
}
|
|||
|
|
|||
|
class MountMountFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": MountMountFlags
|
|||
|
}
|
|||
|
|
|||
|
class MountOperationResult {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kHandled": MountOperationResult
|
|||
|
static readonly "kAborted": MountOperationResult
|
|||
|
static readonly "kUnhandled": MountOperationResult
|
|||
|
}
|
|||
|
|
|||
|
class MountUnmountFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": MountUnmountFlags
|
|||
|
static readonly "kForce": MountUnmountFlags
|
|||
|
}
|
|||
|
|
|||
|
class NetworkConnectivity {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kLocal": NetworkConnectivity
|
|||
|
static readonly "kLimited": NetworkConnectivity
|
|||
|
static readonly "kPortal": NetworkConnectivity
|
|||
|
static readonly "kFull": NetworkConnectivity
|
|||
|
}
|
|||
|
|
|||
|
class NotificationPriority {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNormal": NotificationPriority
|
|||
|
static readonly "kLow": NotificationPriority
|
|||
|
static readonly "kHigh": NotificationPriority
|
|||
|
static readonly "kUrgent": NotificationPriority
|
|||
|
}
|
|||
|
|
|||
|
class OutputStreamSpliceFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": OutputStreamSpliceFlags
|
|||
|
static readonly "kCloseSource": OutputStreamSpliceFlags
|
|||
|
static readonly "kCloseTarget": OutputStreamSpliceFlags
|
|||
|
}
|
|||
|
|
|||
|
class PasswordSave {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNever": PasswordSave
|
|||
|
static readonly "kForSession": PasswordSave
|
|||
|
static readonly "kPermanently": PasswordSave
|
|||
|
}
|
|||
|
|
|||
|
class PollableReturn {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kFailed": PollableReturn
|
|||
|
static readonly "kOk": PollableReturn
|
|||
|
static readonly "kWouldBlock": PollableReturn
|
|||
|
}
|
|||
|
|
|||
|
class ResolverError {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNotFound": ResolverError
|
|||
|
static readonly "kTemporaryFailure": ResolverError
|
|||
|
static readonly "kInternal": ResolverError
|
|||
|
}
|
|||
|
|
|||
|
class ResolverNameLookupFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kDefault": ResolverNameLookupFlags
|
|||
|
static readonly "kIpv4Only": ResolverNameLookupFlags
|
|||
|
static readonly "kIpv6Only": ResolverNameLookupFlags
|
|||
|
}
|
|||
|
|
|||
|
class ResolverRecordType {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kSrv": ResolverRecordType
|
|||
|
static readonly "kMx": ResolverRecordType
|
|||
|
static readonly "kTxt": ResolverRecordType
|
|||
|
static readonly "kSoa": ResolverRecordType
|
|||
|
static readonly "kNs": ResolverRecordType
|
|||
|
}
|
|||
|
|
|||
|
class ResourceError {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNotFound": ResourceError
|
|||
|
static readonly "kInternal": ResourceError
|
|||
|
}
|
|||
|
|
|||
|
class ResourceFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": ResourceFlags
|
|||
|
static readonly "kCompressed": ResourceFlags
|
|||
|
}
|
|||
|
|
|||
|
class ResourceLookupFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": ResourceLookupFlags
|
|||
|
}
|
|||
|
|
|||
|
class SettingsBindFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kDefault": SettingsBindFlags
|
|||
|
static readonly "kGet": SettingsBindFlags
|
|||
|
static readonly "kSet": SettingsBindFlags
|
|||
|
static readonly "kNoSensitivity": SettingsBindFlags
|
|||
|
static readonly "kGetNoChanges": SettingsBindFlags
|
|||
|
static readonly "kInvertBoolean": SettingsBindFlags
|
|||
|
}
|
|||
|
|
|||
|
class SocketClientEvent {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kResolving": SocketClientEvent
|
|||
|
static readonly "kResolved": SocketClientEvent
|
|||
|
static readonly "kConnecting": SocketClientEvent
|
|||
|
static readonly "kConnected": SocketClientEvent
|
|||
|
static readonly "kProxyNegotiating": SocketClientEvent
|
|||
|
static readonly "kProxyNegotiated": SocketClientEvent
|
|||
|
static readonly "kTlsHandshaking": SocketClientEvent
|
|||
|
static readonly "kTlsHandshaked": SocketClientEvent
|
|||
|
static readonly "kComplete": SocketClientEvent
|
|||
|
}
|
|||
|
|
|||
|
class SocketFamily {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kInvalid": SocketFamily
|
|||
|
static readonly "kUnix": SocketFamily
|
|||
|
static readonly "kIpv4": SocketFamily
|
|||
|
static readonly "kIpv6": SocketFamily
|
|||
|
}
|
|||
|
|
|||
|
class SocketListenerEvent {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kBinding": SocketListenerEvent
|
|||
|
static readonly "kBound": SocketListenerEvent
|
|||
|
static readonly "kListening": SocketListenerEvent
|
|||
|
static readonly "kListened": SocketListenerEvent
|
|||
|
}
|
|||
|
|
|||
|
class SocketMsgFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": SocketMsgFlags
|
|||
|
static readonly "kOob": SocketMsgFlags
|
|||
|
static readonly "kPeek": SocketMsgFlags
|
|||
|
static readonly "kDontroute": SocketMsgFlags
|
|||
|
}
|
|||
|
|
|||
|
class SocketProtocol {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kUnknown": SocketProtocol
|
|||
|
static readonly "kDefault": SocketProtocol
|
|||
|
static readonly "kTcp": SocketProtocol
|
|||
|
static readonly "kUdp": SocketProtocol
|
|||
|
static readonly "kSctp": SocketProtocol
|
|||
|
}
|
|||
|
|
|||
|
class SocketType {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kInvalid": SocketType
|
|||
|
static readonly "kStream": SocketType
|
|||
|
static readonly "kDatagram": SocketType
|
|||
|
static readonly "kSeqpacket": SocketType
|
|||
|
}
|
|||
|
|
|||
|
class SubprocessFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": SubprocessFlags
|
|||
|
static readonly "kStdinPipe": SubprocessFlags
|
|||
|
static readonly "kStdinInherit": SubprocessFlags
|
|||
|
static readonly "kStdoutPipe": SubprocessFlags
|
|||
|
static readonly "kStdoutSilence": SubprocessFlags
|
|||
|
static readonly "kStderrPipe": SubprocessFlags
|
|||
|
static readonly "kStderrSilence": SubprocessFlags
|
|||
|
static readonly "kStderrMerge": SubprocessFlags
|
|||
|
static readonly "kInheritFds": SubprocessFlags
|
|||
|
static readonly "kSearchPathFromEnvp": SubprocessFlags
|
|||
|
}
|
|||
|
|
|||
|
class TestDBusFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": TestDBusFlags
|
|||
|
}
|
|||
|
|
|||
|
class TlsAuthenticationMode {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": TlsAuthenticationMode
|
|||
|
static readonly "kRequested": TlsAuthenticationMode
|
|||
|
static readonly "kRequired": TlsAuthenticationMode
|
|||
|
}
|
|||
|
|
|||
|
class TlsCertificateFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kUnknownCa": TlsCertificateFlags
|
|||
|
static readonly "kBadIdentity": TlsCertificateFlags
|
|||
|
static readonly "kNotActivated": TlsCertificateFlags
|
|||
|
static readonly "kExpired": TlsCertificateFlags
|
|||
|
static readonly "kRevoked": TlsCertificateFlags
|
|||
|
static readonly "kInsecure": TlsCertificateFlags
|
|||
|
static readonly "kGenericError": TlsCertificateFlags
|
|||
|
static readonly "kValidateAll": TlsCertificateFlags
|
|||
|
}
|
|||
|
|
|||
|
class TlsCertificateRequestFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": TlsCertificateRequestFlags
|
|||
|
}
|
|||
|
|
|||
|
class TlsChannelBindingError {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNotImplemented": TlsChannelBindingError
|
|||
|
static readonly "kInvalidState": TlsChannelBindingError
|
|||
|
static readonly "kNotAvailable": TlsChannelBindingError
|
|||
|
static readonly "kNotSupported": TlsChannelBindingError
|
|||
|
static readonly "kGeneralError": TlsChannelBindingError
|
|||
|
}
|
|||
|
|
|||
|
class TlsChannelBindingType {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kUnique": TlsChannelBindingType
|
|||
|
static readonly "kServerEndPoint": TlsChannelBindingType
|
|||
|
}
|
|||
|
|
|||
|
class TlsDatabaseLookupFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": TlsDatabaseLookupFlags
|
|||
|
static readonly "kKeypair": TlsDatabaseLookupFlags
|
|||
|
}
|
|||
|
|
|||
|
class TlsDatabaseVerifyFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": TlsDatabaseVerifyFlags
|
|||
|
}
|
|||
|
|
|||
|
class TlsError {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kUnavailable": TlsError
|
|||
|
static readonly "kMisc": TlsError
|
|||
|
static readonly "kBadCertificate": TlsError
|
|||
|
static readonly "kNotTls": TlsError
|
|||
|
static readonly "kHandshake": TlsError
|
|||
|
static readonly "kCertificateRequired": TlsError
|
|||
|
static readonly "kEof": TlsError
|
|||
|
static readonly "kInappropriateFallback": TlsError
|
|||
|
static readonly "kBadCertificatePassword": TlsError
|
|||
|
}
|
|||
|
|
|||
|
class TlsInteractionResult {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kUnhandled": TlsInteractionResult
|
|||
|
static readonly "kHandled": TlsInteractionResult
|
|||
|
static readonly "kFailed": TlsInteractionResult
|
|||
|
}
|
|||
|
|
|||
|
class TlsPasswordFlags {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNone": TlsPasswordFlags
|
|||
|
static readonly "kRetry": TlsPasswordFlags
|
|||
|
static readonly "kManyTries": TlsPasswordFlags
|
|||
|
static readonly "kFinalTry": TlsPasswordFlags
|
|||
|
static readonly "kPkcs11User": TlsPasswordFlags
|
|||
|
static readonly "kPkcs11SecurityOfficer": TlsPasswordFlags
|
|||
|
static readonly "kPkcs11ContextSpecific": TlsPasswordFlags
|
|||
|
}
|
|||
|
|
|||
|
class TlsProtocolVersion {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kUnknown": TlsProtocolVersion
|
|||
|
static readonly "kSsl30": TlsProtocolVersion
|
|||
|
static readonly "kTls10": TlsProtocolVersion
|
|||
|
static readonly "kTls11": TlsProtocolVersion
|
|||
|
static readonly "kTls12": TlsProtocolVersion
|
|||
|
static readonly "kTls13": TlsProtocolVersion
|
|||
|
static readonly "kDtls10": TlsProtocolVersion
|
|||
|
static readonly "kDtls12": TlsProtocolVersion
|
|||
|
}
|
|||
|
|
|||
|
class TlsRehandshakeMode {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kNever": TlsRehandshakeMode
|
|||
|
static readonly "kSafely": TlsRehandshakeMode
|
|||
|
static readonly "kUnsafely": TlsRehandshakeMode
|
|||
|
}
|
|||
|
|
|||
|
class UnixSocketAddressType {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kInvalid": UnixSocketAddressType
|
|||
|
static readonly "kAnonymous": UnixSocketAddressType
|
|||
|
static readonly "kPath": UnixSocketAddressType
|
|||
|
static readonly "kAbstract": UnixSocketAddressType
|
|||
|
static readonly "kAbstractPadded": UnixSocketAddressType
|
|||
|
}
|
|||
|
|
|||
|
class ZlibCompressorFormat {
|
|||
|
// Enumerations hack...
|
|||
|
toString(radix ? : number | undefined) : string;
|
|||
|
toFixed(fractionDigits ? : number | undefined) : string;
|
|||
|
toExponential(fractionDigits ? : number | undefined) : string;
|
|||
|
toPrecision(precision ? : number | undefined) : string;
|
|||
|
valueOf() : number;
|
|||
|
toLocaleString(locales ? : string | string[] | undefined, options ? : Intl.NumberFormatOptions | undefined) : string;
|
|||
|
|
|||
|
static [s:number]: string;
|
|||
|
|
|||
|
static readonly "kZlib": ZlibCompressorFormat
|
|||
|
static readonly "kGzip": ZlibCompressorFormat
|
|||
|
static readonly "kRaw": ZlibCompressorFormat
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
class Action {
|
|||
|
enabled : boolean;
|
|||
|
name : string;
|
|||
|
parameterType : AuGlibEx.VariantType;
|
|||
|
state : AuGlibEx.Variant;
|
|||
|
stateType : AuGlibEx.VariantType;
|
|||
|
|
|||
|
static NameIsValid(actionName: string): boolean;
|
|||
|
static ParseDetailedName(detailedName: string, actionName: string, targetValue: AuGlibEx.Variant): boolean;
|
|||
|
static PrintDetailedName(actionName: string, targetValue: AuGlibEx.Variant | undefined | null): string;
|
|||
|
activate(parameter: AuGlibEx.Variant | undefined | null): void;
|
|||
|
changeState(value: AuGlibEx.Variant): void;
|
|||
|
getEnabled(): boolean;
|
|||
|
getName(): string;
|
|||
|
getParameterType(): AuGlibEx.VariantType;
|
|||
|
getState(): AuGlibEx.Variant;
|
|||
|
getStateHint(): AuGlibEx.Variant;
|
|||
|
getStateType(): AuGlibEx.VariantType;
|
|||
|
}
|
|||
|
|
|||
|
class ActionGroup {
|
|||
|
actionAdded(actionName: string): void;
|
|||
|
actionEnabledChanged(actionName: string, enabled: boolean): void;
|
|||
|
actionRemoved(actionName: string): void;
|
|||
|
actionStateChanged(actionName: string, state: AuGlibEx.Variant): void;
|
|||
|
activateAction(actionName: string, parameter: AuGlibEx.Variant | undefined | null): void;
|
|||
|
changeActionState(actionName: string, value: AuGlibEx.Variant): void;
|
|||
|
getActionEnabled(actionName: string): boolean;
|
|||
|
getActionParameterType(actionName: string): AuGlibEx.VariantType;
|
|||
|
getActionState(actionName: string): AuGlibEx.Variant;
|
|||
|
getActionStateHint(actionName: string): AuGlibEx.Variant;
|
|||
|
getActionStateType(actionName: string): AuGlibEx.VariantType;
|
|||
|
hasAction(actionName: string): boolean;
|
|||
|
listActions(): string[];
|
|||
|
queryAction(actionName: string, enabled: boolean, parameterType ?: AuGlibEx.VariantType, stateType ?: AuGlibEx.VariantType, stateHint ?: AuGlibEx.Variant, state ?: AuGlibEx.Variant): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class ActionMap {
|
|||
|
addAction(action: AuGIO.Action): void;
|
|||
|
addActionEntries(entries: AuGIO.ActionEntry[], nEntries: number): void;
|
|||
|
lookupAction(actionName: string): AuGIO.Action;
|
|||
|
removeAction(actionName: string): void;
|
|||
|
}
|
|||
|
|
|||
|
class AppInfo {
|
|||
|
static CreateFromCommandline(commandline: string, applicationName: string | undefined | null, flags: AuGIO.AppInfoCreateFlags): AuGIO.AppInfo;
|
|||
|
static GetAll(): AuGIO.AppInfo[];
|
|||
|
static GetAllForType(contentType: string): AuGIO.AppInfo[];
|
|||
|
static GetDefaultForType(contentType: string, mustSupportUris: boolean): AuGIO.AppInfo;
|
|||
|
static GetDefaultForUriScheme(uriScheme: string): AuGIO.AppInfo;
|
|||
|
static GetFallbackForType(contentType: string): AuGIO.AppInfo[];
|
|||
|
static GetRecommendedForType(contentType: string): AuGIO.AppInfo[];
|
|||
|
static LaunchDefaultForUri(uri: string, context: AuGIO.AppLaunchContext | undefined | null): boolean;
|
|||
|
static LaunchDefaultForUriAsync(uri: string, context: AuGIO.AppLaunchContext | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
static LaunchDefaultForUriFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
static ResetTypeAssociations(contentType: string): void;
|
|||
|
addSupportsType(contentType: string): boolean;
|
|||
|
canDelete(): boolean;
|
|||
|
canRemoveSupportsType(): boolean;
|
|||
|
delete(): boolean;
|
|||
|
dup(): AuGIO.AppInfo;
|
|||
|
equal(appinfo2: AuGIO.AppInfo): boolean;
|
|||
|
getCommandline(): string;
|
|||
|
getDescription(): string;
|
|||
|
getDisplayName(): string;
|
|||
|
getExecutable(): string;
|
|||
|
getIcon(): AuGIO.Icon;
|
|||
|
getId(): string;
|
|||
|
getName(): string;
|
|||
|
getSupportedTypes(): string[];
|
|||
|
launch(files: AuGIO.File[] | undefined | null, context: AuGIO.AppLaunchContext | undefined | null): boolean;
|
|||
|
launchUris(uris: string[] | undefined | null, context: AuGIO.AppLaunchContext | undefined | null): boolean;
|
|||
|
launchUrisAsync(uris: string[] | undefined | null, context: AuGIO.AppLaunchContext | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
launchUrisFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
removeSupportsType(contentType: string): boolean;
|
|||
|
setAsDefaultForExtension(extension: string): boolean;
|
|||
|
setAsDefaultForType(contentType: string): boolean;
|
|||
|
setAsLastUsedForType(contentType: string): boolean;
|
|||
|
shouldShow(): boolean;
|
|||
|
supportsFiles(): boolean;
|
|||
|
supportsUris(): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class AsyncInitable {
|
|||
|
static NewvAsync(objectType: number, nParameters: number, parameters: GObject.Parameter, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
initAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
initFinish(res: AuGIO.AsyncResult): boolean;
|
|||
|
newFinish(res: AuGIO.AsyncResult): GObject.Object;
|
|||
|
}
|
|||
|
|
|||
|
class AsyncResult {
|
|||
|
getSourceObject(): GObject.Object;
|
|||
|
getUserData(): void;
|
|||
|
isTagged(): boolean;
|
|||
|
legacyPropagateError(): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class Converter {
|
|||
|
convert(inbuf: number[], inbufSize: number | bigint, outbuf: number[], outbufSize: number | bigint, flags: AuGIO.ConverterFlags, bytesRead: number | bigint, bytesWritten: number | bigint): AuGIO.ConverterResult;
|
|||
|
reset(): void;
|
|||
|
}
|
|||
|
|
|||
|
class DBusInterface {
|
|||
|
getObject(): AuGIO.DBusObject;
|
|||
|
getInfo(): AuGIO.DBusInterfaceInfo;
|
|||
|
setObject(object: AuGIO.DBusObject | undefined | null): void;
|
|||
|
}
|
|||
|
|
|||
|
class DBusObject {
|
|||
|
getInterface(interfaceName: string): AuGIO.DBusInterface;
|
|||
|
getInterfaces(): AuGIO.DBusInterface[];
|
|||
|
getObjectPath(): string;
|
|||
|
}
|
|||
|
|
|||
|
class DBusObjectManager {
|
|||
|
getInterface(objectPath: string, interfaceName: string): AuGIO.DBusInterface;
|
|||
|
getObject(objectPath: string): AuGIO.DBusObject;
|
|||
|
getObjectPath(): string;
|
|||
|
getObjects(): AuGIO.DBusObject[];
|
|||
|
}
|
|||
|
|
|||
|
class DatagramBased {
|
|||
|
conditionCheck(condition: AuGlibEx.IOCondition): AuGlibEx.IOCondition;
|
|||
|
conditionWait(condition: AuGlibEx.IOCondition, timeout: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
createSource(condition: AuGlibEx.IOCondition, cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Source;
|
|||
|
receiveMessages(messages: AuGIO.InputMessage[], numMessages: number, flags: number, timeout: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number;
|
|||
|
sendMessages(messages: AuGIO.OutputMessage[], numMessages: number, flags: number, timeout: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number;
|
|||
|
}
|
|||
|
|
|||
|
class DebugController {
|
|||
|
debugEnabled : boolean;
|
|||
|
|
|||
|
getDebugEnabled(): boolean;
|
|||
|
setDebugEnabled(debugEnabled: boolean): void;
|
|||
|
}
|
|||
|
|
|||
|
class Drive {
|
|||
|
canEject(): boolean;
|
|||
|
canPollForMedia(): boolean;
|
|||
|
canStart(): boolean;
|
|||
|
canStartDegraded(): boolean;
|
|||
|
canStop(): boolean;
|
|||
|
eject(flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
ejectFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
ejectWithOperation(flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
ejectWithOperationFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
enumerateIdentifiers(): string[];
|
|||
|
getIcon(): AuGIO.Icon;
|
|||
|
getIdentifier(kind: string): string;
|
|||
|
getName(): string;
|
|||
|
getSortKey(): string;
|
|||
|
getStartStopType(): AuGIO.DriveStartStopType;
|
|||
|
getSymbolicIcon(): AuGIO.Icon;
|
|||
|
getVolumes(): AuGIO.Volume[];
|
|||
|
hasMedia(): boolean;
|
|||
|
hasVolumes(): boolean;
|
|||
|
isMediaCheckAutomatic(): boolean;
|
|||
|
isMediaRemovable(): boolean;
|
|||
|
isRemovable(): boolean;
|
|||
|
pollForMedia(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
pollForMediaFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
start(flags: AuGIO.DriveStartFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
startFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
stop(flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
stopFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class DtlsClientConnection {
|
|||
|
serverIdentity : AuGIO.SocketConnectable;
|
|||
|
validationFlags : AuGIO.TlsCertificateFlags;
|
|||
|
|
|||
|
static New(baseSocket: AuGIO.DatagramBased, serverIdentity: AuGIO.SocketConnectable | undefined | null): AuGIO.DtlsClientConnection;
|
|||
|
getAcceptedCas(): number[][];
|
|||
|
getServerIdentity(): AuGIO.SocketConnectable;
|
|||
|
getValidationFlags(): AuGIO.TlsCertificateFlags;
|
|||
|
setServerIdentity(identity: AuGIO.SocketConnectable): void;
|
|||
|
setValidationFlags(flags: AuGIO.TlsCertificateFlags): void;
|
|||
|
}
|
|||
|
|
|||
|
class DtlsConnection {
|
|||
|
advertisedProtocols : string[];
|
|||
|
baseSocket : AuGIO.DatagramBased;
|
|||
|
certificate : AuGIO.TlsCertificate;
|
|||
|
ciphersuiteName : string;
|
|||
|
database : AuGIO.TlsDatabase;
|
|||
|
interaction : AuGIO.TlsInteraction;
|
|||
|
negotiatedProtocol : string;
|
|||
|
peerCertificate : AuGIO.TlsCertificate;
|
|||
|
peerCertificateErrors : AuGIO.TlsCertificateFlags;
|
|||
|
protocolVersion : AuGIO.TlsProtocolVersion;
|
|||
|
rehandshakeMode : AuGIO.TlsRehandshakeMode;
|
|||
|
requireCloseNotify : boolean;
|
|||
|
|
|||
|
close(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
closeAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
closeFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
emitAcceptCertificate(peerCert: AuGIO.TlsCertificate, errors: AuGIO.TlsCertificateFlags): boolean;
|
|||
|
getCertificate(): AuGIO.TlsCertificate;
|
|||
|
getChannelBindingData(type: AuGIO.TlsChannelBindingType, data ?: number[]): boolean;
|
|||
|
getCiphersuiteName(): string;
|
|||
|
getDatabase(): AuGIO.TlsDatabase;
|
|||
|
getInteraction(): AuGIO.TlsInteraction;
|
|||
|
getNegotiatedProtocol(): string;
|
|||
|
getPeerCertificate(): AuGIO.TlsCertificate;
|
|||
|
getPeerCertificateErrors(): AuGIO.TlsCertificateFlags;
|
|||
|
getProtocolVersion(): AuGIO.TlsProtocolVersion;
|
|||
|
getRehandshakeMode(): AuGIO.TlsRehandshakeMode;
|
|||
|
getRequireCloseNotify(): boolean;
|
|||
|
handshake(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
handshakeAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
handshakeFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
setAdvertisedProtocols(protocols: string[] | undefined | null): void;
|
|||
|
setCertificate(certificate: AuGIO.TlsCertificate): void;
|
|||
|
setDatabase(database: AuGIO.TlsDatabase | undefined | null): void;
|
|||
|
setInteraction(interaction: AuGIO.TlsInteraction | undefined | null): void;
|
|||
|
setRehandshakeMode(mode: AuGIO.TlsRehandshakeMode): void;
|
|||
|
setRequireCloseNotify(requireCloseNotify: boolean): void;
|
|||
|
shutdown(shutdownRead: boolean, shutdownWrite: boolean, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
shutdownAsync(shutdownRead: boolean, shutdownWrite: boolean, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
shutdownFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class DtlsServerConnection {
|
|||
|
authenticationMode : AuGIO.TlsAuthenticationMode;
|
|||
|
|
|||
|
static New(baseSocket: AuGIO.DatagramBased, certificate: AuGIO.TlsCertificate | undefined | null): AuGIO.DtlsServerConnection;
|
|||
|
}
|
|||
|
|
|||
|
class File {
|
|||
|
static NewForCommandlineArg(arg: string): AuGIO.File;
|
|||
|
static NewForCommandlineArgAndCwd(arg: string, cwd: string): AuGIO.File;
|
|||
|
static NewForPath(path: string): AuGIO.File;
|
|||
|
static NewForUri(uri: string): AuGIO.File;
|
|||
|
static NewTmp(tmpl: string | undefined | null, iostream: AuGIO.FileIOStream): AuGIO.File;
|
|||
|
static ParseName(parseName: string): AuGIO.File;
|
|||
|
appendTo(flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileOutputStream;
|
|||
|
appendToAsync(flags: AuGIO.FileCreateFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
appendToFinish(res: AuGIO.AsyncResult): AuGIO.FileOutputStream;
|
|||
|
buildAttributeListForCopy(flags: AuGIO.FileCopyFlags, cancellable: AuGIO.Cancellable | undefined | null): string;
|
|||
|
copy(destination: AuGIO.File, flags: AuGIO.FileCopyFlags, cancellable: AuGIO.Cancellable | undefined | null, progressCallback: (currentNumBytes: number | bigint, totalNumBytes: number | bigint) => void | undefined | null): boolean;
|
|||
|
copyAsync(destination: AuGIO.File, flags: AuGIO.FileCopyFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, progressCallback: (currentNumBytes: number | bigint, totalNumBytes: number | bigint) => void | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
copyAttributes(destination: AuGIO.File, flags: AuGIO.FileCopyFlags, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
copyFinish(res: AuGIO.AsyncResult): boolean;
|
|||
|
create(flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileOutputStream;
|
|||
|
createAsync(flags: AuGIO.FileCreateFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
createFinish(res: AuGIO.AsyncResult): AuGIO.FileOutputStream;
|
|||
|
createReadwrite(flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileIOStream;
|
|||
|
createReadwriteAsync(flags: AuGIO.FileCreateFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
createReadwriteFinish(res: AuGIO.AsyncResult): AuGIO.FileIOStream;
|
|||
|
delete(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
deleteAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
deleteFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
dup(): AuGIO.File;
|
|||
|
ejectMountable(flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
ejectMountableFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
ejectMountableWithOperation(flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
ejectMountableWithOperationFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
enumerateChildren(attributes: string, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileEnumerator;
|
|||
|
enumerateChildrenAsync(attributes: string, flags: AuGIO.FileQueryInfoFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
enumerateChildrenFinish(res: AuGIO.AsyncResult): AuGIO.FileEnumerator;
|
|||
|
equal(file2: AuGIO.File): boolean;
|
|||
|
findEnclosingMount(cancellable: AuGIO.Cancellable | undefined | null): AuGIO.Mount;
|
|||
|
findEnclosingMountAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
findEnclosingMountFinish(res: AuGIO.AsyncResult): AuGIO.Mount;
|
|||
|
getBasename(): string;
|
|||
|
getChild(name: string): AuGIO.File;
|
|||
|
getChildForDisplayName(displayName: string): AuGIO.File;
|
|||
|
getParent(): AuGIO.File;
|
|||
|
getParseName(): string;
|
|||
|
getPath(): string;
|
|||
|
getRelativePath(descendant: AuGIO.File): string;
|
|||
|
getUri(): string;
|
|||
|
getUriScheme(): string;
|
|||
|
hasParent(parent: AuGIO.File | undefined | null): boolean;
|
|||
|
hasPrefix(prefix: AuGIO.File): boolean;
|
|||
|
hasUriScheme(uriScheme: string): boolean;
|
|||
|
hash(): number;
|
|||
|
isNative(): boolean;
|
|||
|
loadBytes(cancellable: AuGIO.Cancellable | undefined | null, etagOut ?: string | undefined | null): AuGlibEx.Bytes;
|
|||
|
loadBytesAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
loadBytesFinish(result: AuGIO.AsyncResult, etagOut ?: string | undefined | null): AuGlibEx.Bytes;
|
|||
|
loadContents(cancellable: AuGIO.Cancellable | undefined | null, contents: number[], length ?: number | bigint, etagOut ?: string | undefined | null): boolean;
|
|||
|
loadContentsAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
loadContentsFinish(res: AuGIO.AsyncResult, contents: number[], length ?: number | bigint, etagOut ?: string | undefined | null): boolean;
|
|||
|
loadPartialContentsFinish(res: AuGIO.AsyncResult, contents: number[], length ?: number | bigint, etagOut ?: string | undefined | null): boolean;
|
|||
|
makeDirectory(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
makeDirectoryAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
makeDirectoryFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
makeDirectoryWithParents(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
makeSymbolicLink(symlinkValue: string, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
measureDiskUsageFinish(result: AuGIO.AsyncResult, diskUsage ?: number | bigint, numDirs ?: number | bigint, numFiles ?: number | bigint): boolean;
|
|||
|
monitor(flags: AuGIO.FileMonitorFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileMonitor;
|
|||
|
monitorDirectory(flags: AuGIO.FileMonitorFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileMonitor;
|
|||
|
monitorFile(flags: AuGIO.FileMonitorFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileMonitor;
|
|||
|
mountEnclosingVolume(flags: AuGIO.MountMountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
mountEnclosingVolumeFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
mountMountable(flags: AuGIO.MountMountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
mountMountableFinish(result: AuGIO.AsyncResult): AuGIO.File;
|
|||
|
move(destination: AuGIO.File, flags: AuGIO.FileCopyFlags, cancellable: AuGIO.Cancellable | undefined | null, progressCallback: (currentNumBytes: number | bigint, totalNumBytes: number | bigint) => void | undefined | null): boolean;
|
|||
|
moveAsync(destination: AuGIO.File, flags: AuGIO.FileCopyFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, progressCallback: (currentNumBytes: number | bigint, totalNumBytes: number | bigint) => void | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
moveFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
openReadwrite(cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileIOStream;
|
|||
|
openReadwriteAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
openReadwriteFinish(res: AuGIO.AsyncResult): AuGIO.FileIOStream;
|
|||
|
peekPath(): string;
|
|||
|
pollMountable(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
pollMountableFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
queryDefaultHandler(cancellable: AuGIO.Cancellable | undefined | null): AuGIO.AppInfo;
|
|||
|
queryDefaultHandlerAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
queryDefaultHandlerFinish(result: AuGIO.AsyncResult): AuGIO.AppInfo;
|
|||
|
queryExists(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
queryFileType(flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileType;
|
|||
|
queryFilesystemInfo(attributes: string, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileInfo;
|
|||
|
queryFilesystemInfoAsync(attributes: string, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
queryFilesystemInfoFinish(res: AuGIO.AsyncResult): AuGIO.FileInfo;
|
|||
|
queryInfo(attributes: string, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileInfo;
|
|||
|
queryInfoAsync(attributes: string, flags: AuGIO.FileQueryInfoFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
queryInfoFinish(res: AuGIO.AsyncResult): AuGIO.FileInfo;
|
|||
|
querySettableAttributes(cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileAttributeInfoList;
|
|||
|
queryWritableNamespaces(cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileAttributeInfoList;
|
|||
|
read(cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileInputStream;
|
|||
|
readAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
readFinish(res: AuGIO.AsyncResult): AuGIO.FileInputStream;
|
|||
|
replace(etag: string | undefined | null, makeBackup: boolean, flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileOutputStream;
|
|||
|
replaceAsync(etag: string | undefined | null, makeBackup: boolean, flags: AuGIO.FileCreateFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
replaceContents(contents: number[], length: number | bigint, etag: string | undefined | null, makeBackup: boolean, flags: AuGIO.FileCreateFlags, newEtag ?: string | undefined | null, cancellable ?: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
replaceContentsAsync(contents: number[], length: number | bigint, etag: string | undefined | null, makeBackup: boolean, flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
replaceContentsBytesAsync(contents: AuGlibEx.Bytes, etag: string | undefined | null, makeBackup: boolean, flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
replaceContentsFinish(res: AuGIO.AsyncResult, newEtag ?: string | undefined | null): boolean;
|
|||
|
replaceFinish(res: AuGIO.AsyncResult): AuGIO.FileOutputStream;
|
|||
|
replaceReadwrite(etag: string | undefined | null, makeBackup: boolean, flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileIOStream;
|
|||
|
replaceReadwriteAsync(etag: string | undefined | null, makeBackup: boolean, flags: AuGIO.FileCreateFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
replaceReadwriteFinish(res: AuGIO.AsyncResult): AuGIO.FileIOStream;
|
|||
|
resolveRelativePath(relativePath: string): AuGIO.File;
|
|||
|
setAttribute(attribute: string, type: AuGIO.FileAttributeType, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
setAttributeByteString(attribute: string, value: string, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
setAttributeInt32(attribute: string, value: number, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
setAttributeInt64(attribute: string, value: number | bigint, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
setAttributeString(attribute: string, value: string, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
setAttributeUint32(attribute: string, value: number, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
setAttributeUint64(attribute: string, value: number | bigint, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
setAttributesAsync(info: AuGIO.FileInfo, flags: AuGIO.FileQueryInfoFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
setAttributesFinish(result: AuGIO.AsyncResult, info: AuGIO.FileInfo): boolean;
|
|||
|
setAttributesFromInfo(info: AuGIO.FileInfo, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
setDisplayName(displayName: string, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.File;
|
|||
|
setDisplayNameAsync(displayName: string, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
setDisplayNameFinish(res: AuGIO.AsyncResult): AuGIO.File;
|
|||
|
startMountable(flags: AuGIO.DriveStartFlags, startOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
startMountableFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
stopMountable(flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
stopMountableFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
supportsThreadContexts(): boolean;
|
|||
|
trash(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
trashAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
trashFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
unmountMountable(flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
unmountMountableFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
unmountMountableWithOperation(flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
unmountMountableWithOperationFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class Icon {
|
|||
|
static Deserialize(value: AuGlibEx.Variant): AuGIO.Icon;
|
|||
|
static Hash(): number;
|
|||
|
static NewForString(str: string): AuGIO.Icon;
|
|||
|
equal(icon2: AuGIO.Icon | undefined | null): boolean;
|
|||
|
serialize(): AuGlibEx.Variant;
|
|||
|
}
|
|||
|
|
|||
|
class Initable {
|
|||
|
static Newv(objectType: number, nParameters: number, parameters: GObject.Parameter[], cancellable: AuGIO.Cancellable | undefined | null): GObject.Object;
|
|||
|
init(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class ListModel {
|
|||
|
getItemType(): number;
|
|||
|
getNItems(): number;
|
|||
|
getItem(position: number): GObject.Object;
|
|||
|
itemsChanged(position: number, removed: number, added: number): void;
|
|||
|
}
|
|||
|
|
|||
|
class LoadableIcon {
|
|||
|
load(size: number, type ?: string, cancellable ?: AuGIO.Cancellable | undefined | null): AuGIO.InputStream;
|
|||
|
loadAsync(size: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
loadFinish(res: AuGIO.AsyncResult, type ?: string): AuGIO.InputStream;
|
|||
|
}
|
|||
|
|
|||
|
class MemoryMonitor {
|
|||
|
static DupDefault(): AuGIO.MemoryMonitor;
|
|||
|
}
|
|||
|
|
|||
|
class Mount {
|
|||
|
canEject(): boolean;
|
|||
|
canUnmount(): boolean;
|
|||
|
eject(flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
ejectFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
ejectWithOperation(flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
ejectWithOperationFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
getDefaultLocation(): AuGIO.File;
|
|||
|
getDrive(): AuGIO.Drive;
|
|||
|
getIcon(): AuGIO.Icon;
|
|||
|
getName(): string;
|
|||
|
getRoot(): AuGIO.File;
|
|||
|
getSortKey(): string;
|
|||
|
getSymbolicIcon(): AuGIO.Icon;
|
|||
|
getUuid(): string;
|
|||
|
getVolume(): AuGIO.Volume;
|
|||
|
guessContentType(forceRescan: boolean, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
guessContentTypeFinish(result: AuGIO.AsyncResult): string[];
|
|||
|
guessContentTypeSync(forceRescan: boolean, cancellable: AuGIO.Cancellable | undefined | null): string[];
|
|||
|
isShadowed(): boolean;
|
|||
|
remount(flags: AuGIO.MountMountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
remountFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
shadow(): void;
|
|||
|
unmount(flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
unmountFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
unmountWithOperation(flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
unmountWithOperationFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
unshadow(): void;
|
|||
|
}
|
|||
|
|
|||
|
class NetworkMonitor {
|
|||
|
connectivity : AuGIO.NetworkConnectivity;
|
|||
|
networkAvailable : boolean;
|
|||
|
networkMetered : boolean;
|
|||
|
|
|||
|
static GetDefault(): AuGIO.NetworkMonitor;
|
|||
|
canReach(connectable: AuGIO.SocketConnectable, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
canReachAsync(connectable: AuGIO.SocketConnectable, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
canReachFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
getConnectivity(): AuGIO.NetworkConnectivity;
|
|||
|
getNetworkAvailable(): boolean;
|
|||
|
getNetworkMetered(): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class PollableInputStream {
|
|||
|
canPoll(): boolean;
|
|||
|
createSource(cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Source;
|
|||
|
isReadable(): boolean;
|
|||
|
readNonblocking(buffer: number[], count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint;
|
|||
|
}
|
|||
|
|
|||
|
class PollableOutputStream {
|
|||
|
canPoll(): boolean;
|
|||
|
createSource(cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Source;
|
|||
|
isWritable(): boolean;
|
|||
|
writeNonblocking(buffer: number[], count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint;
|
|||
|
writevNonblocking(vectors: AuGIO.OutputVector[], nVectors: number | bigint, bytesWritten ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): AuGIO.PollableReturn;
|
|||
|
}
|
|||
|
|
|||
|
class PowerProfileMonitor {
|
|||
|
powerSaverEnabled : boolean;
|
|||
|
|
|||
|
static DupDefault(): AuGIO.PowerProfileMonitor;
|
|||
|
getPowerSaverEnabled(): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class Proxy {
|
|||
|
static GetDefaultForProtocol(protocol: string): AuGIO.Proxy;
|
|||
|
connect(connection: AuGIO.IOStream, proxyAddress: AuGIO.ProxyAddress, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.IOStream;
|
|||
|
connectAsync(connection: AuGIO.IOStream, proxyAddress: AuGIO.ProxyAddress, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
connectFinish(result: AuGIO.AsyncResult): AuGIO.IOStream;
|
|||
|
supportsHostname(): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class ProxyResolver {
|
|||
|
static GetDefault(): AuGIO.ProxyResolver;
|
|||
|
isSupported(): boolean;
|
|||
|
lookup(uri: string, cancellable: AuGIO.Cancellable | undefined | null): string[];
|
|||
|
lookupAsync(uri: string, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
lookupFinish(result: AuGIO.AsyncResult): string[];
|
|||
|
}
|
|||
|
|
|||
|
class RemoteActionGroup {
|
|||
|
activateActionFull(actionName: string, parameter: AuGlibEx.Variant | undefined | null, platformData: AuGlibEx.Variant): void;
|
|||
|
changeActionStateFull(actionName: string, value: AuGlibEx.Variant, platformData: AuGlibEx.Variant): void;
|
|||
|
}
|
|||
|
|
|||
|
class Seekable {
|
|||
|
canSeek(): boolean;
|
|||
|
canTruncate(): boolean;
|
|||
|
seek(offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
tell(): number | bigint;
|
|||
|
truncate(offset: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class SocketConnectable {
|
|||
|
enumerate(): AuGIO.SocketAddressEnumerator;
|
|||
|
proxyEnumerate(): AuGIO.SocketAddressEnumerator;
|
|||
|
}
|
|||
|
|
|||
|
class TlsBackend {
|
|||
|
static GetDefault(): AuGIO.TlsBackend;
|
|||
|
getCertificateType(): number;
|
|||
|
getClientConnectionType(): number;
|
|||
|
getDefaultDatabase(): AuGIO.TlsDatabase;
|
|||
|
getDtlsClientConnectionType(): number;
|
|||
|
getDtlsServerConnectionType(): number;
|
|||
|
getFileDatabaseType(): number;
|
|||
|
getServerConnectionType(): number;
|
|||
|
setDefaultDatabase(database: AuGIO.TlsDatabase | undefined | null): void;
|
|||
|
supportsDtls(): boolean;
|
|||
|
supportsTls(): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class TlsClientConnection {
|
|||
|
useSsl3 : boolean;
|
|||
|
|
|||
|
static New(baseIoStream: AuGIO.IOStream, serverIdentity: AuGIO.SocketConnectable | undefined | null): AuGIO.TlsClientConnection;
|
|||
|
copySessionState(source: AuGIO.TlsClientConnection): void;
|
|||
|
getAcceptedCas(): number[][];
|
|||
|
getServerIdentity(): AuGIO.SocketConnectable;
|
|||
|
getUseSsl3(): boolean;
|
|||
|
getValidationFlags(): AuGIO.TlsCertificateFlags;
|
|||
|
setServerIdentity(identity: AuGIO.SocketConnectable): void;
|
|||
|
setUseSsl3(useSsl3: boolean): void;
|
|||
|
setValidationFlags(flags: AuGIO.TlsCertificateFlags): void;
|
|||
|
}
|
|||
|
|
|||
|
class TlsFileDatabase {
|
|||
|
anchors : string;
|
|||
|
|
|||
|
static New(anchors: string): AuGIO.TlsFileDatabase;
|
|||
|
}
|
|||
|
|
|||
|
class TlsServerConnection {
|
|||
|
|
|||
|
static New(baseIoStream: AuGIO.IOStream, certificate: AuGIO.TlsCertificate | undefined | null): AuGIO.TlsServerConnection;
|
|||
|
}
|
|||
|
|
|||
|
class Volume {
|
|||
|
canEject(): boolean;
|
|||
|
canMount(): boolean;
|
|||
|
eject(flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
ejectFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
ejectWithOperation(flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
ejectWithOperationFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
enumerateIdentifiers(): string[];
|
|||
|
getActivationRoot(): AuGIO.File;
|
|||
|
getDrive(): AuGIO.Drive;
|
|||
|
getIcon(): AuGIO.Icon;
|
|||
|
getIdentifier(kind: string): string;
|
|||
|
getMount(): AuGIO.Mount;
|
|||
|
getName(): string;
|
|||
|
getSortKey(): string;
|
|||
|
getSymbolicIcon(): AuGIO.Icon;
|
|||
|
getUuid(): string;
|
|||
|
mount(flags: AuGIO.MountMountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
mountFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
shouldAutomount(): boolean;
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
class ActionEntry {
|
|||
|
name : string;
|
|||
|
activate : (action: AuGIO.SimpleAction, parameter: AuGlibEx.Variant) => void;
|
|||
|
parameterType : string;
|
|||
|
state : string;
|
|||
|
changeState : (action: AuGIO.SimpleAction, value: AuGlibEx.Variant) => void;
|
|||
|
padding : number | bigint[];
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class ActionGroupInterface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
hasAction : (actionGroup: AuGIO.ActionGroup, actionName: string) => boolean;
|
|||
|
listActions : (actionGroup: AuGIO.ActionGroup) => string[];
|
|||
|
getActionEnabled : (actionGroup: AuGIO.ActionGroup, actionName: string) => boolean;
|
|||
|
getActionParameterType : (actionGroup: AuGIO.ActionGroup, actionName: string) => AuGlibEx.VariantType;
|
|||
|
getActionStateType : (actionGroup: AuGIO.ActionGroup, actionName: string) => AuGlibEx.VariantType;
|
|||
|
getActionStateHint : (actionGroup: AuGIO.ActionGroup, actionName: string) => AuGlibEx.Variant;
|
|||
|
getActionState : (actionGroup: AuGIO.ActionGroup, actionName: string) => AuGlibEx.Variant;
|
|||
|
changeActionState : (actionGroup: AuGIO.ActionGroup, actionName: string, value: AuGlibEx.Variant) => void;
|
|||
|
activateAction : (actionGroup: AuGIO.ActionGroup, actionName: string, parameter: AuGlibEx.Variant | undefined | null) => void;
|
|||
|
actionAdded : (actionGroup: AuGIO.ActionGroup, actionName: string) => void;
|
|||
|
actionRemoved : (actionGroup: AuGIO.ActionGroup, actionName: string) => void;
|
|||
|
actionEnabledChanged : (actionGroup: AuGIO.ActionGroup, actionName: string, enabled: boolean) => void;
|
|||
|
actionStateChanged : (actionGroup: AuGIO.ActionGroup, actionName: string, state: AuGlibEx.Variant) => void;
|
|||
|
queryAction : (actionGroup: AuGIO.ActionGroup, actionName: string, enabled: boolean, parameterType ?: AuGlibEx.VariantType, stateType ?: AuGlibEx.VariantType, stateHint ?: AuGlibEx.Variant, state ?: AuGlibEx.Variant) => boolean;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class ActionInterface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
getName : (action: AuGIO.Action) => string;
|
|||
|
getParameterType : (action: AuGIO.Action) => AuGlibEx.VariantType;
|
|||
|
getStateType : (action: AuGIO.Action) => AuGlibEx.VariantType;
|
|||
|
getStateHint : (action: AuGIO.Action) => AuGlibEx.Variant;
|
|||
|
getEnabled : (action: AuGIO.Action) => boolean;
|
|||
|
getState : (action: AuGIO.Action) => AuGlibEx.Variant;
|
|||
|
changeState : (action: AuGIO.Action, value: AuGlibEx.Variant) => void;
|
|||
|
activate : (action: AuGIO.Action, parameter: AuGlibEx.Variant | undefined | null) => void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class ActionMapInterface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
lookupAction : (actionMap: AuGIO.ActionMap, actionName: string) => AuGIO.Action;
|
|||
|
addAction : (actionMap: AuGIO.ActionMap, action: AuGIO.Action) => void;
|
|||
|
removeAction : (actionMap: AuGIO.ActionMap, actionName: string) => void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class AppInfoIface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
dup : (appinfo: AuGIO.AppInfo) => AuGIO.AppInfo;
|
|||
|
equal : (appinfo1: AuGIO.AppInfo, appinfo2: AuGIO.AppInfo) => boolean;
|
|||
|
getId : (appinfo: AuGIO.AppInfo) => string;
|
|||
|
getName : (appinfo: AuGIO.AppInfo) => string;
|
|||
|
getDescription : (appinfo: AuGIO.AppInfo) => string;
|
|||
|
getExecutable : (appinfo: AuGIO.AppInfo) => string;
|
|||
|
getIcon : (appinfo: AuGIO.AppInfo) => AuGIO.Icon;
|
|||
|
launch : (appinfo: AuGIO.AppInfo, files: AuGIO.File[] | undefined | null, context: AuGIO.AppLaunchContext | undefined | null) => boolean;
|
|||
|
supportsUris : (appinfo: AuGIO.AppInfo) => boolean;
|
|||
|
supportsFiles : (appinfo: AuGIO.AppInfo) => boolean;
|
|||
|
launchUris : (appinfo: AuGIO.AppInfo, uris: string[] | undefined | null, context: AuGIO.AppLaunchContext | undefined | null) => boolean;
|
|||
|
shouldShow : (appinfo: AuGIO.AppInfo) => boolean;
|
|||
|
setAsDefaultForType : (appinfo: AuGIO.AppInfo, contentType: string) => boolean;
|
|||
|
setAsDefaultForExtension : (appinfo: AuGIO.AppInfo, extension: string) => boolean;
|
|||
|
addSupportsType : (appinfo: AuGIO.AppInfo, contentType: string) => boolean;
|
|||
|
canRemoveSupportsType : (appinfo: AuGIO.AppInfo) => boolean;
|
|||
|
removeSupportsType : (appinfo: AuGIO.AppInfo, contentType: string) => boolean;
|
|||
|
canDelete : (appinfo: AuGIO.AppInfo) => boolean;
|
|||
|
doDelete : (appinfo: AuGIO.AppInfo) => boolean;
|
|||
|
getCommandline : (appinfo: AuGIO.AppInfo) => string;
|
|||
|
getDisplayName : (appinfo: AuGIO.AppInfo) => string;
|
|||
|
setAsLastUsedForType : (appinfo: AuGIO.AppInfo, contentType: string) => boolean;
|
|||
|
getSupportedTypes : (appinfo: AuGIO.AppInfo) => string[];
|
|||
|
launchUrisAsync : (appinfo: AuGIO.AppInfo, uris: string[] | undefined | null, context: AuGIO.AppLaunchContext | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
launchUrisFinish : (appinfo: AuGIO.AppInfo, result: AuGIO.AsyncResult) => boolean;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class AppLaunchContextClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
getDisplay : (context: AuGIO.AppLaunchContext, info: AuGIO.AppInfo, files: AuGIO.File[]) => string;
|
|||
|
getStartupNotifyId : (context: AuGIO.AppLaunchContext, info: AuGIO.AppInfo, files: AuGIO.File[]) => string;
|
|||
|
launchFailed : (context: AuGIO.AppLaunchContext, startupNotifyId: string) => void;
|
|||
|
launched : (context: AuGIO.AppLaunchContext, info: AuGIO.AppInfo, platformData: AuGlibEx.Variant) => void;
|
|||
|
launchStarted : (context: AuGIO.AppLaunchContext, info: AuGIO.AppInfo, platformData: AuGlibEx.Variant) => void;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class AppLaunchContextPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class ApplicationClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
startup : (application: AuGIO.Application) => void;
|
|||
|
activate : (application: AuGIO.Application) => void;
|
|||
|
open : (application: AuGIO.Application, files: AuGIO.File[], nFiles: number, hint: string) => void;
|
|||
|
commandLine : (application: AuGIO.Application, commandLine: AuGIO.ApplicationCommandLine) => number;
|
|||
|
localCommandLine : (application: AuGIO.Application, arguments: string[], exitStatus: number) => boolean;
|
|||
|
beforeEmit : (application: AuGIO.Application, platformData: AuGlibEx.Variant) => void;
|
|||
|
afterEmit : (application: AuGIO.Application, platformData: AuGlibEx.Variant) => void;
|
|||
|
addPlatformData : (application: AuGIO.Application, builder: AuGlibEx.VariantBuilder) => void;
|
|||
|
quitMainloop : (application: AuGIO.Application) => void;
|
|||
|
runMainloop : (application: AuGIO.Application) => void;
|
|||
|
shutdown : (application: AuGIO.Application) => void;
|
|||
|
dbusRegister : (application: AuGIO.Application, connection: AuGIO.DBusConnection, objectPath: string) => boolean;
|
|||
|
dbusUnregister : (application: AuGIO.Application, connection: AuGIO.DBusConnection, objectPath: string) => void;
|
|||
|
handleLocalOptions : (application: AuGIO.Application, options: AuGlibEx.VariantDict) => number;
|
|||
|
nameLost : (application: AuGIO.Application) => boolean;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class ApplicationCommandLineClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
printLiteral : (cmdline: AuGIO.ApplicationCommandLine, message: string) => void;
|
|||
|
printerrLiteral : (cmdline: AuGIO.ApplicationCommandLine, message: string) => void;
|
|||
|
getStdin : (cmdline: AuGIO.ApplicationCommandLine) => AuGIO.InputStream;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class ApplicationCommandLinePrivate {
|
|||
|
}
|
|||
|
|
|||
|
class ApplicationPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class AsyncInitableIface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
initAsync : (initable: AuGIO.AsyncInitable, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
initFinish : (initable: AuGIO.AsyncInitable, res: AuGIO.AsyncResult) => boolean;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class AsyncResultIface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
getUserData : (res: AuGIO.AsyncResult) => void;
|
|||
|
getSourceObject : (res: AuGIO.AsyncResult) => GObject.Object;
|
|||
|
isTagged : (res: AuGIO.AsyncResult) => boolean;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class BufferedInputStreamClass {
|
|||
|
parentClass : AuGIO.FilterInputStreamClass;
|
|||
|
fill : (stream: AuGIO.BufferedInputStream, count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null) => number | bigint;
|
|||
|
fillAsync : (stream: AuGIO.BufferedInputStream, count: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
fillFinish : (stream: AuGIO.BufferedInputStream, result: AuGIO.AsyncResult) => number | bigint;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class BufferedInputStreamPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class BufferedOutputStreamClass {
|
|||
|
parentClass : AuGIO.FilterOutputStreamClass;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class BufferedOutputStreamPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class CancellableClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
cancelled : (cancellable: AuGIO.Cancellable | undefined | null) => void;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class CancellablePrivate {
|
|||
|
}
|
|||
|
|
|||
|
class CharsetConverterClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class ConverterIface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
convert : (converter: AuGIO.Converter, inbuf: number[] | undefined | null, inbufSize: number | bigint, outbuf: number[] | undefined | null, outbufSize: number | bigint, flags: AuGIO.ConverterFlags, bytesRead: number | bigint, bytesWritten: number | bigint) => AuGIO.ConverterResult;
|
|||
|
reset : (converter: AuGIO.Converter) => void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class ConverterInputStreamClass {
|
|||
|
parentClass : AuGIO.FilterInputStreamClass;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class ConverterInputStreamPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class ConverterOutputStreamClass {
|
|||
|
parentClass : AuGIO.FilterOutputStreamClass;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class ConverterOutputStreamPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class CredentialsClass {
|
|||
|
}
|
|||
|
|
|||
|
class DBusAnnotationInfo {
|
|||
|
refCount : number;
|
|||
|
key : string;
|
|||
|
value : string;
|
|||
|
annotations : AuGIO.DBusAnnotationInfo[];
|
|||
|
|
|||
|
ref(): AuGIO.DBusAnnotationInfo;
|
|||
|
unref(): void;
|
|||
|
static Lookup(annotations: AuGIO.DBusAnnotationInfo[] | undefined | null, name: string): string;
|
|||
|
}
|
|||
|
|
|||
|
class DBusArgInfo {
|
|||
|
refCount : number;
|
|||
|
name : string;
|
|||
|
signature : string;
|
|||
|
annotations : AuGIO.DBusAnnotationInfo[];
|
|||
|
|
|||
|
ref(): AuGIO.DBusArgInfo;
|
|||
|
unref(): void;
|
|||
|
}
|
|||
|
|
|||
|
class DBusErrorEntry {
|
|||
|
errorCode : number;
|
|||
|
dbusErrorName : string;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class DBusInterfaceIface {
|
|||
|
parentIface : GObject.TypeInterface;
|
|||
|
getInfo : (interface: AuGIO.DBusInterface) => AuGIO.DBusInterfaceInfo;
|
|||
|
getObject : (interface: AuGIO.DBusInterface) => AuGIO.DBusObject;
|
|||
|
setObject : (interface: AuGIO.DBusInterface, object: AuGIO.DBusObject | undefined | null) => void;
|
|||
|
dupObject : (interface: AuGIO.DBusInterface) => AuGIO.DBusObject;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class DBusInterfaceInfo {
|
|||
|
refCount : number;
|
|||
|
name : string;
|
|||
|
methods : AuGIO.DBusMethodInfo[];
|
|||
|
signals : AuGIO.DBusSignalInfo[];
|
|||
|
properties : AuGIO.DBusPropertyInfo[];
|
|||
|
annotations : AuGIO.DBusAnnotationInfo[];
|
|||
|
|
|||
|
cacheBuild(): void;
|
|||
|
cacheRelease(): void;
|
|||
|
generateXMl(indent: number, stringBuilder: AuGlibEx.String): void;
|
|||
|
lookupMethod(name: string): AuGIO.DBusMethodInfo;
|
|||
|
lookupProperty(name: string): AuGIO.DBusPropertyInfo;
|
|||
|
lookupSignal(name: string): AuGIO.DBusSignalInfo;
|
|||
|
ref(): AuGIO.DBusInterfaceInfo;
|
|||
|
unref(): void;
|
|||
|
}
|
|||
|
|
|||
|
class DBusInterfaceSkeletonClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
getInfo : (interface: AuGIO.DBusInterfaceSkeleton) => AuGIO.DBusInterfaceInfo;
|
|||
|
getVtable : void;
|
|||
|
getProperties : (interface: AuGIO.DBusInterfaceSkeleton) => AuGlibEx.Variant;
|
|||
|
flush : (interface: AuGIO.DBusInterfaceSkeleton) => void;
|
|||
|
gAuthorizeMethod : (interface: AuGIO.DBusInterfaceSkeleton, invocation: AuGIO.DBusMethodInvocation) => boolean;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class DBusInterfaceSkeletonPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class DBusInterfaceVTable {
|
|||
|
methodCall : (connection: AuGIO.DBusConnection, sender: string, objectPath: string, interfaceName: string, methodName: string, parameters: AuGlibEx.Variant, invocation: AuGIO.DBusMethodInvocation) => void;
|
|||
|
getProperty : (connection: AuGIO.DBusConnection, sender: string, objectPath: string, interfaceName: string, propertyName: string, error: AuGlibEx.Error) => AuGlibEx.Variant;
|
|||
|
setProperty : (connection: AuGIO.DBusConnection, sender: string, objectPath: string, interfaceName: string, propertyName: string, value: AuGlibEx.Variant, error: AuGlibEx.Error) => boolean;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class DBusMethodInfo {
|
|||
|
refCount : number;
|
|||
|
name : string;
|
|||
|
inArgs : AuGIO.DBusArgInfo[];
|
|||
|
outArgs : AuGIO.DBusArgInfo[];
|
|||
|
annotations : AuGIO.DBusAnnotationInfo[];
|
|||
|
|
|||
|
ref(): AuGIO.DBusMethodInfo;
|
|||
|
unref(): void;
|
|||
|
}
|
|||
|
|
|||
|
class DBusNodeInfo {
|
|||
|
refCount : number;
|
|||
|
path : string;
|
|||
|
interfaces : AuGIO.DBusInterfaceInfo[];
|
|||
|
nodes : AuGIO.DBusNodeInfo[];
|
|||
|
annotations : AuGIO.DBusAnnotationInfo[];
|
|||
|
|
|||
|
static NewForXMl(XMlData: string): AuGIO.DBusNodeInfo;
|
|||
|
generateXMl(indent: number, stringBuilder: AuGlibEx.String): void;
|
|||
|
lookupInterface(name: string): AuGIO.DBusInterfaceInfo;
|
|||
|
ref(): AuGIO.DBusNodeInfo;
|
|||
|
unref(): void;
|
|||
|
}
|
|||
|
|
|||
|
class DBusObjectIface {
|
|||
|
parentIface : GObject.TypeInterface;
|
|||
|
getObjectPath : (object: AuGIO.DBusObject) => string;
|
|||
|
getInterfaces : (object: AuGIO.DBusObject) => AuGIO.DBusInterface[];
|
|||
|
getInterface : (object: AuGIO.DBusObject, interfaceName: string) => AuGIO.DBusInterface;
|
|||
|
interfaceAdded : (object: AuGIO.DBusObject, interface: AuGIO.DBusInterface) => void;
|
|||
|
interfaceRemoved : (object: AuGIO.DBusObject, interface: AuGIO.DBusInterface) => void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class DBusObjectManagerClientClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
interfaceProxySignal : (manager: AuGIO.DBusObjectManagerClient, objectProxy: AuGIO.DBusObjectProxy, interfaceProxy: AuGIO.DBusProxy, senderName: string, signalName: string, parameters: AuGlibEx.Variant) => void;
|
|||
|
interfaceProxyPropertiesChanged : (manager: AuGIO.DBusObjectManagerClient, objectProxy: AuGIO.DBusObjectProxy, interfaceProxy: AuGIO.DBusProxy, changedProperties: AuGlibEx.Variant, invalidatedProperties: string) => void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class DBusObjectManagerClientPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class DBusObjectManagerIface {
|
|||
|
parentIface : GObject.TypeInterface;
|
|||
|
getObjectPath : (manager: AuGIO.DBusObjectManager) => string;
|
|||
|
getObjects : (manager: AuGIO.DBusObjectManager) => AuGIO.DBusObject[];
|
|||
|
getObject : (manager: AuGIO.DBusObjectManager, objectPath: string) => AuGIO.DBusObject;
|
|||
|
getInterface : (manager: AuGIO.DBusObjectManager, objectPath: string, interfaceName: string) => AuGIO.DBusInterface;
|
|||
|
objectAdded : (manager: AuGIO.DBusObjectManager, object: AuGIO.DBusObject) => void;
|
|||
|
objectRemoved : (manager: AuGIO.DBusObjectManager, object: AuGIO.DBusObject) => void;
|
|||
|
interfaceAdded : (manager: AuGIO.DBusObjectManager, object: AuGIO.DBusObject, interface: AuGIO.DBusInterface) => void;
|
|||
|
interfaceRemoved : (manager: AuGIO.DBusObjectManager, object: AuGIO.DBusObject, interface: AuGIO.DBusInterface) => void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class DBusObjectManagerServerClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class DBusObjectManagerServerPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class DBusObjectProxyClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class DBusObjectProxyPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class DBusObjectSkeletonClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
authorizeMethod : (object: AuGIO.DBusObjectSkeleton, interface: AuGIO.DBusInterfaceSkeleton, invocation: AuGIO.DBusMethodInvocation) => boolean;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class DBusObjectSkeletonPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class DBusPropertyInfo {
|
|||
|
refCount : number;
|
|||
|
name : string;
|
|||
|
signature : string;
|
|||
|
flags : AuGIO.DBusPropertyInfoFlags;
|
|||
|
annotations : AuGIO.DBusAnnotationInfo[];
|
|||
|
|
|||
|
ref(): AuGIO.DBusPropertyInfo;
|
|||
|
unref(): void;
|
|||
|
}
|
|||
|
|
|||
|
class DBusProxyClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
gPropertiesChanged : (proxy: AuGIO.DBusProxy, changedProperties: AuGlibEx.Variant, invalidatedProperties: string) => void;
|
|||
|
gSignal : (proxy: AuGIO.DBusProxy, senderName: string, signalName: string, parameters: AuGlibEx.Variant) => void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class DBusProxyPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class DBusSignalInfo {
|
|||
|
refCount : number;
|
|||
|
name : string;
|
|||
|
args : AuGIO.DBusArgInfo[];
|
|||
|
annotations : AuGIO.DBusAnnotationInfo[];
|
|||
|
|
|||
|
ref(): AuGIO.DBusSignalInfo;
|
|||
|
unref(): void;
|
|||
|
}
|
|||
|
|
|||
|
class DBusSubtreeVTable {
|
|||
|
enumerate : (connection: AuGIO.DBusConnection, sender: string, objectPath: string) => string[];
|
|||
|
introspect : (connection: AuGIO.DBusConnection, sender: string, objectPath: string, node: string) => AuGIO.DBusInterfaceInfo[];
|
|||
|
dispatch : (connection: AuGIO.DBusConnection, sender: string, objectPath: string, interfaceName: string, node: string) => AuGIO.DBusInterfaceVTable;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class DataInputStreamClass {
|
|||
|
parentClass : AuGIO.BufferedInputStreamClass;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class DataInputStreamPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class DataOutputStreamClass {
|
|||
|
parentClass : AuGIO.FilterOutputStreamClass;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class DataOutputStreamPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class DatagramBasedInterface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
receiveMessages : (datagramBased: AuGIO.DatagramBased, messages: AuGIO.InputMessage[], numMessages: number, flags: number, timeout: number | bigint, cancellable: AuGIO.Cancellable | undefined | null) => number;
|
|||
|
sendMessages : (datagramBased: AuGIO.DatagramBased, messages: AuGIO.OutputMessage[], numMessages: number, flags: number, timeout: number | bigint, cancellable: AuGIO.Cancellable | undefined | null) => number;
|
|||
|
createSource : (datagramBased: AuGIO.DatagramBased, condition: AuGlibEx.IOCondition, cancellable: AuGIO.Cancellable | undefined | null) => AuGlibEx.Source;
|
|||
|
conditionCheck : (datagramBased: AuGIO.DatagramBased, condition: AuGlibEx.IOCondition) => AuGlibEx.IOCondition;
|
|||
|
conditionWait : (datagramBased: AuGIO.DatagramBased, condition: AuGlibEx.IOCondition, timeout: number | bigint, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class DebugControllerDBusClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
authorize : (controller: AuGIO.DebugControllerDBus, invocation: AuGIO.DBusMethodInvocation) => boolean;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class DebugControllerInterface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class DriveIface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
changed : (drive: AuGIO.Drive) => void;
|
|||
|
disconnected : (drive: AuGIO.Drive) => void;
|
|||
|
ejectButton : (drive: AuGIO.Drive) => void;
|
|||
|
getName : (drive: AuGIO.Drive) => string;
|
|||
|
getIcon : (drive: AuGIO.Drive) => AuGIO.Icon;
|
|||
|
hasVolumes : (drive: AuGIO.Drive) => boolean;
|
|||
|
getVolumes : (drive: AuGIO.Drive) => AuGIO.Volume[];
|
|||
|
isMediaRemovable : (drive: AuGIO.Drive) => boolean;
|
|||
|
hasMedia : (drive: AuGIO.Drive) => boolean;
|
|||
|
isMediaCheckAutomatic : (drive: AuGIO.Drive) => boolean;
|
|||
|
canEject : (drive: AuGIO.Drive) => boolean;
|
|||
|
canPollForMedia : (drive: AuGIO.Drive) => boolean;
|
|||
|
eject : (drive: AuGIO.Drive, flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
ejectFinish : (drive: AuGIO.Drive, result: AuGIO.AsyncResult) => boolean;
|
|||
|
pollForMedia : (drive: AuGIO.Drive, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
pollForMediaFinish : (drive: AuGIO.Drive, result: AuGIO.AsyncResult) => boolean;
|
|||
|
getIdentifier : (drive: AuGIO.Drive, kind: string) => string;
|
|||
|
enumerateIdentifiers : (drive: AuGIO.Drive) => string[];
|
|||
|
getStartStopType : (drive: AuGIO.Drive) => AuGIO.DriveStartStopType;
|
|||
|
canStart : (drive: AuGIO.Drive) => boolean;
|
|||
|
canStartDegraded : (drive: AuGIO.Drive) => boolean;
|
|||
|
start : (drive: AuGIO.Drive, flags: AuGIO.DriveStartFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
startFinish : (drive: AuGIO.Drive, result: AuGIO.AsyncResult) => boolean;
|
|||
|
canStop : (drive: AuGIO.Drive) => boolean;
|
|||
|
stop : (drive: AuGIO.Drive, flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
stopFinish : (drive: AuGIO.Drive, result: AuGIO.AsyncResult) => boolean;
|
|||
|
stopButton : (drive: AuGIO.Drive) => void;
|
|||
|
ejectWithOperation : (drive: AuGIO.Drive, flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
ejectWithOperationFinish : (drive: AuGIO.Drive, result: AuGIO.AsyncResult) => boolean;
|
|||
|
getSortKey : (drive: AuGIO.Drive) => string;
|
|||
|
getSymbolicIcon : (drive: AuGIO.Drive) => AuGIO.Icon;
|
|||
|
isRemovable : (drive: AuGIO.Drive) => boolean;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class DtlsClientConnectionInterface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class DtlsConnectionInterface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
acceptCertificate : (connection: AuGIO.DtlsConnection, peerCert: AuGIO.TlsCertificate, errors: AuGIO.TlsCertificateFlags) => boolean;
|
|||
|
handshake : (conn: AuGIO.DtlsConnection, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
handshakeAsync : (conn: AuGIO.DtlsConnection, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
handshakeFinish : (conn: AuGIO.DtlsConnection, result: AuGIO.AsyncResult) => boolean;
|
|||
|
shutdown : (conn: AuGIO.DtlsConnection, shutdownRead: boolean, shutdownWrite: boolean, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
shutdownAsync : (conn: AuGIO.DtlsConnection, shutdownRead: boolean, shutdownWrite: boolean, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
shutdownFinish : (conn: AuGIO.DtlsConnection, result: AuGIO.AsyncResult) => boolean;
|
|||
|
setAdvertisedProtocols : (conn: AuGIO.DtlsConnection, protocols: string[] | undefined | null) => void;
|
|||
|
getNegotiatedProtocol : (conn: AuGIO.DtlsConnection) => string;
|
|||
|
getBindingData : (conn: AuGIO.DtlsConnection, type: AuGIO.TlsChannelBindingType, data: number[]) => boolean;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class DtlsServerConnectionInterface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class EmblemClass {
|
|||
|
}
|
|||
|
|
|||
|
class EmblemedIconClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class EmblemedIconPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class FileAttributeInfo {
|
|||
|
name : string;
|
|||
|
type : AuGIO.FileAttributeType;
|
|||
|
flags : AuGIO.FileAttributeInfoFlags;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class FileAttributeInfoList {
|
|||
|
infos : AuGIO.FileAttributeInfo;
|
|||
|
nInfos : number;
|
|||
|
|
|||
|
static New(): AuGIO.FileAttributeInfoList;
|
|||
|
add(name: string, type: AuGIO.FileAttributeType, flags: AuGIO.FileAttributeInfoFlags): void;
|
|||
|
dup(): AuGIO.FileAttributeInfoList;
|
|||
|
lookup(name: string): AuGIO.FileAttributeInfo;
|
|||
|
ref(): AuGIO.FileAttributeInfoList;
|
|||
|
unref(): void;
|
|||
|
}
|
|||
|
|
|||
|
class FileAttributeMatcher {
|
|||
|
static New(attributes: string): AuGIO.FileAttributeMatcher;
|
|||
|
enumerateNamespace(ns: string): boolean;
|
|||
|
enumerateNext(): string;
|
|||
|
matches(attribute: string): boolean;
|
|||
|
matchesOnly(attribute: string): boolean;
|
|||
|
ref(): AuGIO.FileAttributeMatcher;
|
|||
|
subtract(subtract: AuGIO.FileAttributeMatcher | undefined | null): AuGIO.FileAttributeMatcher;
|
|||
|
unref(): void;
|
|||
|
}
|
|||
|
|
|||
|
class FileDescriptorBased {
|
|||
|
}
|
|||
|
|
|||
|
class FileEnumeratorClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
nextFile : (enumerator: AuGIO.FileEnumerator, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileInfo;
|
|||
|
closeFn : (enumerator: AuGIO.FileEnumerator, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
nextFilesAsync : (enumerator: AuGIO.FileEnumerator, numFiles: number, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
nextFilesFinish : (enumerator: AuGIO.FileEnumerator, result: AuGIO.AsyncResult) => AuGIO.FileInfo[];
|
|||
|
closeAsync : (enumerator: AuGIO.FileEnumerator, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
closeFinish : (enumerator: AuGIO.FileEnumerator, result: AuGIO.AsyncResult) => boolean;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
gReserved6 : void;
|
|||
|
gReserved7 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class FileEnumeratorPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class FileIOStreamClass {
|
|||
|
parentClass : AuGIO.IOStreamClass;
|
|||
|
tell : (stream: AuGIO.FileIOStream) => number | bigint;
|
|||
|
canSeek : (stream: AuGIO.FileIOStream) => boolean;
|
|||
|
seek : (stream: AuGIO.FileIOStream, offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
canTruncate : (stream: AuGIO.FileIOStream) => boolean;
|
|||
|
truncateFn : (stream: AuGIO.FileIOStream, size: number | bigint, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
queryInfo : (stream: AuGIO.FileIOStream, attributes: string, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileInfo;
|
|||
|
queryInfoAsync : (stream: AuGIO.FileIOStream, attributes: string, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
queryInfoFinish : (stream: AuGIO.FileIOStream, result: AuGIO.AsyncResult) => AuGIO.FileInfo;
|
|||
|
getEtag : (stream: AuGIO.FileIOStream) => string;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class FileIOStreamPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class FileIconClass {
|
|||
|
}
|
|||
|
|
|||
|
class FileIface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
dup : (file: AuGIO.File) => AuGIO.File;
|
|||
|
hash : (file: AuGIO.File) => number;
|
|||
|
equal : (file1: AuGIO.File, file2: AuGIO.File) => boolean;
|
|||
|
isNative : (file: AuGIO.File) => boolean;
|
|||
|
hasUriScheme : (file: AuGIO.File, uriScheme: string) => boolean;
|
|||
|
getUriScheme : (file: AuGIO.File) => string;
|
|||
|
getBasename : (file: AuGIO.File) => string;
|
|||
|
getPath : (file: AuGIO.File) => string;
|
|||
|
getUri : (file: AuGIO.File) => string;
|
|||
|
getParseName : (file: AuGIO.File) => string;
|
|||
|
getParent : (file: AuGIO.File) => AuGIO.File;
|
|||
|
prefixMatches : (prefix: AuGIO.File, file: AuGIO.File) => boolean;
|
|||
|
getRelativePath : (parent: AuGIO.File, descendant: AuGIO.File) => string;
|
|||
|
resolveRelativePath : (file: AuGIO.File, relativePath: string) => AuGIO.File;
|
|||
|
getChildForDisplayName : (file: AuGIO.File, displayName: string) => AuGIO.File;
|
|||
|
enumerateChildren : (file: AuGIO.File, attributes: string, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileEnumerator;
|
|||
|
enumerateChildrenAsync : (file: AuGIO.File, attributes: string, flags: AuGIO.FileQueryInfoFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
enumerateChildrenFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.FileEnumerator;
|
|||
|
queryInfo : (file: AuGIO.File, attributes: string, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileInfo;
|
|||
|
queryInfoAsync : (file: AuGIO.File, attributes: string, flags: AuGIO.FileQueryInfoFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
queryInfoFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.FileInfo;
|
|||
|
queryFilesystemInfo : (file: AuGIO.File, attributes: string, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileInfo;
|
|||
|
queryFilesystemInfoAsync : (file: AuGIO.File, attributes: string, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
queryFilesystemInfoFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.FileInfo;
|
|||
|
findEnclosingMount : (file: AuGIO.File, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.Mount;
|
|||
|
findEnclosingMountAsync : (file: AuGIO.File, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
findEnclosingMountFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.Mount;
|
|||
|
setDisplayName : (file: AuGIO.File, displayName: string, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.File;
|
|||
|
setDisplayNameAsync : (file: AuGIO.File, displayName: string, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
setDisplayNameFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.File;
|
|||
|
querySettableAttributes : (file: AuGIO.File, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileAttributeInfoList;
|
|||
|
querySettableAttributesAsync : void;
|
|||
|
querySettableAttributesFinish : void;
|
|||
|
queryWritableNamespaces : (file: AuGIO.File, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileAttributeInfoList;
|
|||
|
queryWritableNamespacesAsync : void;
|
|||
|
queryWritableNamespacesFinish : void;
|
|||
|
setAttribute : (file: AuGIO.File, attribute: string, type: AuGIO.FileAttributeType, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
setAttributesFromInfo : (file: AuGIO.File, info: AuGIO.FileInfo, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
setAttributesAsync : (file: AuGIO.File, info: AuGIO.FileInfo, flags: AuGIO.FileQueryInfoFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
setAttributesFinish : (file: AuGIO.File, result: AuGIO.AsyncResult, info: AuGIO.FileInfo) => boolean;
|
|||
|
readFn : (file: AuGIO.File, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileInputStream;
|
|||
|
readAsync : (file: AuGIO.File, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
readFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.FileInputStream;
|
|||
|
appendTo : (file: AuGIO.File, flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileOutputStream;
|
|||
|
appendToAsync : (file: AuGIO.File, flags: AuGIO.FileCreateFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
appendToFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.FileOutputStream;
|
|||
|
create : (file: AuGIO.File, flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileOutputStream;
|
|||
|
createAsync : (file: AuGIO.File, flags: AuGIO.FileCreateFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
createFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.FileOutputStream;
|
|||
|
replace : (file: AuGIO.File, etag: string | undefined | null, makeBackup: boolean, flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileOutputStream;
|
|||
|
replaceAsync : (file: AuGIO.File, etag: string | undefined | null, makeBackup: boolean, flags: AuGIO.FileCreateFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
replaceFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.FileOutputStream;
|
|||
|
deleteFile : (file: AuGIO.File, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
deleteFileAsync : (file: AuGIO.File, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
deleteFileFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => boolean;
|
|||
|
trash : (file: AuGIO.File, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
trashAsync : (file: AuGIO.File, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
trashFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => boolean;
|
|||
|
makeDirectory : (file: AuGIO.File, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
makeDirectoryAsync : (file: AuGIO.File, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
makeDirectoryFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => boolean;
|
|||
|
makeSymbolicLink : (file: AuGIO.File, symlinkValue: string, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
makeSymbolicLinkAsync : void;
|
|||
|
makeSymbolicLinkFinish : void;
|
|||
|
copy : (source: AuGIO.File, destination: AuGIO.File, flags: AuGIO.FileCopyFlags, cancellable: AuGIO.Cancellable | undefined | null, progressCallback: (currentNumBytes: number | bigint, totalNumBytes: number | bigint) => void | undefined | null) => boolean;
|
|||
|
copyAsync : (source: AuGIO.File, destination: AuGIO.File, flags: AuGIO.FileCopyFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, progressCallback: (currentNumBytes: number | bigint, totalNumBytes: number | bigint) => void | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
copyFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => boolean;
|
|||
|
move : (source: AuGIO.File, destination: AuGIO.File, flags: AuGIO.FileCopyFlags, cancellable: AuGIO.Cancellable | undefined | null, progressCallback: (currentNumBytes: number | bigint, totalNumBytes: number | bigint) => void | undefined | null) => boolean;
|
|||
|
moveAsync : (source: AuGIO.File, destination: AuGIO.File, flags: AuGIO.FileCopyFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, progressCallback: (currentNumBytes: number | bigint, totalNumBytes: number | bigint) => void | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
moveFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => boolean;
|
|||
|
mountMountable : (file: AuGIO.File, flags: AuGIO.MountMountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
mountMountableFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => AuGIO.File;
|
|||
|
unmountMountable : (file: AuGIO.File, flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
unmountMountableFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => boolean;
|
|||
|
ejectMountable : (file: AuGIO.File, flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
ejectMountableFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => boolean;
|
|||
|
mountEnclosingVolume : (location: AuGIO.File, flags: AuGIO.MountMountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
mountEnclosingVolumeFinish : (location: AuGIO.File, result: AuGIO.AsyncResult) => boolean;
|
|||
|
monitorDir : (file: AuGIO.File, flags: AuGIO.FileMonitorFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileMonitor;
|
|||
|
monitorFile : (file: AuGIO.File, flags: AuGIO.FileMonitorFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileMonitor;
|
|||
|
openReadwrite : (file: AuGIO.File, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileIOStream;
|
|||
|
openReadwriteAsync : (file: AuGIO.File, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
openReadwriteFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.FileIOStream;
|
|||
|
createReadwrite : (file: AuGIO.File, flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileIOStream;
|
|||
|
createReadwriteAsync : (file: AuGIO.File, flags: AuGIO.FileCreateFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
createReadwriteFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.FileIOStream;
|
|||
|
replaceReadwrite : (file: AuGIO.File, etag: string | undefined | null, makeBackup: boolean, flags: AuGIO.FileCreateFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileIOStream;
|
|||
|
replaceReadwriteAsync : (file: AuGIO.File, etag: string | undefined | null, makeBackup: boolean, flags: AuGIO.FileCreateFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
replaceReadwriteFinish : (file: AuGIO.File, res: AuGIO.AsyncResult) => AuGIO.FileIOStream;
|
|||
|
startMountable : (file: AuGIO.File, flags: AuGIO.DriveStartFlags, startOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
startMountableFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => boolean;
|
|||
|
stopMountable : (file: AuGIO.File, flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
stopMountableFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => boolean;
|
|||
|
supportsThreadContexts : boolean;
|
|||
|
unmountMountableWithOperation : (file: AuGIO.File, flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
unmountMountableWithOperationFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => boolean;
|
|||
|
ejectMountableWithOperation : (file: AuGIO.File, flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
ejectMountableWithOperationFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => boolean;
|
|||
|
pollMountable : (file: AuGIO.File, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
pollMountableFinish : (file: AuGIO.File, result: AuGIO.AsyncResult) => boolean;
|
|||
|
measureDiskUsage : void;
|
|||
|
measureDiskUsageAsync : void;
|
|||
|
measureDiskUsageFinish : (file: AuGIO.File, result: AuGIO.AsyncResult, diskUsage ?: number | bigint, numDirs ?: number | bigint, numFiles ?: number | bigint) => boolean;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class FileInfoClass {
|
|||
|
}
|
|||
|
|
|||
|
class FileInputStreamClass {
|
|||
|
parentClass : AuGIO.InputStreamClass;
|
|||
|
tell : (stream: AuGIO.FileInputStream) => number | bigint;
|
|||
|
canSeek : (stream: AuGIO.FileInputStream) => boolean;
|
|||
|
seek : (stream: AuGIO.FileInputStream, offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
queryInfo : (stream: AuGIO.FileInputStream, attributes: string, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileInfo;
|
|||
|
queryInfoAsync : (stream: AuGIO.FileInputStream, attributes: string, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
queryInfoFinish : (stream: AuGIO.FileInputStream, result: AuGIO.AsyncResult) => AuGIO.FileInfo;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class FileInputStreamPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class FileMonitorClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
changed : (monitor: AuGIO.FileMonitor, file: AuGIO.File, otherFile: AuGIO.File, eventType: AuGIO.FileMonitorEvent) => void;
|
|||
|
cancel : (monitor: AuGIO.FileMonitor) => boolean;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class FileMonitorPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class FileOutputStreamClass {
|
|||
|
parentClass : AuGIO.OutputStreamClass;
|
|||
|
tell : (stream: AuGIO.FileOutputStream) => number | bigint;
|
|||
|
canSeek : (stream: AuGIO.FileOutputStream) => boolean;
|
|||
|
seek : (stream: AuGIO.FileOutputStream, offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
canTruncate : (stream: AuGIO.FileOutputStream) => boolean;
|
|||
|
truncateFn : (stream: AuGIO.FileOutputStream, size: number | bigint, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
queryInfo : (stream: AuGIO.FileOutputStream, attributes: string, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.FileInfo;
|
|||
|
queryInfoAsync : (stream: AuGIO.FileOutputStream, attributes: string, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
queryInfoFinish : (stream: AuGIO.FileOutputStream, result: AuGIO.AsyncResult) => AuGIO.FileInfo;
|
|||
|
getEtag : (stream: AuGIO.FileOutputStream) => string;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class FileOutputStreamPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class FilenameCompleterClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
gotCompletionData : (filenameCompleter: AuGIO.FilenameCompleter) => void;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class FilterInputStreamClass {
|
|||
|
parentClass : AuGIO.InputStreamClass;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class FilterOutputStreamClass {
|
|||
|
parentClass : AuGIO.OutputStreamClass;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class IOExtension {
|
|||
|
getName(): string;
|
|||
|
getPriority(): number;
|
|||
|
getType(): number;
|
|||
|
}
|
|||
|
|
|||
|
class IOExtensionPoint {
|
|||
|
getExtensionByName(name: string): AuGIO.IOExtension;
|
|||
|
getExtensions(): AuGIO.IOExtension[];
|
|||
|
getRequiredType(): number;
|
|||
|
setRequiredType(type: number): void;
|
|||
|
static Implement(extensionPointName: string, type: number, extensionName: string, priority: number): AuGIO.IOExtension;
|
|||
|
static Lookup(name: string): AuGIO.IOExtensionPoint;
|
|||
|
static Register(name: string): AuGIO.IOExtensionPoint;
|
|||
|
}
|
|||
|
|
|||
|
class IOModuleClass {
|
|||
|
}
|
|||
|
|
|||
|
class IOModuleScope {
|
|||
|
block(basename: string): void;
|
|||
|
free(): void;
|
|||
|
}
|
|||
|
|
|||
|
class IOSchedulerJob {
|
|||
|
sendToMainloop(func: () => boolean, notify: () => void | undefined | null): boolean;
|
|||
|
sendToMainloopAsync(func: () => boolean, notify: () => void | undefined | null): void;
|
|||
|
}
|
|||
|
|
|||
|
class IOStreamAdapter {
|
|||
|
}
|
|||
|
|
|||
|
class IOStreamClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
getInputStream : (stream: AuGIO.IOStream) => AuGIO.InputStream;
|
|||
|
getOutputStream : (stream: AuGIO.IOStream) => AuGIO.OutputStream;
|
|||
|
closeFn : (stream: AuGIO.IOStream, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
closeAsync : (stream: AuGIO.IOStream, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
closeFinish : (stream: AuGIO.IOStream, result: AuGIO.AsyncResult) => boolean;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
gReserved6 : void;
|
|||
|
gReserved7 : void;
|
|||
|
gReserved8 : void;
|
|||
|
gReserved9 : void;
|
|||
|
gReserved10 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class IOStreamPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class IconIface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
hash : (icon: AuGIO.Icon) => number;
|
|||
|
equal : (icon1: AuGIO.Icon | undefined | null, icon2: AuGIO.Icon | undefined | null) => boolean;
|
|||
|
toTokens : void;
|
|||
|
fromTokens : void;
|
|||
|
serialize : (icon: AuGIO.Icon) => AuGlibEx.Variant;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class InetAddressClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
toString : (address: AuGIO.InetAddress) => string;
|
|||
|
toBytes : (address: AuGIO.InetAddress) => number;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class InetAddressMaskClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class InetAddressMaskPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class InetAddressPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class InetSocketAddressClass {
|
|||
|
parentClass : AuGIO.SocketAddressClass;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class InetSocketAddressPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class InitableIface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
init : (initable: AuGIO.Initable, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class InputMessage {
|
|||
|
address : AuGIO.SocketAddress;
|
|||
|
vectors : AuGIO.InputVector[];
|
|||
|
numVectors : number;
|
|||
|
bytesReceived : number | bigint;
|
|||
|
flags : number;
|
|||
|
controlMessages : AuGIO.SocketControlMessage[];
|
|||
|
numControlMessages : number;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class InputStreamClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
readFn : (stream: AuGIO.InputStream, count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null) => number | bigint;
|
|||
|
skip : (stream: AuGIO.InputStream, count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null) => number | bigint;
|
|||
|
closeFn : (stream: AuGIO.InputStream, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
readAsync : (stream: AuGIO.InputStream, buffer: number[] | undefined | null, count: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
readFinish : (stream: AuGIO.InputStream, result: AuGIO.AsyncResult) => number | bigint;
|
|||
|
skipAsync : (stream: AuGIO.InputStream, count: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
skipFinish : (stream: AuGIO.InputStream, result: AuGIO.AsyncResult) => number | bigint;
|
|||
|
closeAsync : (stream: AuGIO.InputStream, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
closeFinish : (stream: AuGIO.InputStream, result: AuGIO.AsyncResult) => boolean;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class InputStreamPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class InputVector {
|
|||
|
buffer : void;
|
|||
|
size : number | bigint;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class ListModelInterface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
getItemType : (list: AuGIO.ListModel) => number;
|
|||
|
getNItems : (list: AuGIO.ListModel) => number;
|
|||
|
getItem : (list: AuGIO.ListModel, position: number) => GObject.Object;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class ListStoreClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class LoadableIconIface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
load : (icon: AuGIO.LoadableIcon, size: number, type ?: string, cancellable ?: AuGIO.Cancellable | undefined | null) => AuGIO.InputStream;
|
|||
|
loadAsync : (icon: AuGIO.LoadableIcon, size: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
loadFinish : (icon: AuGIO.LoadableIcon, res: AuGIO.AsyncResult, type ?: string) => AuGIO.InputStream;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class MemoryInputStreamClass {
|
|||
|
parentClass : AuGIO.InputStreamClass;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class MemoryInputStreamPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class MemoryMonitorInterface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
lowMemoryWarning : (monitor: AuGIO.MemoryMonitor, level: AuGIO.MemoryMonitorWarningLevel) => void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class MemoryOutputStreamClass {
|
|||
|
parentClass : AuGIO.OutputStreamClass;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class MemoryOutputStreamPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class MenuAttributeIterClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
getNext : (iter: AuGIO.MenuAttributeIter, outName ?: string, value ?: AuGlibEx.Variant) => boolean;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class MenuAttributeIterPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class MenuLinkIterClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
getNext : (iter: AuGIO.MenuLinkIter, outLink ?: string, value ?: AuGIO.MenuModel) => boolean;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class MenuLinkIterPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class MenuModelClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
isMutable : (model: AuGIO.MenuModel) => boolean;
|
|||
|
getNItems : (model: AuGIO.MenuModel) => number;
|
|||
|
getItemAttributes : (model: AuGIO.MenuModel, itemIndex: number, attributes: number) => void;
|
|||
|
iterateItemAttributes : (model: AuGIO.MenuModel, itemIndex: number) => AuGIO.MenuAttributeIter;
|
|||
|
getItemAttributeValue : (model: AuGIO.MenuModel, itemIndex: number, attribute: string, expectedType: AuGlibEx.VariantType | undefined | null) => AuGlibEx.Variant;
|
|||
|
getItemLinks : (model: AuGIO.MenuModel, itemIndex: number, links: number) => void;
|
|||
|
iterateItemLinks : (model: AuGIO.MenuModel, itemIndex: number) => AuGIO.MenuLinkIter;
|
|||
|
getItemLink : (model: AuGIO.MenuModel, itemIndex: number, link: string) => AuGIO.MenuModel;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class MenuModelPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class MountIface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
changed : (mount: AuGIO.Mount) => void;
|
|||
|
unmounted : (mount: AuGIO.Mount) => void;
|
|||
|
getRoot : (mount: AuGIO.Mount) => AuGIO.File;
|
|||
|
getName : (mount: AuGIO.Mount) => string;
|
|||
|
getIcon : (mount: AuGIO.Mount) => AuGIO.Icon;
|
|||
|
getUuid : (mount: AuGIO.Mount) => string;
|
|||
|
getVolume : (mount: AuGIO.Mount) => AuGIO.Volume;
|
|||
|
getDrive : (mount: AuGIO.Mount) => AuGIO.Drive;
|
|||
|
canUnmount : (mount: AuGIO.Mount) => boolean;
|
|||
|
canEject : (mount: AuGIO.Mount) => boolean;
|
|||
|
unmount : (mount: AuGIO.Mount, flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
unmountFinish : (mount: AuGIO.Mount, result: AuGIO.AsyncResult) => boolean;
|
|||
|
eject : (mount: AuGIO.Mount, flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
ejectFinish : (mount: AuGIO.Mount, result: AuGIO.AsyncResult) => boolean;
|
|||
|
remount : (mount: AuGIO.Mount, flags: AuGIO.MountMountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
remountFinish : (mount: AuGIO.Mount, result: AuGIO.AsyncResult) => boolean;
|
|||
|
guessContentType : (mount: AuGIO.Mount, forceRescan: boolean, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
guessContentTypeFinish : (mount: AuGIO.Mount, result: AuGIO.AsyncResult) => string[];
|
|||
|
guessContentTypeSync : (mount: AuGIO.Mount, forceRescan: boolean, cancellable: AuGIO.Cancellable | undefined | null) => string[];
|
|||
|
preUnmount : (mount: AuGIO.Mount) => void;
|
|||
|
unmountWithOperation : (mount: AuGIO.Mount, flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
unmountWithOperationFinish : (mount: AuGIO.Mount, result: AuGIO.AsyncResult) => boolean;
|
|||
|
ejectWithOperation : (mount: AuGIO.Mount, flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
ejectWithOperationFinish : (mount: AuGIO.Mount, result: AuGIO.AsyncResult) => boolean;
|
|||
|
getDefaultLocation : (mount: AuGIO.Mount) => AuGIO.File;
|
|||
|
getSortKey : (mount: AuGIO.Mount) => string;
|
|||
|
getSymbolicIcon : (mount: AuGIO.Mount) => AuGIO.Icon;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class MountOperationClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
askPassword : (op: AuGIO.MountOperation, message: string, defaultUser: string, defaultDomain: string, flags: AuGIO.AskPasswordFlags) => void;
|
|||
|
askQuestion : (op: AuGIO.MountOperation, message: string, choices: string[]) => void;
|
|||
|
reply : (op: AuGIO.MountOperation, result: AuGIO.MountOperationResult) => void;
|
|||
|
aborted : (op: AuGIO.MountOperation) => void;
|
|||
|
showProcesses : (op: AuGIO.MountOperation, message: string, processes: void[], choices: string[]) => void;
|
|||
|
showUnmountProgress : (op: AuGIO.MountOperation, message: string, timeLeft: number | bigint, bytesLeft: number | bigint) => void;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
gReserved6 : void;
|
|||
|
gReserved7 : void;
|
|||
|
gReserved8 : void;
|
|||
|
gReserved9 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class MountOperationPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class NativeSocketAddressClass {
|
|||
|
parentClass : AuGIO.SocketAddressClass;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class NativeSocketAddressPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class NativeVolumeMonitorClass {
|
|||
|
parentClass : AuGIO.VolumeMonitorClass;
|
|||
|
getMountForMountPath : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class NetworkAddressClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class NetworkAddressPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class NetworkMonitorInterface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
networkChanged : (monitor: AuGIO.NetworkMonitor, networkAvailable: boolean) => void;
|
|||
|
canReach : (monitor: AuGIO.NetworkMonitor, connectable: AuGIO.SocketConnectable, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
canReachAsync : (monitor: AuGIO.NetworkMonitor, connectable: AuGIO.SocketConnectable, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
canReachFinish : (monitor: AuGIO.NetworkMonitor, result: AuGIO.AsyncResult) => boolean;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class NetworkServiceClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class NetworkServicePrivate {
|
|||
|
}
|
|||
|
|
|||
|
class OutputMessage {
|
|||
|
address : AuGIO.SocketAddress;
|
|||
|
vectors : AuGIO.OutputVector;
|
|||
|
numVectors : number;
|
|||
|
bytesSent : number;
|
|||
|
controlMessages : AuGIO.SocketControlMessage[];
|
|||
|
numControlMessages : number;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class OutputStreamClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
writeFn : (stream: AuGIO.OutputStream, buffer: number[] | undefined | null, count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null) => number | bigint;
|
|||
|
splice : (stream: AuGIO.OutputStream, source: AuGIO.InputStream, flags: AuGIO.OutputStreamSpliceFlags, cancellable: AuGIO.Cancellable | undefined | null) => number | bigint;
|
|||
|
flush : (stream: AuGIO.OutputStream, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
closeFn : (stream: AuGIO.OutputStream, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
writeAsync : (stream: AuGIO.OutputStream, buffer: number[] | undefined | null, count: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
writeFinish : (stream: AuGIO.OutputStream, result: AuGIO.AsyncResult) => number | bigint;
|
|||
|
spliceAsync : (stream: AuGIO.OutputStream, source: AuGIO.InputStream, flags: AuGIO.OutputStreamSpliceFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
spliceFinish : (stream: AuGIO.OutputStream, result: AuGIO.AsyncResult) => number | bigint;
|
|||
|
flushAsync : (stream: AuGIO.OutputStream, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
flushFinish : (stream: AuGIO.OutputStream, result: AuGIO.AsyncResult) => boolean;
|
|||
|
closeAsync : (stream: AuGIO.OutputStream, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
closeFinish : (stream: AuGIO.OutputStream, result: AuGIO.AsyncResult) => boolean;
|
|||
|
writevFn : (stream: AuGIO.OutputStream, vectors: AuGIO.OutputVector[], nVectors: number | bigint, bytesWritten ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
writevAsync : (stream: AuGIO.OutputStream, vectors: AuGIO.OutputVector[], nVectors: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
writevFinish : (stream: AuGIO.OutputStream, result: AuGIO.AsyncResult, bytesWritten ?: number | bigint) => boolean;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
gReserved6 : void;
|
|||
|
gReserved7 : void;
|
|||
|
gReserved8 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class OutputStreamPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class OutputVector {
|
|||
|
buffer : void;
|
|||
|
size : number | bigint;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class PermissionClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
acquire : (permission: AuGIO.Permission, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
acquireAsync : (permission: AuGIO.Permission, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
acquireFinish : (permission: AuGIO.Permission, result: AuGIO.AsyncResult) => boolean;
|
|||
|
release : (permission: AuGIO.Permission, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
releaseAsync : (permission: AuGIO.Permission, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
releaseFinish : (permission: AuGIO.Permission, result: AuGIO.AsyncResult) => boolean;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class PermissionPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class PollableInputStreamInterface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
canPoll : (stream: AuGIO.PollableInputStream) => boolean;
|
|||
|
isReadable : (stream: AuGIO.PollableInputStream) => boolean;
|
|||
|
createSource : (stream: AuGIO.PollableInputStream, cancellable: AuGIO.Cancellable | undefined | null) => AuGlibEx.Source;
|
|||
|
readNonblocking : (stream: AuGIO.PollableInputStream, buffer: number[] | undefined | null, count: number | bigint) => number | bigint;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class PollableOutputStreamInterface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
canPoll : (stream: AuGIO.PollableOutputStream) => boolean;
|
|||
|
isWritable : (stream: AuGIO.PollableOutputStream) => boolean;
|
|||
|
createSource : (stream: AuGIO.PollableOutputStream, cancellable: AuGIO.Cancellable | undefined | null) => AuGlibEx.Source;
|
|||
|
writeNonblocking : (stream: AuGIO.PollableOutputStream, buffer: number[] | undefined | null, count: number | bigint) => number | bigint;
|
|||
|
writevNonblocking : (stream: AuGIO.PollableOutputStream, vectors: AuGIO.OutputVector[], nVectors: number | bigint, bytesWritten ?: number | bigint) => AuGIO.PollableReturn;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class PowerProfileMonitorInterface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class ProxyAddressClass {
|
|||
|
parentClass : AuGIO.InetSocketAddressClass;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class ProxyAddressEnumeratorClass {
|
|||
|
parentClass : AuGIO.SocketAddressEnumeratorClass;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
gReserved6 : void;
|
|||
|
gReserved7 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class ProxyAddressEnumeratorPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class ProxyAddressPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class ProxyInterface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
connect : (proxy: AuGIO.Proxy, connection: AuGIO.IOStream, proxyAddress: AuGIO.ProxyAddress, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.IOStream;
|
|||
|
connectAsync : (proxy: AuGIO.Proxy, connection: AuGIO.IOStream, proxyAddress: AuGIO.ProxyAddress, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
connectFinish : (proxy: AuGIO.Proxy, result: AuGIO.AsyncResult) => AuGIO.IOStream;
|
|||
|
supportsHostname : (proxy: AuGIO.Proxy) => boolean;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class ProxyResolverInterface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
isSupported : (resolver: AuGIO.ProxyResolver) => boolean;
|
|||
|
lookup : (resolver: AuGIO.ProxyResolver, uri: string, cancellable: AuGIO.Cancellable | undefined | null) => string[];
|
|||
|
lookupAsync : (resolver: AuGIO.ProxyResolver, uri: string, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
lookupFinish : (resolver: AuGIO.ProxyResolver, result: AuGIO.AsyncResult) => string[];
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class RemoteActionGroupInterface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
activateActionFull : (remote: AuGIO.RemoteActionGroup, actionName: string, parameter: AuGlibEx.Variant | undefined | null, platformData: AuGlibEx.Variant) => void;
|
|||
|
changeActionStateFull : (remote: AuGIO.RemoteActionGroup, actionName: string, value: AuGlibEx.Variant, platformData: AuGlibEx.Variant) => void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class ResolverClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
reload : (resolver: AuGIO.Resolver) => void;
|
|||
|
lookupByName : (resolver: AuGIO.Resolver, hostname: string, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.InetAddress[];
|
|||
|
lookupByNameAsync : (resolver: AuGIO.Resolver, hostname: string, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
lookupByNameFinish : (resolver: AuGIO.Resolver, result: AuGIO.AsyncResult) => AuGIO.InetAddress[];
|
|||
|
lookupByAddress : (resolver: AuGIO.Resolver, address: AuGIO.InetAddress, cancellable: AuGIO.Cancellable | undefined | null) => string;
|
|||
|
lookupByAddressAsync : (resolver: AuGIO.Resolver, address: AuGIO.InetAddress, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
lookupByAddressFinish : (resolver: AuGIO.Resolver, result: AuGIO.AsyncResult) => string;
|
|||
|
lookupService : void;
|
|||
|
lookupServiceAsync : (resolver: AuGIO.Resolver, rrname: string, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
lookupServiceFinish : (resolver: AuGIO.Resolver, result: AuGIO.AsyncResult) => AuGIO.SrvTarget[];
|
|||
|
lookupRecords : (resolver: AuGIO.Resolver, rrname: string, recordType: AuGIO.ResolverRecordType, cancellable: AuGIO.Cancellable | undefined | null) => AuGlibEx.Variant[];
|
|||
|
lookupRecordsAsync : (resolver: AuGIO.Resolver, rrname: string, recordType: AuGIO.ResolverRecordType, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
lookupRecordsFinish : (resolver: AuGIO.Resolver, result: AuGIO.AsyncResult) => AuGlibEx.Variant[];
|
|||
|
lookupByNameWithFlagsAsync : (resolver: AuGIO.Resolver, hostname: string, flags: AuGIO.ResolverNameLookupFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
lookupByNameWithFlagsFinish : (resolver: AuGIO.Resolver, result: AuGIO.AsyncResult) => AuGIO.InetAddress[];
|
|||
|
lookupByNameWithFlags : (resolver: AuGIO.Resolver, hostname: string, flags: AuGIO.ResolverNameLookupFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.InetAddress[];
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class ResolverPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class Resource {
|
|||
|
static NewFromData(data: AuGlibEx.Bytes): AuGIO.Resource;
|
|||
|
register(): void;
|
|||
|
unregister(): void;
|
|||
|
enumerateChildren(path: string, lookupFlags: AuGIO.ResourceLookupFlags): string[];
|
|||
|
getInfo(path: string, lookupFlags: AuGIO.ResourceLookupFlags, size ?: number | bigint, flags ?: number): boolean;
|
|||
|
lookupData(path: string, lookupFlags: AuGIO.ResourceLookupFlags): AuGlibEx.Bytes;
|
|||
|
openStream(path: string, lookupFlags: AuGIO.ResourceLookupFlags): AuGIO.InputStream;
|
|||
|
ref(): AuGIO.Resource;
|
|||
|
unref(): void;
|
|||
|
static Load(filename: string): AuGIO.Resource;
|
|||
|
}
|
|||
|
|
|||
|
class SeekableIface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
tell : (seekable: AuGIO.Seekable) => number | bigint;
|
|||
|
canSeek : (seekable: AuGIO.Seekable) => boolean;
|
|||
|
seek : (seekable: AuGIO.Seekable, offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
canTruncate : (seekable: AuGIO.Seekable) => boolean;
|
|||
|
truncateFn : (seekable: AuGIO.Seekable, offset: number | bigint, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class SettingsBackendClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
read : (backend: AuGIO.SettingsBackend, key: string, expectedType: AuGlibEx.VariantType, defaultValue: boolean) => AuGlibEx.Variant;
|
|||
|
getWritable : (backend: AuGIO.SettingsBackend, key: string) => boolean;
|
|||
|
write : (backend: AuGIO.SettingsBackend, key: string, value: AuGlibEx.Variant) => boolean;
|
|||
|
writeTree : (backend: AuGIO.SettingsBackend, tree: AuGlibEx.Tree) => boolean;
|
|||
|
reset : (backend: AuGIO.SettingsBackend, key: string) => void;
|
|||
|
subscribe : (backend: AuGIO.SettingsBackend, name: string) => void;
|
|||
|
unsubscribe : (backend: AuGIO.SettingsBackend, name: string) => void;
|
|||
|
sync : (backend: AuGIO.SettingsBackend) => void;
|
|||
|
getPermission : void;
|
|||
|
readUserValue : (backend: AuGIO.SettingsBackend, key: string, expectedType: AuGlibEx.VariantType) => AuGlibEx.Variant;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class SettingsBackendPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class SettingsClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
writableChanged : (settings: AuGIO.Settings, key: string) => void;
|
|||
|
changed : (settings: AuGIO.Settings, key: string) => void;
|
|||
|
writableChangeEvent : (settings: AuGIO.Settings, key: number) => boolean;
|
|||
|
changeEvent : (settings: AuGIO.Settings, keys: number, nKeys: number) => boolean;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class SettingsPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class SettingsSchema {
|
|||
|
getId(): string;
|
|||
|
getKey(name: string): AuGIO.SettingsSchemaKey;
|
|||
|
getPath(): string;
|
|||
|
hasKey(name: string): boolean;
|
|||
|
listChildren(): string[];
|
|||
|
listKeys(): string[];
|
|||
|
ref(): AuGIO.SettingsSchema;
|
|||
|
unref(): void;
|
|||
|
}
|
|||
|
|
|||
|
class SettingsSchemaKey {
|
|||
|
getDefaultValue(): AuGlibEx.Variant;
|
|||
|
getDescription(): string;
|
|||
|
getName(): string;
|
|||
|
getRange(): AuGlibEx.Variant;
|
|||
|
getSummary(): string;
|
|||
|
getValueType(): AuGlibEx.VariantType;
|
|||
|
rangeCheck(value: AuGlibEx.Variant): boolean;
|
|||
|
ref(): AuGIO.SettingsSchemaKey;
|
|||
|
unref(): void;
|
|||
|
}
|
|||
|
|
|||
|
class SettingsSchemaSource {
|
|||
|
static NewFromDirectory(directory: string, parent: AuGIO.SettingsSchemaSource | undefined | null, trusted: boolean): AuGIO.SettingsSchemaSource;
|
|||
|
listSchemas(recursive: boolean, nonRelocatable: string[], relocatable: string[]): void;
|
|||
|
lookup(schemaId: string, recursive: boolean): AuGIO.SettingsSchema;
|
|||
|
ref(): AuGIO.SettingsSchemaSource;
|
|||
|
unref(): void;
|
|||
|
static GetDefault(): AuGIO.SettingsSchemaSource;
|
|||
|
}
|
|||
|
|
|||
|
class SimpleActionGroupClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class SimpleActionGroupPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class SimpleAsyncResultClass {
|
|||
|
}
|
|||
|
|
|||
|
class SimpleProxyResolverClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class SimpleProxyResolverPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class SocketAddressClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
getFamily : (address: AuGIO.SocketAddress) => AuGIO.SocketFamily;
|
|||
|
getNativeSize : (address: AuGIO.SocketAddress) => number | bigint;
|
|||
|
toNative : (address: AuGIO.SocketAddress, destlen: number | bigint) => boolean;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class SocketAddressEnumeratorClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
next : (enumerator: AuGIO.SocketAddressEnumerator, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.SocketAddress;
|
|||
|
nextAsync : (enumerator: AuGIO.SocketAddressEnumerator, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
nextFinish : (enumerator: AuGIO.SocketAddressEnumerator, result: AuGIO.AsyncResult) => AuGIO.SocketAddress;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class SocketClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
gReserved6 : void;
|
|||
|
gReserved7 : void;
|
|||
|
gReserved8 : void;
|
|||
|
gReserved9 : void;
|
|||
|
gReserved10 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class SocketClientClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
event : (client: AuGIO.SocketClient, event: AuGIO.SocketClientEvent, connectable: AuGIO.SocketConnectable, connection: AuGIO.IOStream) => void;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class SocketClientPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class SocketConnectableIface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
enumerate : (connectable: AuGIO.SocketConnectable) => AuGIO.SocketAddressEnumerator;
|
|||
|
proxyEnumerate : (connectable: AuGIO.SocketConnectable) => AuGIO.SocketAddressEnumerator;
|
|||
|
toString : (connectable: AuGIO.SocketConnectable) => string;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class SocketConnectionClass {
|
|||
|
parentClass : AuGIO.IOStreamClass;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
gReserved6 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class SocketConnectionPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class SocketControlMessageClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
getSize : (message: AuGIO.SocketControlMessage) => number | bigint;
|
|||
|
getLevel : (message: AuGIO.SocketControlMessage) => number;
|
|||
|
getType : (message: AuGIO.SocketControlMessage) => number;
|
|||
|
serialize : (message: AuGIO.SocketControlMessage) => void;
|
|||
|
deserialize : void;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class SocketControlMessagePrivate {
|
|||
|
}
|
|||
|
|
|||
|
class SocketListenerClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
changed : (listener: AuGIO.SocketListener) => void;
|
|||
|
event : (listener: AuGIO.SocketListener, event: AuGIO.SocketListenerEvent, socket: AuGIO.Socket) => void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
gReserved6 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class SocketListenerPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class SocketPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class SocketServiceClass {
|
|||
|
parentClass : AuGIO.SocketListenerClass;
|
|||
|
incoming : (service: AuGIO.SocketService, connection: AuGIO.SocketConnection, sourceObject: GObject.Object) => boolean;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
gReserved6 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class SocketServicePrivate {
|
|||
|
}
|
|||
|
|
|||
|
class SrvTarget {
|
|||
|
static New(hostname: string, port: number, priority: number, weight: number): AuGIO.SrvTarget;
|
|||
|
copy(): AuGIO.SrvTarget;
|
|||
|
free(): void;
|
|||
|
getHostname(): string;
|
|||
|
getPort(): number;
|
|||
|
getPriority(): number;
|
|||
|
getWeight(): number;
|
|||
|
}
|
|||
|
|
|||
|
class StaticResource {
|
|||
|
data : number;
|
|||
|
dataLen : number | bigint;
|
|||
|
resource : AuGIO.Resource;
|
|||
|
next : AuGIO.StaticResource;
|
|||
|
padding : void;
|
|||
|
|
|||
|
fini(): void;
|
|||
|
getResource(): AuGIO.Resource;
|
|||
|
init(): void;
|
|||
|
}
|
|||
|
|
|||
|
class TaskClass {
|
|||
|
}
|
|||
|
|
|||
|
class TcpConnectionClass {
|
|||
|
parentClass : AuGIO.SocketConnectionClass;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class TcpConnectionPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class TcpWrapperConnectionClass {
|
|||
|
parentClass : AuGIO.TcpConnectionClass;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class TcpWrapperConnectionPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class ThemedIconClass {
|
|||
|
}
|
|||
|
|
|||
|
class ThreadedSocketServiceClass {
|
|||
|
parentClass : AuGIO.SocketServiceClass;
|
|||
|
run : (service: AuGIO.ThreadedSocketService, connection: AuGIO.SocketConnection, sourceObject: GObject.Object) => boolean;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class ThreadedSocketServicePrivate {
|
|||
|
}
|
|||
|
|
|||
|
class TlsBackendInterface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
supportsTls : (backend: AuGIO.TlsBackend) => boolean;
|
|||
|
getCertificateType : () => number;
|
|||
|
getClientConnectionType : () => number;
|
|||
|
getServerConnectionType : () => number;
|
|||
|
getFileDatabaseType : () => number;
|
|||
|
getDefaultDatabase : (backend: AuGIO.TlsBackend) => AuGIO.TlsDatabase;
|
|||
|
supportsDtls : (backend: AuGIO.TlsBackend) => boolean;
|
|||
|
getDtlsClientConnectionType : () => number;
|
|||
|
getDtlsServerConnectionType : () => number;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class TlsCertificateClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
verify : (cert: AuGIO.TlsCertificate, identity: AuGIO.SocketConnectable | undefined | null, trustedCa: AuGIO.TlsCertificate | undefined | null) => AuGIO.TlsCertificateFlags;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class TlsCertificatePrivate {
|
|||
|
}
|
|||
|
|
|||
|
class TlsClientConnectionInterface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
copySessionState : (conn: AuGIO.TlsClientConnection, source: AuGIO.TlsClientConnection) => void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class TlsConnectionClass {
|
|||
|
parentClass : AuGIO.IOStreamClass;
|
|||
|
acceptCertificate : (connection: AuGIO.TlsConnection, peerCert: AuGIO.TlsCertificate, errors: AuGIO.TlsCertificateFlags) => boolean;
|
|||
|
handshake : (conn: AuGIO.TlsConnection, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
handshakeAsync : (conn: AuGIO.TlsConnection, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
handshakeFinish : (conn: AuGIO.TlsConnection, result: AuGIO.AsyncResult) => boolean;
|
|||
|
getBindingData : (conn: AuGIO.TlsConnection, type: AuGIO.TlsChannelBindingType, data: number[]) => boolean;
|
|||
|
getNegotiatedProtocol : (conn: AuGIO.TlsConnection) => string;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class TlsConnectionPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class TlsDatabaseClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
verifyChain : (self: AuGIO.TlsDatabase, chain: AuGIO.TlsCertificate, purpose: string, identity: AuGIO.SocketConnectable | undefined | null, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseVerifyFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.TlsCertificateFlags;
|
|||
|
verifyChainAsync : (self: AuGIO.TlsDatabase, chain: AuGIO.TlsCertificate, purpose: string, identity: AuGIO.SocketConnectable | undefined | null, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseVerifyFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
verifyChainFinish : (self: AuGIO.TlsDatabase, result: AuGIO.AsyncResult) => AuGIO.TlsCertificateFlags;
|
|||
|
createCertificateHandle : (self: AuGIO.TlsDatabase, certificate: AuGIO.TlsCertificate) => string;
|
|||
|
lookupCertificateForHandle : (self: AuGIO.TlsDatabase, handle: string, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.TlsCertificate;
|
|||
|
lookupCertificateForHandleAsync : (self: AuGIO.TlsDatabase, handle: string, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
lookupCertificateForHandleFinish : (self: AuGIO.TlsDatabase, result: AuGIO.AsyncResult) => AuGIO.TlsCertificate;
|
|||
|
lookupCertificateIssuer : (self: AuGIO.TlsDatabase, certificate: AuGIO.TlsCertificate, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.TlsCertificate;
|
|||
|
lookupCertificateIssuerAsync : (self: AuGIO.TlsDatabase, certificate: AuGIO.TlsCertificate, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
lookupCertificateIssuerFinish : (self: AuGIO.TlsDatabase, result: AuGIO.AsyncResult) => AuGIO.TlsCertificate;
|
|||
|
lookupCertificatesIssuedBy : (self: AuGIO.TlsDatabase, issuerRawDn: number[], interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.TlsCertificate[];
|
|||
|
lookupCertificatesIssuedByAsync : (self: AuGIO.TlsDatabase, issuerRawDn: number[], interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
lookupCertificatesIssuedByFinish : (self: AuGIO.TlsDatabase, result: AuGIO.AsyncResult) => AuGIO.TlsCertificate[];
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class TlsDatabasePrivate {
|
|||
|
}
|
|||
|
|
|||
|
class TlsFileDatabaseInterface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class TlsInteractionClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
askPassword : (interaction: AuGIO.TlsInteraction, password: AuGIO.TlsPassword, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.TlsInteractionResult;
|
|||
|
askPasswordAsync : (interaction: AuGIO.TlsInteraction, password: AuGIO.TlsPassword, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
askPasswordFinish : (interaction: AuGIO.TlsInteraction, result: AuGIO.AsyncResult) => AuGIO.TlsInteractionResult;
|
|||
|
requestCertificate : (interaction: AuGIO.TlsInteraction, connection: AuGIO.TlsConnection, flags: AuGIO.TlsCertificateRequestFlags, cancellable: AuGIO.Cancellable | undefined | null) => AuGIO.TlsInteractionResult;
|
|||
|
requestCertificateAsync : (interaction: AuGIO.TlsInteraction, connection: AuGIO.TlsConnection, flags: AuGIO.TlsCertificateRequestFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
requestCertificateFinish : (interaction: AuGIO.TlsInteraction, result: AuGIO.AsyncResult) => AuGIO.TlsInteractionResult;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class TlsInteractionPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class TlsPasswordClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
getValue : (password: AuGIO.TlsPassword, length: number | bigint) => number[];
|
|||
|
setValue : (password: AuGIO.TlsPassword, value: number[], length: number | bigint, destroy: () => void | undefined | null) => void;
|
|||
|
getDefaultWarning : (password: AuGIO.TlsPassword) => string;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class TlsPasswordPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class TlsServerConnectionInterface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class UnixConnectionClass {
|
|||
|
parentClass : AuGIO.SocketConnectionClass;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class UnixConnectionPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class UnixCredentialsMessageClass {
|
|||
|
parentClass : AuGIO.SocketControlMessageClass;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class UnixCredentialsMessagePrivate {
|
|||
|
}
|
|||
|
|
|||
|
class UnixFDList {
|
|||
|
}
|
|||
|
|
|||
|
class UnixSocketAddressClass {
|
|||
|
parentClass : AuGIO.SocketAddressClass;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class UnixSocketAddressPrivate {
|
|||
|
}
|
|||
|
|
|||
|
class VfsClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
isActive : (vfs: AuGIO.Vfs) => boolean;
|
|||
|
getFileForPath : (vfs: AuGIO.Vfs, path: string) => AuGIO.File;
|
|||
|
getFileForUri : (vfs: AuGIO.Vfs, uri: string) => AuGIO.File;
|
|||
|
getSupportedUriSchemes : (vfs: AuGIO.Vfs) => string[];
|
|||
|
parseName : (vfs: AuGIO.Vfs, parseName: string) => AuGIO.File;
|
|||
|
localFileAddInfo : (vfs: AuGIO.Vfs, filename: string, device: number | bigint, attributeMatcher: AuGIO.FileAttributeMatcher, info: AuGIO.FileInfo, cancellable: AuGIO.Cancellable | undefined | null, freeExtraData: () => void) => void;
|
|||
|
addWritableNamespaces : (vfs: AuGIO.Vfs, list: AuGIO.FileAttributeInfoList) => void;
|
|||
|
localFileSetAttributes : (vfs: AuGIO.Vfs, filename: string, info: AuGIO.FileInfo, flags: AuGIO.FileQueryInfoFlags, cancellable: AuGIO.Cancellable | undefined | null) => boolean;
|
|||
|
localFileRemoved : (vfs: AuGIO.Vfs, filename: string) => void;
|
|||
|
localFileMoved : (vfs: AuGIO.Vfs, source: string, dest: string) => void;
|
|||
|
deserializeIcon : void;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
gReserved6 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class VolumeIface {
|
|||
|
gIface : GObject.TypeInterface;
|
|||
|
changed : (volume: AuGIO.Volume) => void;
|
|||
|
removed : (volume: AuGIO.Volume) => void;
|
|||
|
getName : (volume: AuGIO.Volume) => string;
|
|||
|
getIcon : (volume: AuGIO.Volume) => AuGIO.Icon;
|
|||
|
getUuid : (volume: AuGIO.Volume) => string;
|
|||
|
getDrive : (volume: AuGIO.Volume) => AuGIO.Drive;
|
|||
|
getMount : (volume: AuGIO.Volume) => AuGIO.Mount;
|
|||
|
canMount : (volume: AuGIO.Volume) => boolean;
|
|||
|
canEject : (volume: AuGIO.Volume) => boolean;
|
|||
|
mountFn : (volume: AuGIO.Volume, flags: AuGIO.MountMountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
mountFinish : (volume: AuGIO.Volume, result: AuGIO.AsyncResult) => boolean;
|
|||
|
eject : (volume: AuGIO.Volume, flags: AuGIO.MountUnmountFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
ejectFinish : (volume: AuGIO.Volume, result: AuGIO.AsyncResult) => boolean;
|
|||
|
getIdentifier : (volume: AuGIO.Volume, kind: string) => string;
|
|||
|
enumerateIdentifiers : (volume: AuGIO.Volume) => string[];
|
|||
|
shouldAutomount : (volume: AuGIO.Volume) => boolean;
|
|||
|
getActivationRoot : (volume: AuGIO.Volume) => AuGIO.File;
|
|||
|
ejectWithOperation : (volume: AuGIO.Volume, flags: AuGIO.MountUnmountFlags, mountOperation: AuGIO.MountOperation | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null) => void;
|
|||
|
ejectWithOperationFinish : (volume: AuGIO.Volume, result: AuGIO.AsyncResult) => boolean;
|
|||
|
getSortKey : (volume: AuGIO.Volume) => string;
|
|||
|
getSymbolicIcon : (volume: AuGIO.Volume) => AuGIO.Icon;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class VolumeMonitorClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
volumeAdded : (volumeMonitor: AuGIO.VolumeMonitor, volume: AuGIO.Volume) => void;
|
|||
|
volumeRemoved : (volumeMonitor: AuGIO.VolumeMonitor, volume: AuGIO.Volume) => void;
|
|||
|
volumeChanged : (volumeMonitor: AuGIO.VolumeMonitor, volume: AuGIO.Volume) => void;
|
|||
|
mountAdded : (volumeMonitor: AuGIO.VolumeMonitor, mount: AuGIO.Mount) => void;
|
|||
|
mountRemoved : (volumeMonitor: AuGIO.VolumeMonitor, mount: AuGIO.Mount) => void;
|
|||
|
mountPreUnmount : (volumeMonitor: AuGIO.VolumeMonitor, mount: AuGIO.Mount) => void;
|
|||
|
mountChanged : (volumeMonitor: AuGIO.VolumeMonitor, mount: AuGIO.Mount) => void;
|
|||
|
driveConnected : (volumeMonitor: AuGIO.VolumeMonitor, drive: AuGIO.Drive) => void;
|
|||
|
driveDisconnected : (volumeMonitor: AuGIO.VolumeMonitor, drive: AuGIO.Drive) => void;
|
|||
|
driveChanged : (volumeMonitor: AuGIO.VolumeMonitor, drive: AuGIO.Drive) => void;
|
|||
|
isSupported : () => boolean;
|
|||
|
getConnectedDrives : (volumeMonitor: AuGIO.VolumeMonitor) => AuGIO.Drive[];
|
|||
|
getVolumes : (volumeMonitor: AuGIO.VolumeMonitor) => AuGIO.Volume[];
|
|||
|
getMounts : (volumeMonitor: AuGIO.VolumeMonitor) => AuGIO.Mount[];
|
|||
|
getVolumeForUuid : (volumeMonitor: AuGIO.VolumeMonitor, uuid: string) => AuGIO.Volume;
|
|||
|
getMountForUuid : (volumeMonitor: AuGIO.VolumeMonitor, uuid: string) => AuGIO.Mount;
|
|||
|
adoptOrphanMount : void;
|
|||
|
driveEjectButton : (volumeMonitor: AuGIO.VolumeMonitor, drive: AuGIO.Drive) => void;
|
|||
|
driveStopButton : (volumeMonitor: AuGIO.VolumeMonitor, drive: AuGIO.Drive) => void;
|
|||
|
gReserved1 : void;
|
|||
|
gReserved2 : void;
|
|||
|
gReserved3 : void;
|
|||
|
gReserved4 : void;
|
|||
|
gReserved5 : void;
|
|||
|
gReserved6 : void;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class ZlibCompressorClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
class ZlibDecompressorClass {
|
|||
|
parentClass : GObject.ObjectClass;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
class AppInfoMonitor extends GObject.Object {
|
|||
|
constructor(initializerList ?: AppInfoMonitorCtor);
|
|||
|
|
|||
|
static Get(): AuGIO.AppInfoMonitor;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class AppInfoMonitorCtor {
|
|||
|
}
|
|||
|
|
|||
|
class AppInfoMonitorEventListener extends AuGlibEx.IEventListener {
|
|||
|
changed(): void;
|
|||
|
}
|
|||
|
|
|||
|
class AppLaunchContext extends GObject.Object {
|
|||
|
constructor(initializerList ?: AppLaunchContextCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.AppLaunchContextPrivate;
|
|||
|
|
|||
|
static New(): AuGIO.AppLaunchContext;
|
|||
|
getEnvironment(): string[];
|
|||
|
getStartupNotifyId(info: AuGIO.AppInfo, files: AuGIO.File[]): string;
|
|||
|
launchFailed(startupNotifyId: string): void;
|
|||
|
setenv(variable: string, value: string): void;
|
|||
|
unsetenv(variable: string): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class AppLaunchContextCtor {
|
|||
|
}
|
|||
|
|
|||
|
class AppLaunchContextEventListener extends AuGlibEx.IEventListener {
|
|||
|
launchFailed(startupNotifyId: string): void;
|
|||
|
launchStarted(info: AuGIO.AppInfo, platformData: AuGlibEx.Variant | undefined | null): void;
|
|||
|
launched(info: AuGIO.AppInfo, platformData: AuGlibEx.Variant): void;
|
|||
|
}
|
|||
|
|
|||
|
class Application extends GObject.Object implements AuGIO.ActionGroup, AuGIO.ActionMap {
|
|||
|
constructor(initializerList ?: ApplicationCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.ApplicationPrivate;
|
|||
|
|
|||
|
actionGroup : AuGIO.ActionGroup;
|
|||
|
applicationId : string;
|
|||
|
flags : AuGIO.ApplicationFlags;
|
|||
|
inactivityTimeout : number;
|
|||
|
isBusy : boolean;
|
|||
|
isRegistered : boolean;
|
|||
|
isRemote : boolean;
|
|||
|
resourceBasePath : string;
|
|||
|
|
|||
|
static New(applicationId: string | undefined | null, flags: AuGIO.ApplicationFlags): AuGIO.Application;
|
|||
|
static GetDefault(): AuGIO.Application;
|
|||
|
static IdIsValid(applicationId: string): boolean;
|
|||
|
activate(): void;
|
|||
|
addMainOption(longName: string, shortName: number, flags: AuGlibEx.OptionFlags, arg: AuGlibEx.OptionArg, description: string, argDescription: string | undefined | null): void;
|
|||
|
addMainOptionEntries(entries: AuGlibEx.OptionEntry[]): void;
|
|||
|
addOptionGroup(group: AuGlibEx.OptionGroup): void;
|
|||
|
bindBusyProperty(object: GObject.Object, property: string): void;
|
|||
|
getApplicationId(): string;
|
|||
|
getDbusConnection(): AuGIO.DBusConnection;
|
|||
|
getDbusObjectPath(): string;
|
|||
|
getFlags(): AuGIO.ApplicationFlags;
|
|||
|
getInactivityTimeout(): number;
|
|||
|
getIsBusy(): boolean;
|
|||
|
getIsRegistered(): boolean;
|
|||
|
getIsRemote(): boolean;
|
|||
|
getResourceBasePath(): string;
|
|||
|
hold(): void;
|
|||
|
markBusy(): void;
|
|||
|
open(files: AuGIO.File[], nFiles: number, hint: string): void;
|
|||
|
quit(): void;
|
|||
|
register(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
release(): void;
|
|||
|
run(argc: number, argv: string[] | undefined | null): number;
|
|||
|
sendNotification(id: string | undefined | null, notification: AuGIO.Notification): void;
|
|||
|
setActionGroup(actionGroup: AuGIO.ActionGroup | undefined | null): void;
|
|||
|
setApplicationId(applicationId: string | undefined | null): void;
|
|||
|
setDefault(): void;
|
|||
|
setFlags(flags: AuGIO.ApplicationFlags): void;
|
|||
|
setInactivityTimeout(inactivityTimeout: number): void;
|
|||
|
setOptionContextDescription(description: string | undefined | null): void;
|
|||
|
setOptionContextParameterString(parameterString: string | undefined | null): void;
|
|||
|
setOptionContextSummary(summary: string | undefined | null): void;
|
|||
|
setResourceBasePath(resourcePath: string | undefined | null): void;
|
|||
|
unbindBusyProperty(object: GObject.Object, property: string): void;
|
|||
|
unmarkBusy(): void;
|
|||
|
withdrawNotification(id: string): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
actionAdded(actionName: string): void;
|
|||
|
actionEnabledChanged(actionName: string, enabled: boolean): void;
|
|||
|
actionRemoved(actionName: string): void;
|
|||
|
actionStateChanged(actionName: string, state: AuGlibEx.Variant): void;
|
|||
|
activateAction(actionName: string, parameter: AuGlibEx.Variant | undefined | null): void;
|
|||
|
changeActionState(actionName: string, value: AuGlibEx.Variant): void;
|
|||
|
getActionEnabled(actionName: string): boolean;
|
|||
|
getActionParameterType(actionName: string): AuGlibEx.VariantType;
|
|||
|
getActionState(actionName: string): AuGlibEx.Variant;
|
|||
|
getActionStateHint(actionName: string): AuGlibEx.Variant;
|
|||
|
getActionStateType(actionName: string): AuGlibEx.VariantType;
|
|||
|
hasAction(actionName: string): boolean;
|
|||
|
listActions(): string[];
|
|||
|
queryAction(actionName: string, enabled: boolean, parameterType ?: AuGlibEx.VariantType, stateType ?: AuGlibEx.VariantType, stateHint ?: AuGlibEx.Variant, state ?: AuGlibEx.Variant): boolean;
|
|||
|
addAction(action: AuGIO.Action): void;
|
|||
|
addActionEntries(entries: AuGIO.ActionEntry[], nEntries: number): void;
|
|||
|
lookupAction(actionName: string): AuGIO.Action;
|
|||
|
removeAction(actionName: string): void;
|
|||
|
}
|
|||
|
|
|||
|
class ApplicationCtor {
|
|||
|
applicationId ?: string;
|
|||
|
flags ?: AuGIO.ApplicationFlags;
|
|||
|
resourceBasePath ?: string;
|
|||
|
isRegistered ?: boolean;
|
|||
|
isRemote ?: boolean;
|
|||
|
inactivityTimeout ?: number;
|
|||
|
actionGroup ?: AuGIO.ActionGroup;
|
|||
|
isBusy ?: boolean;
|
|||
|
}
|
|||
|
|
|||
|
class ApplicationEventListener extends AuGlibEx.IEventListener {
|
|||
|
activate(): void;
|
|||
|
commandLine(commandLine: AuGIO.ApplicationCommandLine): number;
|
|||
|
handleLocalOptions(options: AuGlibEx.VariantDict): number;
|
|||
|
nameLost(): boolean;
|
|||
|
open(files: AuGIO.File[], nFiles: number, hint: string): void;
|
|||
|
shutdown(): void;
|
|||
|
startup(): void;
|
|||
|
}
|
|||
|
|
|||
|
class ApplicationCommandLine extends GObject.Object {
|
|||
|
constructor(initializerList ?: ApplicationCommandLineCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.ApplicationCommandLinePrivate;
|
|||
|
|
|||
|
arguments : AuGlibEx.Variant;
|
|||
|
isRemote : boolean;
|
|||
|
options : AuGlibEx.Variant;
|
|||
|
platformData : AuGlibEx.Variant;
|
|||
|
|
|||
|
createFileForArg(arg: string): AuGIO.File;
|
|||
|
getArguments(argc ?: number): string[];
|
|||
|
getCwd(): string;
|
|||
|
getEnviron(): string[];
|
|||
|
getExitStatus(): number;
|
|||
|
getIsRemote(): boolean;
|
|||
|
getOptionsDict(): AuGlibEx.VariantDict;
|
|||
|
getPlatformData(): AuGlibEx.Variant;
|
|||
|
getStdin(): AuGIO.InputStream;
|
|||
|
getenv(name: string): string;
|
|||
|
setExitStatus(exitStatus: number): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class ApplicationCommandLineCtor {
|
|||
|
arguments ?: any;
|
|||
|
options ?: any;
|
|||
|
platformData ?: any;
|
|||
|
isRemote ?: boolean;
|
|||
|
}
|
|||
|
|
|||
|
class BufferedInputStream extends AuGIO.FilterInputStream implements AuGIO.Seekable {
|
|||
|
constructor(initializerList ?: BufferedInputStreamCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.FilterInputStream;
|
|||
|
priv : AuGIO.BufferedInputStreamPrivate;
|
|||
|
|
|||
|
bufferSize : number;
|
|||
|
|
|||
|
static New(baseStream: AuGIO.InputStream): AuGIO.InputStream;
|
|||
|
static NewSized(baseStream: AuGIO.InputStream, size: number | bigint): AuGIO.InputStream;
|
|||
|
fill(count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint;
|
|||
|
fillAsync(count: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
fillFinish(result: AuGIO.AsyncResult): number | bigint;
|
|||
|
getAvailable(): number | bigint;
|
|||
|
getBufferSize(): number | bigint;
|
|||
|
peek(buffer: number[], offset: number | bigint, count: number | bigint): number | bigint;
|
|||
|
peekBuffer(count: number | bigint): number[];
|
|||
|
readByte(cancellable: AuGIO.Cancellable | undefined | null): number;
|
|||
|
setBufferSize(size: number | bigint): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
canSeek(): boolean;
|
|||
|
canTruncate(): boolean;
|
|||
|
seek(offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
tell(): number | bigint;
|
|||
|
truncate(offset: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class BufferedInputStreamCtor {
|
|||
|
baseStream ?: AuGIO.InputStream;
|
|||
|
closeBaseStream ?: boolean;
|
|||
|
bufferSize ?: number;
|
|||
|
}
|
|||
|
|
|||
|
class BufferedOutputStream extends AuGIO.FilterOutputStream implements AuGIO.Seekable {
|
|||
|
constructor(initializerList ?: BufferedOutputStreamCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.FilterOutputStream;
|
|||
|
priv : AuGIO.BufferedOutputStreamPrivate;
|
|||
|
|
|||
|
autoGrow : boolean;
|
|||
|
bufferSize : number;
|
|||
|
|
|||
|
static New(baseStream: AuGIO.OutputStream): AuGIO.OutputStream;
|
|||
|
static NewSized(baseStream: AuGIO.OutputStream, size: number | bigint): AuGIO.OutputStream;
|
|||
|
getAutoGrow(): boolean;
|
|||
|
getBufferSize(): number | bigint;
|
|||
|
setAutoGrow(autoGrow: boolean): void;
|
|||
|
setBufferSize(size: number | bigint): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
canSeek(): boolean;
|
|||
|
canTruncate(): boolean;
|
|||
|
seek(offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
tell(): number | bigint;
|
|||
|
truncate(offset: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class BufferedOutputStreamCtor {
|
|||
|
baseStream ?: AuGIO.OutputStream;
|
|||
|
closeBaseStream ?: boolean;
|
|||
|
bufferSize ?: number;
|
|||
|
autoGrow ?: boolean;
|
|||
|
}
|
|||
|
|
|||
|
class BytesIcon extends GObject.Object implements AuGIO.Icon, AuGIO.LoadableIcon {
|
|||
|
constructor(initializerList ?: BytesIconCtor);
|
|||
|
|
|||
|
bytes : AuGlibEx.Bytes;
|
|||
|
|
|||
|
static New(bytes: AuGlibEx.Bytes): AuGIO.BytesIcon;
|
|||
|
getBytes(): AuGlibEx.Bytes;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
static Deserialize(value: AuGlibEx.Variant): AuGIO.Icon;
|
|||
|
static Hash(): number;
|
|||
|
static NewForString(str: string): AuGIO.Icon;
|
|||
|
equal(icon2: AuGIO.Icon | undefined | null): boolean;
|
|||
|
serialize(): AuGlibEx.Variant;
|
|||
|
load(size: number, type ?: string, cancellable ?: AuGIO.Cancellable | undefined | null): AuGIO.InputStream;
|
|||
|
loadAsync(size: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
loadFinish(res: AuGIO.AsyncResult, type ?: string): AuGIO.InputStream;
|
|||
|
}
|
|||
|
|
|||
|
class BytesIconCtor {
|
|||
|
bytes ?: AuGlibEx.Bytes;
|
|||
|
}
|
|||
|
|
|||
|
class Cancellable extends GObject.Object {
|
|||
|
constructor(initializerList ?: CancellableCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.CancellablePrivate;
|
|||
|
|
|||
|
static New(): AuGIO.Cancellable;
|
|||
|
static GetCurrent(): AuGIO.Cancellable;
|
|||
|
cancel(): void;
|
|||
|
connect(callback: () => void, dataDestroyFunc: () => void | undefined | null): number;
|
|||
|
disconnect(handlerId: number): void;
|
|||
|
getFd(): number;
|
|||
|
isCancelled(): boolean;
|
|||
|
makePollfd(pollfd: AuGlibEx.PollFD): boolean;
|
|||
|
popCurrent(): void;
|
|||
|
pushCurrent(): void;
|
|||
|
releaseFd(): void;
|
|||
|
reset(): void;
|
|||
|
setErrorIfCancelled(): boolean;
|
|||
|
sourceNew(): AuGlibEx.Source;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class CancellableCtor {
|
|||
|
}
|
|||
|
|
|||
|
class CancellableEventListener extends AuGlibEx.IEventListener {
|
|||
|
cancelled(): void;
|
|||
|
}
|
|||
|
|
|||
|
class CharsetConverter extends GObject.Object implements AuGIO.Converter, AuGIO.Initable {
|
|||
|
constructor(initializerList ?: CharsetConverterCtor);
|
|||
|
|
|||
|
fromCharset : string;
|
|||
|
toCharset : string;
|
|||
|
useFallback : boolean;
|
|||
|
|
|||
|
static New(toCharset: string, fromCharset: string): AuGIO.CharsetConverter;
|
|||
|
getNumFallbacks(): number;
|
|||
|
getUseFallback(): boolean;
|
|||
|
setUseFallback(useFallback: boolean): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
convert(inbuf: number[], inbufSize: number | bigint, outbuf: number[], outbufSize: number | bigint, flags: AuGIO.ConverterFlags, bytesRead: number | bigint, bytesWritten: number | bigint): AuGIO.ConverterResult;
|
|||
|
reset(): void;
|
|||
|
init(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class CharsetConverterCtor {
|
|||
|
fromCharset ?: string;
|
|||
|
toCharset ?: string;
|
|||
|
useFallback ?: boolean;
|
|||
|
}
|
|||
|
|
|||
|
class ConverterInputStream extends AuGIO.FilterInputStream implements AuGIO.PollableInputStream {
|
|||
|
constructor(initializerList ?: ConverterInputStreamCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.FilterInputStream;
|
|||
|
priv : AuGIO.ConverterInputStreamPrivate;
|
|||
|
|
|||
|
converter : AuGIO.Converter;
|
|||
|
|
|||
|
static New(baseStream: AuGIO.InputStream, converter: AuGIO.Converter): AuGIO.InputStream;
|
|||
|
getConverter(): AuGIO.Converter;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
canPoll(): boolean;
|
|||
|
createSource(cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Source;
|
|||
|
isReadable(): boolean;
|
|||
|
readNonblocking(buffer: number[], count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint;
|
|||
|
}
|
|||
|
|
|||
|
class ConverterInputStreamCtor {
|
|||
|
baseStream ?: AuGIO.InputStream;
|
|||
|
closeBaseStream ?: boolean;
|
|||
|
converter ?: AuGIO.Converter;
|
|||
|
}
|
|||
|
|
|||
|
class ConverterOutputStream extends AuGIO.FilterOutputStream implements AuGIO.PollableOutputStream {
|
|||
|
constructor(initializerList ?: ConverterOutputStreamCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.FilterOutputStream;
|
|||
|
priv : AuGIO.ConverterOutputStreamPrivate;
|
|||
|
|
|||
|
converter : AuGIO.Converter;
|
|||
|
|
|||
|
static New(baseStream: AuGIO.OutputStream, converter: AuGIO.Converter): AuGIO.OutputStream;
|
|||
|
getConverter(): AuGIO.Converter;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
canPoll(): boolean;
|
|||
|
createSource(cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Source;
|
|||
|
isWritable(): boolean;
|
|||
|
writeNonblocking(buffer: number[], count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint;
|
|||
|
writevNonblocking(vectors: AuGIO.OutputVector[], nVectors: number | bigint, bytesWritten ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): AuGIO.PollableReturn;
|
|||
|
}
|
|||
|
|
|||
|
class ConverterOutputStreamCtor {
|
|||
|
baseStream ?: AuGIO.OutputStream;
|
|||
|
closeBaseStream ?: boolean;
|
|||
|
converter ?: AuGIO.Converter;
|
|||
|
}
|
|||
|
|
|||
|
class Credentials extends GObject.Object {
|
|||
|
constructor(initializerList ?: CredentialsCtor);
|
|||
|
|
|||
|
static New(): AuGIO.Credentials;
|
|||
|
isSameUser(otherCredentials: AuGIO.Credentials): boolean;
|
|||
|
setNative(nativeType: AuGIO.CredentialsType): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class CredentialsCtor {
|
|||
|
}
|
|||
|
|
|||
|
class DBusActionGroup extends GObject.Object implements AuGIO.ActionGroup, AuGIO.RemoteActionGroup {
|
|||
|
constructor(initializerList ?: DBusActionGroupCtor);
|
|||
|
|
|||
|
static Get(connection: AuGIO.DBusConnection, busName: string | undefined | null, objectPath: string): AuGIO.DBusActionGroup;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
actionAdded(actionName: string): void;
|
|||
|
actionEnabledChanged(actionName: string, enabled: boolean): void;
|
|||
|
actionRemoved(actionName: string): void;
|
|||
|
actionStateChanged(actionName: string, state: AuGlibEx.Variant): void;
|
|||
|
activateAction(actionName: string, parameter: AuGlibEx.Variant | undefined | null): void;
|
|||
|
changeActionState(actionName: string, value: AuGlibEx.Variant): void;
|
|||
|
getActionEnabled(actionName: string): boolean;
|
|||
|
getActionParameterType(actionName: string): AuGlibEx.VariantType;
|
|||
|
getActionState(actionName: string): AuGlibEx.Variant;
|
|||
|
getActionStateHint(actionName: string): AuGlibEx.Variant;
|
|||
|
getActionStateType(actionName: string): AuGlibEx.VariantType;
|
|||
|
hasAction(actionName: string): boolean;
|
|||
|
listActions(): string[];
|
|||
|
queryAction(actionName: string, enabled: boolean, parameterType ?: AuGlibEx.VariantType, stateType ?: AuGlibEx.VariantType, stateHint ?: AuGlibEx.Variant, state ?: AuGlibEx.Variant): boolean;
|
|||
|
activateActionFull(actionName: string, parameter: AuGlibEx.Variant | undefined | null, platformData: AuGlibEx.Variant): void;
|
|||
|
changeActionStateFull(actionName: string, value: AuGlibEx.Variant, platformData: AuGlibEx.Variant): void;
|
|||
|
}
|
|||
|
|
|||
|
class DBusActionGroupCtor {
|
|||
|
}
|
|||
|
|
|||
|
class DBusAuthObserver extends GObject.Object {
|
|||
|
constructor(initializerList ?: DBusAuthObserverCtor);
|
|||
|
|
|||
|
static New(): AuGIO.DBusAuthObserver;
|
|||
|
allowMechanism(mechanism: string): boolean;
|
|||
|
authorizeAuthenticatedPeer(stream: AuGIO.IOStream, credentials: AuGIO.Credentials | undefined | null): boolean;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class DBusAuthObserverCtor {
|
|||
|
}
|
|||
|
|
|||
|
class DBusAuthObserverEventListener extends AuGlibEx.IEventListener {
|
|||
|
allowMechanism(mechanism: string): boolean;
|
|||
|
authorizeAuthenticatedPeer(stream: AuGIO.IOStream, credentials: AuGIO.Credentials | undefined | null): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class DBusConnection extends GObject.Object implements AuGIO.AsyncInitable, AuGIO.Initable {
|
|||
|
constructor(initializerList ?: DBusConnectionCtor);
|
|||
|
|
|||
|
address : string;
|
|||
|
authenticationObserver : AuGIO.DBusAuthObserver;
|
|||
|
capabilities : AuGIO.DBusCapabilityFlags;
|
|||
|
closed : boolean;
|
|||
|
exitOnClose : boolean;
|
|||
|
flags : AuGIO.DBusConnectionFlags;
|
|||
|
guid : string;
|
|||
|
stream : AuGIO.IOStream;
|
|||
|
uniqueName : string;
|
|||
|
|
|||
|
static NewFinish(res: AuGIO.AsyncResult): AuGIO.DBusConnection;
|
|||
|
static NewForAddressFinish(res: AuGIO.AsyncResult): AuGIO.DBusConnection;
|
|||
|
static NewForAddressSync(address: string, flags: AuGIO.DBusConnectionFlags, observer: AuGIO.DBusAuthObserver | undefined | null, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.DBusConnection;
|
|||
|
static NewSync(stream: AuGIO.IOStream, guid: string | undefined | null, flags: AuGIO.DBusConnectionFlags, observer: AuGIO.DBusAuthObserver | undefined | null, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.DBusConnection;
|
|||
|
static New(stream: AuGIO.IOStream, guid: string | undefined | null, flags: AuGIO.DBusConnectionFlags, observer: AuGIO.DBusAuthObserver | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
static NewForAddress(address: string, flags: AuGIO.DBusConnectionFlags, observer: AuGIO.DBusAuthObserver | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
addFilter(filterFunction: (connection: AuGIO.DBusConnection, message: AuGIO.DBusMessage, incoming: boolean) => AuGIO.DBusMessage, userDataFreeFunc: () => void): number;
|
|||
|
call(busName: string | undefined | null, objectPath: string, interfaceName: string, methodName: string, parameters: AuGlibEx.Variant | undefined | null, replyType: AuGlibEx.VariantType | undefined | null, flags: AuGIO.DBusCallFlags, timeoutMsec: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
callFinish(res: AuGIO.AsyncResult): AuGlibEx.Variant;
|
|||
|
callSync(busName: string | undefined | null, objectPath: string, interfaceName: string, methodName: string, parameters: AuGlibEx.Variant | undefined | null, replyType: AuGlibEx.VariantType | undefined | null, flags: AuGIO.DBusCallFlags, timeoutMsec: number, cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Variant;
|
|||
|
callWithUnixFdList(busName: string | undefined | null, objectPath: string, interfaceName: string, methodName: string, parameters: AuGlibEx.Variant | undefined | null, replyType: AuGlibEx.VariantType | undefined | null, flags: AuGIO.DBusCallFlags, timeoutMsec: number, fdList: AuGIO.UnixFDList | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
callWithUnixFdListFinish(outFdList ?: AuGIO.UnixFDList, res ?: AuGIO.AsyncResult): AuGlibEx.Variant;
|
|||
|
callWithUnixFdListSync(busName: string | undefined | null, objectPath: string, interfaceName: string, methodName: string, parameters: AuGlibEx.Variant | undefined | null, replyType: AuGlibEx.VariantType | undefined | null, flags: AuGIO.DBusCallFlags, timeoutMsec: number, fdList: AuGIO.UnixFDList | undefined | null, outFdList ?: AuGIO.UnixFDList, cancellable ?: AuGIO.Cancellable | undefined | null): AuGlibEx.Variant;
|
|||
|
close(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
closeFinish(res: AuGIO.AsyncResult): boolean;
|
|||
|
closeSync(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
emitSignal(destinationBusName: string | undefined | null, objectPath: string, interfaceName: string, signalName: string, parameters: AuGlibEx.Variant | undefined | null): boolean;
|
|||
|
exportActionGroup(objectPath: string, actionGroup: AuGIO.ActionGroup): number;
|
|||
|
exportMenuModel(objectPath: string, menu: AuGIO.MenuModel): number;
|
|||
|
flush(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
flushFinish(res: AuGIO.AsyncResult): boolean;
|
|||
|
flushSync(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
getCapabilities(): AuGIO.DBusCapabilityFlags;
|
|||
|
getExitOnClose(): boolean;
|
|||
|
getFlags(): AuGIO.DBusConnectionFlags;
|
|||
|
getGuid(): string;
|
|||
|
getLastSerial(): number;
|
|||
|
getPeerCredentials(): AuGIO.Credentials;
|
|||
|
getStream(): AuGIO.IOStream;
|
|||
|
getUniqueName(): string;
|
|||
|
isClosed(): boolean;
|
|||
|
registerObject(objectPath: string, interfaceInfo: AuGIO.DBusInterfaceInfo, methodCallClosure: GObject.Closure | undefined | null, getPropertyClosure: GObject.Closure | undefined | null, setPropertyClosure: GObject.Closure | undefined | null): number;
|
|||
|
registerSubtree(objectPath: string, vtable: AuGIO.DBusSubtreeVTable, flags: AuGIO.DBusSubtreeFlags, userDataFreeFunc: () => void): number;
|
|||
|
removeFilter(filterId: number): void;
|
|||
|
sendMessage(message: AuGIO.DBusMessage, flags: AuGIO.DBusSendMessageFlags, outSerial ?: number): boolean;
|
|||
|
sendMessageWithReply(message: AuGIO.DBusMessage, flags: AuGIO.DBusSendMessageFlags, timeoutMsec: number, outSerial ?: number, cancellable ?: AuGIO.Cancellable | undefined | null, callback ?: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
sendMessageWithReplyFinish(res: AuGIO.AsyncResult): AuGIO.DBusMessage;
|
|||
|
sendMessageWithReplySync(message: AuGIO.DBusMessage, flags: AuGIO.DBusSendMessageFlags, timeoutMsec: number, outSerial ?: number, cancellable ?: AuGIO.Cancellable | undefined | null): AuGIO.DBusMessage;
|
|||
|
setExitOnClose(exitOnClose: boolean): void;
|
|||
|
signalSubscribe(sender: string | undefined | null, interfaceName: string | undefined | null, member: string | undefined | null, objectPath: string | undefined | null, arg0: string | undefined | null, flags: AuGIO.DBusSignalFlags, callback: (connection: AuGIO.DBusConnection, senderName: string | undefined | null, objectPath: string, interfaceName: string, signalName: string, parameters: AuGlibEx.Variant) => void, userDataFreeFunc: () => void | undefined | null): number;
|
|||
|
signalUnsubscribe(subscriptionId: number): void;
|
|||
|
startMessageProcessing(): void;
|
|||
|
unexportActionGroup(exportId: number): void;
|
|||
|
unexportMenuModel(exportId: number): void;
|
|||
|
unregisterObject(registrationId: number): boolean;
|
|||
|
unregisterSubtree(registrationId: number): boolean;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
static NewvAsync(objectType: number, nParameters: number, parameters: GObject.Parameter, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
initAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
initFinish(res: AuGIO.AsyncResult): boolean;
|
|||
|
newFinish(res: AuGIO.AsyncResult): GObject.Object;
|
|||
|
init(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class DBusConnectionCtor {
|
|||
|
stream ?: AuGIO.IOStream;
|
|||
|
address ?: string;
|
|||
|
flags ?: AuGIO.DBusConnectionFlags;
|
|||
|
guid ?: string;
|
|||
|
uniqueName ?: string;
|
|||
|
closed ?: boolean;
|
|||
|
exitOnClose ?: boolean;
|
|||
|
capabilities ?: AuGIO.DBusCapabilityFlags;
|
|||
|
authenticationObserver ?: AuGIO.DBusAuthObserver;
|
|||
|
}
|
|||
|
|
|||
|
class DBusConnectionEventListener extends AuGlibEx.IEventListener {
|
|||
|
closed(remotePeerVanished: boolean, error: AuGlibEx.Error | undefined | null): void;
|
|||
|
}
|
|||
|
|
|||
|
class DBusInterfaceSkeleton extends GObject.Object implements AuGIO.DBusInterface {
|
|||
|
constructor(initializerList ?: DBusInterfaceSkeletonCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.DBusInterfaceSkeletonPrivate;
|
|||
|
|
|||
|
gFlags : AuGIO.DBusInterfaceSkeletonFlags;
|
|||
|
|
|||
|
export(connection: AuGIO.DBusConnection, objectPath: string): boolean;
|
|||
|
flush(): void;
|
|||
|
getConnection(): AuGIO.DBusConnection;
|
|||
|
getConnections(): AuGIO.DBusConnection[];
|
|||
|
getFlags(): AuGIO.DBusInterfaceSkeletonFlags;
|
|||
|
getInfo(): AuGIO.DBusInterfaceInfo;
|
|||
|
getObjectPath(): string;
|
|||
|
getProperties(): AuGlibEx.Variant;
|
|||
|
hasConnection(connection: AuGIO.DBusConnection): boolean;
|
|||
|
setFlags(flags: AuGIO.DBusInterfaceSkeletonFlags): void;
|
|||
|
unexport(): void;
|
|||
|
unexportFromConnection(connection: AuGIO.DBusConnection): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
getObject(): AuGIO.DBusObject;
|
|||
|
setObject(object: AuGIO.DBusObject | undefined | null): void;
|
|||
|
}
|
|||
|
|
|||
|
class DBusInterfaceSkeletonCtor {
|
|||
|
gFlags ?: AuGIO.DBusInterfaceSkeletonFlags;
|
|||
|
}
|
|||
|
|
|||
|
class DBusInterfaceSkeletonEventListener extends AuGlibEx.IEventListener {
|
|||
|
gAuthorizeMethod(invocation: AuGIO.DBusMethodInvocation): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class DBusMenuModel extends AuGIO.MenuModel {
|
|||
|
constructor(initializerList ?: DBusMenuModelCtor);
|
|||
|
|
|||
|
static Get(connection: AuGIO.DBusConnection, busName: string | undefined | null, objectPath: string): AuGIO.DBusMenuModel;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class DBusMenuModelCtor {
|
|||
|
}
|
|||
|
|
|||
|
class DBusMessage extends GObject.Object {
|
|||
|
constructor(initializerList ?: DBusMessageCtor);
|
|||
|
|
|||
|
locked : boolean;
|
|||
|
|
|||
|
static New(): AuGIO.DBusMessage;
|
|||
|
static NewFromBlob(blob: number[], blobLen: number | bigint, capabilities: AuGIO.DBusCapabilityFlags): AuGIO.DBusMessage;
|
|||
|
static NewMethodCall(name: string | undefined | null, path: string, interface: string | undefined | null, method: string): AuGIO.DBusMessage;
|
|||
|
static NewSignal(path: string, interface: string, signal: string): AuGIO.DBusMessage;
|
|||
|
static BytesNeeded(blob: number[], blobLen: number | bigint): number | bigint;
|
|||
|
copy(): AuGIO.DBusMessage;
|
|||
|
getArg0(): string;
|
|||
|
getBody(): AuGlibEx.Variant;
|
|||
|
getByteOrder(): AuGIO.DBusMessageByteOrder;
|
|||
|
getDestination(): string;
|
|||
|
getErrorName(): string;
|
|||
|
getFlags(): AuGIO.DBusMessageFlags;
|
|||
|
getHeader(headerField: AuGIO.DBusMessageHeaderField): AuGlibEx.Variant;
|
|||
|
getHeaderFields(): number[];
|
|||
|
getInterface(): string;
|
|||
|
getLocked(): boolean;
|
|||
|
getMember(): string;
|
|||
|
getMessageType(): AuGIO.DBusMessageType;
|
|||
|
getNumUnixFds(): number;
|
|||
|
getPath(): string;
|
|||
|
getReplySerial(): number;
|
|||
|
getSender(): string;
|
|||
|
getSerial(): number;
|
|||
|
getSignature(): string;
|
|||
|
getUnixFdList(): AuGIO.UnixFDList;
|
|||
|
lock(): void;
|
|||
|
newMethodErrorLiteral(errorName: string, errorMessage: string): AuGIO.DBusMessage;
|
|||
|
newMethodReply(): AuGIO.DBusMessage;
|
|||
|
print(indent: number): string;
|
|||
|
setBody(body: AuGlibEx.Variant): void;
|
|||
|
setByteOrder(byteOrder: AuGIO.DBusMessageByteOrder): void;
|
|||
|
setDestination(value: string | undefined | null): void;
|
|||
|
setErrorName(value: string): void;
|
|||
|
setFlags(flags: AuGIO.DBusMessageFlags): void;
|
|||
|
setHeader(headerField: AuGIO.DBusMessageHeaderField, value: AuGlibEx.Variant | undefined | null): void;
|
|||
|
setInterface(value: string | undefined | null): void;
|
|||
|
setMember(value: string | undefined | null): void;
|
|||
|
setMessageType(type: AuGIO.DBusMessageType): void;
|
|||
|
setNumUnixFds(value: number): void;
|
|||
|
setPath(value: string | undefined | null): void;
|
|||
|
setReplySerial(value: number): void;
|
|||
|
setSender(value: string | undefined | null): void;
|
|||
|
setSerial(serial: number): void;
|
|||
|
setSignature(value: string | undefined | null): void;
|
|||
|
setUnixFdList(fdList: AuGIO.UnixFDList | undefined | null): void;
|
|||
|
toBlob(outSize: number | bigint, capabilities: AuGIO.DBusCapabilityFlags): number[];
|
|||
|
toGerror(): boolean;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class DBusMessageCtor {
|
|||
|
locked ?: boolean;
|
|||
|
}
|
|||
|
|
|||
|
class DBusMethodInvocation extends GObject.Object {
|
|||
|
constructor(initializerList ?: DBusMethodInvocationCtor);
|
|||
|
|
|||
|
getConnection(): AuGIO.DBusConnection;
|
|||
|
getInterfaceName(): string;
|
|||
|
getMessage(): AuGIO.DBusMessage;
|
|||
|
getMethodInfo(): AuGIO.DBusMethodInfo;
|
|||
|
getMethodName(): string;
|
|||
|
getObjectPath(): string;
|
|||
|
getParameters(): AuGlibEx.Variant;
|
|||
|
getPropertyInfo(): AuGIO.DBusPropertyInfo;
|
|||
|
getSender(): string;
|
|||
|
returnDbusError(errorName: string, errorMessage: string): void;
|
|||
|
returnErrorLiteral(domain: number, code: number, message: string): void;
|
|||
|
returnGerror(error: AuGlibEx.Error): void;
|
|||
|
returnValue(parameters: AuGlibEx.Variant | undefined | null): void;
|
|||
|
returnValueWithUnixFdList(parameters: AuGlibEx.Variant | undefined | null, fdList: AuGIO.UnixFDList | undefined | null): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class DBusMethodInvocationCtor {
|
|||
|
}
|
|||
|
|
|||
|
class DBusObjectManagerClient extends GObject.Object implements AuGIO.AsyncInitable, AuGIO.DBusObjectManager, AuGIO.Initable {
|
|||
|
constructor(initializerList ?: DBusObjectManagerClientCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.DBusObjectManagerClientPrivate;
|
|||
|
|
|||
|
busType : AuGIO.BusType;
|
|||
|
connection : AuGIO.DBusConnection;
|
|||
|
flags : AuGIO.DBusObjectManagerClientFlags;
|
|||
|
getProxyTypeDestroyNotify : void;
|
|||
|
getProxyTypeFunc : void;
|
|||
|
getProxyTypeUserData : void;
|
|||
|
name : string;
|
|||
|
nameOwner : string;
|
|||
|
objectPath : string;
|
|||
|
|
|||
|
static NewFinish(res: AuGIO.AsyncResult): AuGIO.DBusObjectManagerClient;
|
|||
|
static NewForBusFinish(res: AuGIO.AsyncResult): AuGIO.DBusObjectManagerClient;
|
|||
|
static NewForBusSync(busType: AuGIO.BusType, flags: AuGIO.DBusObjectManagerClientFlags, name: string, objectPath: string, getProxyTypeFunc: (manager: AuGIO.DBusObjectManagerClient, objectPath: string, interfaceName: string | undefined | null) => number | undefined | null, getProxyTypeDestroyNotify: () => void | undefined | null, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.DBusObjectManagerClient;
|
|||
|
static NewSync(connection: AuGIO.DBusConnection, flags: AuGIO.DBusObjectManagerClientFlags, name: string | undefined | null, objectPath: string, getProxyTypeFunc: (manager: AuGIO.DBusObjectManagerClient, objectPath: string, interfaceName: string | undefined | null) => number | undefined | null, getProxyTypeDestroyNotify: () => void | undefined | null, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.DBusObjectManagerClient;
|
|||
|
static New(connection: AuGIO.DBusConnection, flags: AuGIO.DBusObjectManagerClientFlags, name: string, objectPath: string, getProxyTypeFunc: (manager: AuGIO.DBusObjectManagerClient, objectPath: string, interfaceName: string | undefined | null) => number | undefined | null, getProxyTypeDestroyNotify: () => void | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
static NewForBus(busType: AuGIO.BusType, flags: AuGIO.DBusObjectManagerClientFlags, name: string, objectPath: string, getProxyTypeFunc: (manager: AuGIO.DBusObjectManagerClient, objectPath: string, interfaceName: string | undefined | null) => number | undefined | null, getProxyTypeDestroyNotify: () => void | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
getConnection(): AuGIO.DBusConnection;
|
|||
|
getFlags(): AuGIO.DBusObjectManagerClientFlags;
|
|||
|
getName(): string;
|
|||
|
getNameOwner(): string;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
static NewvAsync(objectType: number, nParameters: number, parameters: GObject.Parameter, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
initAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
initFinish(res: AuGIO.AsyncResult): boolean;
|
|||
|
newFinish(res: AuGIO.AsyncResult): GObject.Object;
|
|||
|
getInterface(objectPath: string, interfaceName: string): AuGIO.DBusInterface;
|
|||
|
getObject(objectPath: string): AuGIO.DBusObject;
|
|||
|
getObjectPath(): string;
|
|||
|
getObjects(): AuGIO.DBusObject[];
|
|||
|
init(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class DBusObjectManagerClientCtor {
|
|||
|
busType ?: AuGIO.BusType;
|
|||
|
connection ?: AuGIO.DBusConnection;
|
|||
|
flags ?: AuGIO.DBusObjectManagerClientFlags;
|
|||
|
objectPath ?: string;
|
|||
|
name ?: string;
|
|||
|
nameOwner ?: string;
|
|||
|
getProxyTypeFunc ?: number | bigint;
|
|||
|
getProxyTypeUserData ?: number | bigint;
|
|||
|
getProxyTypeDestroyNotify ?: number | bigint;
|
|||
|
}
|
|||
|
|
|||
|
class DBusObjectManagerClientEventListener extends AuGlibEx.IEventListener {
|
|||
|
interfaceProxyPropertiesChanged(objectProxy: AuGIO.DBusObjectProxy, interfaceProxy: AuGIO.DBusProxy, changedProperties: AuGlibEx.Variant, invalidatedProperties: string[]): void;
|
|||
|
interfaceProxySignal(objectProxy: AuGIO.DBusObjectProxy, interfaceProxy: AuGIO.DBusProxy, senderName: string, signalName: string, parameters: AuGlibEx.Variant): void;
|
|||
|
}
|
|||
|
|
|||
|
class DBusObjectManagerServer extends GObject.Object implements AuGIO.DBusObjectManager {
|
|||
|
constructor(initializerList ?: DBusObjectManagerServerCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.DBusObjectManagerServerPrivate;
|
|||
|
|
|||
|
connection : AuGIO.DBusConnection;
|
|||
|
objectPath : string;
|
|||
|
|
|||
|
static New(objectPath: string): AuGIO.DBusObjectManagerServer;
|
|||
|
export(object: AuGIO.DBusObjectSkeleton): void;
|
|||
|
exportUniquely(object: AuGIO.DBusObjectSkeleton): void;
|
|||
|
getConnection(): AuGIO.DBusConnection;
|
|||
|
isExported(object: AuGIO.DBusObjectSkeleton): boolean;
|
|||
|
setConnection(connection: AuGIO.DBusConnection | undefined | null): void;
|
|||
|
unexport(objectPath: string): boolean;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
getInterface(objectPath: string, interfaceName: string): AuGIO.DBusInterface;
|
|||
|
getObject(objectPath: string): AuGIO.DBusObject;
|
|||
|
getObjectPath(): string;
|
|||
|
getObjects(): AuGIO.DBusObject[];
|
|||
|
}
|
|||
|
|
|||
|
class DBusObjectManagerServerCtor {
|
|||
|
connection ?: AuGIO.DBusConnection;
|
|||
|
objectPath ?: string;
|
|||
|
}
|
|||
|
|
|||
|
class DBusObjectProxy extends GObject.Object implements AuGIO.DBusObject {
|
|||
|
constructor(initializerList ?: DBusObjectProxyCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.DBusObjectProxyPrivate;
|
|||
|
|
|||
|
gConnection : AuGIO.DBusConnection;
|
|||
|
gObjectPath : string;
|
|||
|
|
|||
|
static New(connection: AuGIO.DBusConnection, objectPath: string): AuGIO.DBusObjectProxy;
|
|||
|
getConnection(): AuGIO.DBusConnection;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
getInterface(interfaceName: string): AuGIO.DBusInterface;
|
|||
|
getInterfaces(): AuGIO.DBusInterface[];
|
|||
|
getObjectPath(): string;
|
|||
|
}
|
|||
|
|
|||
|
class DBusObjectProxyCtor {
|
|||
|
gObjectPath ?: string;
|
|||
|
gConnection ?: AuGIO.DBusConnection;
|
|||
|
}
|
|||
|
|
|||
|
class DBusObjectSkeleton extends GObject.Object implements AuGIO.DBusObject {
|
|||
|
constructor(initializerList ?: DBusObjectSkeletonCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.DBusObjectSkeletonPrivate;
|
|||
|
|
|||
|
gObjectPath : string;
|
|||
|
|
|||
|
static New(objectPath: string): AuGIO.DBusObjectSkeleton;
|
|||
|
addInterface(interface: AuGIO.DBusInterfaceSkeleton): void;
|
|||
|
flush(): void;
|
|||
|
removeInterface(interface: AuGIO.DBusInterfaceSkeleton): void;
|
|||
|
removeInterfaceByName(interfaceName: string): void;
|
|||
|
setObjectPath(objectPath: string): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
getInterface(interfaceName: string): AuGIO.DBusInterface;
|
|||
|
getInterfaces(): AuGIO.DBusInterface[];
|
|||
|
getObjectPath(): string;
|
|||
|
}
|
|||
|
|
|||
|
class DBusObjectSkeletonCtor {
|
|||
|
gObjectPath ?: string;
|
|||
|
}
|
|||
|
|
|||
|
class DBusObjectSkeletonEventListener extends AuGlibEx.IEventListener {
|
|||
|
authorizeMethod(interface: AuGIO.DBusInterfaceSkeleton, invocation: AuGIO.DBusMethodInvocation): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class DBusProxy extends GObject.Object implements AuGIO.AsyncInitable, AuGIO.DBusInterface, AuGIO.Initable {
|
|||
|
constructor(initializerList ?: DBusProxyCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.DBusProxyPrivate;
|
|||
|
|
|||
|
gBusType : AuGIO.BusType;
|
|||
|
gConnection : AuGIO.DBusConnection;
|
|||
|
gDefaultTimeout : number;
|
|||
|
gFlags : AuGIO.DBusProxyFlags;
|
|||
|
gInterfaceInfo : AuGIO.DBusInterfaceInfo;
|
|||
|
gInterfaceName : string;
|
|||
|
gName : string;
|
|||
|
gNameOwner : string;
|
|||
|
gObjectPath : string;
|
|||
|
|
|||
|
static NewFinish(res: AuGIO.AsyncResult): AuGIO.DBusProxy;
|
|||
|
static NewForBusFinish(res: AuGIO.AsyncResult): AuGIO.DBusProxy;
|
|||
|
static NewForBusSync(busType: AuGIO.BusType, flags: AuGIO.DBusProxyFlags, info: AuGIO.DBusInterfaceInfo | undefined | null, name: string, objectPath: string, interfaceName: string, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.DBusProxy;
|
|||
|
static NewSync(connection: AuGIO.DBusConnection, flags: AuGIO.DBusProxyFlags, info: AuGIO.DBusInterfaceInfo | undefined | null, name: string | undefined | null, objectPath: string, interfaceName: string, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.DBusProxy;
|
|||
|
static New(connection: AuGIO.DBusConnection, flags: AuGIO.DBusProxyFlags, info: AuGIO.DBusInterfaceInfo | undefined | null, name: string | undefined | null, objectPath: string, interfaceName: string, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
static NewForBus(busType: AuGIO.BusType, flags: AuGIO.DBusProxyFlags, info: AuGIO.DBusInterfaceInfo | undefined | null, name: string, objectPath: string, interfaceName: string, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
call(methodName: string, parameters: AuGlibEx.Variant | undefined | null, flags: AuGIO.DBusCallFlags, timeoutMsec: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
callFinish(res: AuGIO.AsyncResult): AuGlibEx.Variant;
|
|||
|
callSync(methodName: string, parameters: AuGlibEx.Variant | undefined | null, flags: AuGIO.DBusCallFlags, timeoutMsec: number, cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Variant;
|
|||
|
callWithUnixFdList(methodName: string, parameters: AuGlibEx.Variant | undefined | null, flags: AuGIO.DBusCallFlags, timeoutMsec: number, fdList: AuGIO.UnixFDList | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
callWithUnixFdListFinish(outFdList ?: AuGIO.UnixFDList, res ?: AuGIO.AsyncResult): AuGlibEx.Variant;
|
|||
|
callWithUnixFdListSync(methodName: string, parameters: AuGlibEx.Variant | undefined | null, flags: AuGIO.DBusCallFlags, timeoutMsec: number, fdList: AuGIO.UnixFDList | undefined | null, outFdList ?: AuGIO.UnixFDList, cancellable ?: AuGIO.Cancellable | undefined | null): AuGlibEx.Variant;
|
|||
|
getCachedProperty(propertyName: string): AuGlibEx.Variant;
|
|||
|
getCachedPropertyNames(): string[];
|
|||
|
getConnection(): AuGIO.DBusConnection;
|
|||
|
getDefaultTimeout(): number;
|
|||
|
getFlags(): AuGIO.DBusProxyFlags;
|
|||
|
getInterfaceInfo(): AuGIO.DBusInterfaceInfo;
|
|||
|
getInterfaceName(): string;
|
|||
|
getName(): string;
|
|||
|
getNameOwner(): string;
|
|||
|
getObjectPath(): string;
|
|||
|
setCachedProperty(propertyName: string, value: AuGlibEx.Variant | undefined | null): void;
|
|||
|
setDefaultTimeout(timeoutMsec: number): void;
|
|||
|
setInterfaceInfo(info: AuGIO.DBusInterfaceInfo | undefined | null): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
static NewvAsync(objectType: number, nParameters: number, parameters: GObject.Parameter, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
initAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
initFinish(res: AuGIO.AsyncResult): boolean;
|
|||
|
newFinish(res: AuGIO.AsyncResult): GObject.Object;
|
|||
|
getObject(): AuGIO.DBusObject;
|
|||
|
getInfo(): AuGIO.DBusInterfaceInfo;
|
|||
|
setObject(object: AuGIO.DBusObject | undefined | null): void;
|
|||
|
init(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class DBusProxyCtor {
|
|||
|
gConnection ?: AuGIO.DBusConnection;
|
|||
|
gBusType ?: AuGIO.BusType;
|
|||
|
gName ?: string;
|
|||
|
gNameOwner ?: string;
|
|||
|
gFlags ?: AuGIO.DBusProxyFlags;
|
|||
|
gObjectPath ?: string;
|
|||
|
gInterfaceName ?: string;
|
|||
|
gDefaultTimeout ?: number;
|
|||
|
gInterfaceInfo ?: AuGIO.DBusInterfaceInfo;
|
|||
|
}
|
|||
|
|
|||
|
class DBusProxyEventListener extends AuGlibEx.IEventListener {
|
|||
|
gPropertiesChanged(changedProperties: AuGlibEx.Variant, invalidatedProperties: string[]): void;
|
|||
|
gSignal(senderName: string | undefined | null, signalName: string, parameters: AuGlibEx.Variant): void;
|
|||
|
}
|
|||
|
|
|||
|
class DBusServer extends GObject.Object implements AuGIO.Initable {
|
|||
|
constructor(initializerList ?: DBusServerCtor);
|
|||
|
|
|||
|
active : boolean;
|
|||
|
address : string;
|
|||
|
authenticationObserver : AuGIO.DBusAuthObserver;
|
|||
|
clientAddress : string;
|
|||
|
flags : AuGIO.DBusServerFlags;
|
|||
|
guid : string;
|
|||
|
|
|||
|
static NewSync(address: string, flags: AuGIO.DBusServerFlags, guid: string, observer: AuGIO.DBusAuthObserver | undefined | null, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.DBusServer;
|
|||
|
getClientAddress(): string;
|
|||
|
getFlags(): AuGIO.DBusServerFlags;
|
|||
|
getGuid(): string;
|
|||
|
isActive(): boolean;
|
|||
|
start(): void;
|
|||
|
stop(): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
init(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class DBusServerCtor {
|
|||
|
address ?: string;
|
|||
|
clientAddress ?: string;
|
|||
|
flags ?: AuGIO.DBusServerFlags;
|
|||
|
guid ?: string;
|
|||
|
active ?: boolean;
|
|||
|
authenticationObserver ?: AuGIO.DBusAuthObserver;
|
|||
|
}
|
|||
|
|
|||
|
class DBusServerEventListener extends AuGlibEx.IEventListener {
|
|||
|
newConnection(connection: AuGIO.DBusConnection): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class DataInputStream extends AuGIO.BufferedInputStream implements AuGIO.Seekable {
|
|||
|
constructor(initializerList ?: DataInputStreamCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.BufferedInputStream;
|
|||
|
priv : AuGIO.DataInputStreamPrivate;
|
|||
|
|
|||
|
byteOrder : AuGIO.DataStreamByteOrder;
|
|||
|
newlineType : AuGIO.DataStreamNewlineType;
|
|||
|
|
|||
|
getByteOrder(): AuGIO.DataStreamByteOrder;
|
|||
|
getNewlineType(): AuGIO.DataStreamNewlineType;
|
|||
|
readInt16(cancellable: AuGIO.Cancellable | undefined | null): number;
|
|||
|
readInt32(cancellable: AuGIO.Cancellable | undefined | null): number;
|
|||
|
readInt64(cancellable: AuGIO.Cancellable | undefined | null): number | bigint;
|
|||
|
readLine(length ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): number[];
|
|||
|
readLineAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
readLineFinish(result: AuGIO.AsyncResult, length ?: number | bigint): number[];
|
|||
|
readLineFinishUtf8(result: AuGIO.AsyncResult, length ?: number | bigint): string;
|
|||
|
readLineUtf8(length ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): string;
|
|||
|
readUint16(cancellable: AuGIO.Cancellable | undefined | null): number;
|
|||
|
readUint32(cancellable: AuGIO.Cancellable | undefined | null): number;
|
|||
|
readUint64(cancellable: AuGIO.Cancellable | undefined | null): number | bigint;
|
|||
|
readUntil(stopChars: string, length ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): string;
|
|||
|
readUntilAsync(stopChars: string, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
readUntilFinish(result: AuGIO.AsyncResult, length ?: number | bigint): string;
|
|||
|
readUpto(stopChars: string, stopCharsLen: number | bigint, length ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): string;
|
|||
|
readUptoAsync(stopChars: string, stopCharsLen: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
readUptoFinish(result: AuGIO.AsyncResult, length ?: number | bigint): string;
|
|||
|
setByteOrder(order: AuGIO.DataStreamByteOrder): void;
|
|||
|
setNewlineType(type: AuGIO.DataStreamNewlineType): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class DataInputStreamCtor {
|
|||
|
baseStream ?: AuGIO.InputStream;
|
|||
|
closeBaseStream ?: boolean;
|
|||
|
bufferSize ?: number;
|
|||
|
byteOrder ?: AuGIO.DataStreamByteOrder;
|
|||
|
newlineType ?: AuGIO.DataStreamNewlineType;
|
|||
|
}
|
|||
|
|
|||
|
class DataOutputStream extends AuGIO.FilterOutputStream implements AuGIO.Seekable {
|
|||
|
constructor(initializerList ?: DataOutputStreamCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.FilterOutputStream;
|
|||
|
priv : AuGIO.DataOutputStreamPrivate;
|
|||
|
|
|||
|
byteOrder : AuGIO.DataStreamByteOrder;
|
|||
|
|
|||
|
static New(baseStream: AuGIO.OutputStream): AuGIO.DataOutputStream;
|
|||
|
getByteOrder(): AuGIO.DataStreamByteOrder;
|
|||
|
putByte(data: number, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
putInt16(data: number, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
putInt32(data: number, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
putInt64(data: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
putString(str: string, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
putUint16(data: number, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
putUint32(data: number, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
putUint64(data: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
setByteOrder(order: AuGIO.DataStreamByteOrder): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
canSeek(): boolean;
|
|||
|
canTruncate(): boolean;
|
|||
|
seek(offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
tell(): number | bigint;
|
|||
|
truncate(offset: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class DataOutputStreamCtor {
|
|||
|
baseStream ?: AuGIO.OutputStream;
|
|||
|
closeBaseStream ?: boolean;
|
|||
|
byteOrder ?: AuGIO.DataStreamByteOrder;
|
|||
|
}
|
|||
|
|
|||
|
class DebugControllerDBus extends GObject.Object implements AuGIO.DebugController, AuGIO.Initable {
|
|||
|
constructor(initializerList ?: DebugControllerDBusCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
|
|||
|
connection : AuGIO.DBusConnection;
|
|||
|
|
|||
|
static New(connection: AuGIO.DBusConnection, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.DebugControllerDBus;
|
|||
|
stop(): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
debugEnabled : boolean;
|
|||
|
|
|||
|
getDebugEnabled(): boolean;
|
|||
|
setDebugEnabled(debugEnabled: boolean): void;
|
|||
|
init(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class DebugControllerDBusCtor {
|
|||
|
debugEnabled ?: boolean;
|
|||
|
connection ?: AuGIO.DBusConnection;
|
|||
|
}
|
|||
|
|
|||
|
class DebugControllerDBusEventListener extends AuGlibEx.IEventListener {
|
|||
|
authorize(invocation: AuGIO.DBusMethodInvocation): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class Emblem extends GObject.Object implements AuGIO.Icon {
|
|||
|
constructor(initializerList ?: EmblemCtor);
|
|||
|
|
|||
|
icon : GObject.Object;
|
|||
|
origin : AuGIO.EmblemOrigin;
|
|||
|
|
|||
|
static New(icon: AuGIO.Icon): AuGIO.Emblem;
|
|||
|
static NewWithOrigin(icon: AuGIO.Icon, origin: AuGIO.EmblemOrigin): AuGIO.Emblem;
|
|||
|
getIcon(): AuGIO.Icon;
|
|||
|
getOrigin(): AuGIO.EmblemOrigin;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
static Deserialize(value: AuGlibEx.Variant): AuGIO.Icon;
|
|||
|
static Hash(): number;
|
|||
|
static NewForString(str: string): AuGIO.Icon;
|
|||
|
equal(icon2: AuGIO.Icon | undefined | null): boolean;
|
|||
|
serialize(): AuGlibEx.Variant;
|
|||
|
}
|
|||
|
|
|||
|
class EmblemCtor {
|
|||
|
icon ?: GObject.Object;
|
|||
|
origin ?: AuGIO.EmblemOrigin;
|
|||
|
}
|
|||
|
|
|||
|
class EmblemedIcon extends GObject.Object implements AuGIO.Icon {
|
|||
|
constructor(initializerList ?: EmblemedIconCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.EmblemedIconPrivate;
|
|||
|
|
|||
|
gicon : AuGIO.Icon;
|
|||
|
|
|||
|
static New(icon: AuGIO.Icon, emblem: AuGIO.Emblem | undefined | null): AuGIO.EmblemedIcon;
|
|||
|
addEmblem(emblem: AuGIO.Emblem): void;
|
|||
|
clearEmblems(): void;
|
|||
|
getEmblems(): AuGIO.Emblem[];
|
|||
|
getIcon(): AuGIO.Icon;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
static Deserialize(value: AuGlibEx.Variant): AuGIO.Icon;
|
|||
|
static Hash(): number;
|
|||
|
static NewForString(str: string): AuGIO.Icon;
|
|||
|
equal(icon2: AuGIO.Icon | undefined | null): boolean;
|
|||
|
serialize(): AuGlibEx.Variant;
|
|||
|
}
|
|||
|
|
|||
|
class EmblemedIconCtor {
|
|||
|
gicon ?: AuGIO.Icon;
|
|||
|
}
|
|||
|
|
|||
|
class FileEnumerator extends GObject.Object {
|
|||
|
constructor(initializerList ?: FileEnumeratorCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.FileEnumeratorPrivate;
|
|||
|
|
|||
|
container : AuGIO.File;
|
|||
|
|
|||
|
close(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
closeAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
closeFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
getChild(info: AuGIO.FileInfo): AuGIO.File;
|
|||
|
getContainer(): AuGIO.File;
|
|||
|
hasPending(): boolean;
|
|||
|
isClosed(): boolean;
|
|||
|
iterate(outInfo ?: AuGIO.FileInfo, outChild ?: AuGIO.File, cancellable ?: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
nextFile(cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileInfo;
|
|||
|
nextFilesAsync(numFiles: number, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
nextFilesFinish(result: AuGIO.AsyncResult): AuGIO.FileInfo[];
|
|||
|
setPending(pending: boolean): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class FileEnumeratorCtor {
|
|||
|
container ?: AuGIO.File;
|
|||
|
}
|
|||
|
|
|||
|
class FileIOStream extends AuGIO.IOStream implements AuGIO.Seekable {
|
|||
|
constructor(initializerList ?: FileIOStreamCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.IOStream;
|
|||
|
priv : AuGIO.FileIOStreamPrivate;
|
|||
|
|
|||
|
getEtag(): string;
|
|||
|
queryInfo(attributes: string, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileInfo;
|
|||
|
queryInfoAsync(attributes: string, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
queryInfoFinish(result: AuGIO.AsyncResult): AuGIO.FileInfo;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
canSeek(): boolean;
|
|||
|
canTruncate(): boolean;
|
|||
|
seek(offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
tell(): number | bigint;
|
|||
|
truncate(offset: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class FileIOStreamCtor {
|
|||
|
inputStream ?: AuGIO.InputStream;
|
|||
|
outputStream ?: AuGIO.OutputStream;
|
|||
|
closed ?: boolean;
|
|||
|
}
|
|||
|
|
|||
|
class FileIcon extends GObject.Object implements AuGIO.Icon, AuGIO.LoadableIcon {
|
|||
|
constructor(initializerList ?: FileIconCtor);
|
|||
|
|
|||
|
file : AuGIO.File;
|
|||
|
|
|||
|
static New(file: AuGIO.File): AuGIO.FileIcon;
|
|||
|
getFile(): AuGIO.File;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
static Deserialize(value: AuGlibEx.Variant): AuGIO.Icon;
|
|||
|
static Hash(): number;
|
|||
|
static NewForString(str: string): AuGIO.Icon;
|
|||
|
equal(icon2: AuGIO.Icon | undefined | null): boolean;
|
|||
|
serialize(): AuGlibEx.Variant;
|
|||
|
load(size: number, type ?: string, cancellable ?: AuGIO.Cancellable | undefined | null): AuGIO.InputStream;
|
|||
|
loadAsync(size: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
loadFinish(res: AuGIO.AsyncResult, type ?: string): AuGIO.InputStream;
|
|||
|
}
|
|||
|
|
|||
|
class FileIconCtor {
|
|||
|
file ?: AuGIO.File;
|
|||
|
}
|
|||
|
|
|||
|
class FileInfo extends GObject.Object {
|
|||
|
constructor(initializerList ?: FileInfoCtor);
|
|||
|
|
|||
|
static New(): AuGIO.FileInfo;
|
|||
|
clearStatus(): void;
|
|||
|
copyInto(destInfo: AuGIO.FileInfo): void;
|
|||
|
dup(): AuGIO.FileInfo;
|
|||
|
getAccessDateTime(): AuGlibEx.DateTime;
|
|||
|
getAttributeAsString(attribute: string): string;
|
|||
|
getAttributeBoolean(attribute: string): boolean;
|
|||
|
getAttributeByteString(attribute: string): string;
|
|||
|
getAttributeData(attribute: string, type ?: AuGIO.FileAttributeType, status ?: AuGIO.FileAttributeStatus): boolean;
|
|||
|
getAttributeInt32(attribute: string): number;
|
|||
|
getAttributeInt64(attribute: string): number | bigint;
|
|||
|
getAttributeObject(attribute: string): GObject.Object;
|
|||
|
getAttributeStatus(attribute: string): AuGIO.FileAttributeStatus;
|
|||
|
getAttributeString(attribute: string): string;
|
|||
|
getAttributeStringv(attribute: string): string[];
|
|||
|
getAttributeType(attribute: string): AuGIO.FileAttributeType;
|
|||
|
getAttributeUint32(attribute: string): number;
|
|||
|
getAttributeUint64(attribute: string): number | bigint;
|
|||
|
getContentType(): string;
|
|||
|
getCreationDateTime(): AuGlibEx.DateTime;
|
|||
|
getDeletionDate(): AuGlibEx.DateTime;
|
|||
|
getDisplayName(): string;
|
|||
|
getEditName(): string;
|
|||
|
getEtag(): string;
|
|||
|
getFileType(): AuGIO.FileType;
|
|||
|
getIcon(): AuGIO.Icon;
|
|||
|
getIsBackup(): boolean;
|
|||
|
getIsHidden(): boolean;
|
|||
|
getIsSymlink(): boolean;
|
|||
|
getModificationDateTime(): AuGlibEx.DateTime;
|
|||
|
getModificationTime(result: AuGlibEx.TimeVal): void;
|
|||
|
getName(): string;
|
|||
|
getSize(): number | bigint;
|
|||
|
getSortOrder(): number;
|
|||
|
getSymbolicIcon(): AuGIO.Icon;
|
|||
|
getSymlinkTarget(): string;
|
|||
|
hasAttribute(attribute: string): boolean;
|
|||
|
hasNamespace(nameSpace: string): boolean;
|
|||
|
listAttributes(nameSpace: string | undefined | null): string[];
|
|||
|
removeAttribute(attribute: string): void;
|
|||
|
setAccessDateTime(atime: AuGlibEx.DateTime): void;
|
|||
|
setAttribute(attribute: string, type: AuGIO.FileAttributeType): void;
|
|||
|
setAttributeBoolean(attribute: string, attrValue: boolean): void;
|
|||
|
setAttributeByteString(attribute: string, attrValue: string): void;
|
|||
|
setAttributeInt32(attribute: string, attrValue: number): void;
|
|||
|
setAttributeInt64(attribute: string, attrValue: number | bigint): void;
|
|||
|
setAttributeMask(mask: AuGIO.FileAttributeMatcher): void;
|
|||
|
setAttributeObject(attribute: string, attrValue: GObject.Object): void;
|
|||
|
setAttributeStatus(attribute: string, status: AuGIO.FileAttributeStatus): boolean;
|
|||
|
setAttributeString(attribute: string, attrValue: string): void;
|
|||
|
setAttributeStringv(attribute: string, attrValue: string[]): void;
|
|||
|
setAttributeUint32(attribute: string, attrValue: number): void;
|
|||
|
setAttributeUint64(attribute: string, attrValue: number | bigint): void;
|
|||
|
setContentType(contentType: string): void;
|
|||
|
setCreationDateTime(creationTime: AuGlibEx.DateTime): void;
|
|||
|
setDisplayName(displayName: string): void;
|
|||
|
setEditName(editName: string): void;
|
|||
|
setFileType(type: AuGIO.FileType): void;
|
|||
|
setIcon(icon: AuGIO.Icon): void;
|
|||
|
setIsHidden(isHidden: boolean): void;
|
|||
|
setIsSymlink(isSymlink: boolean): void;
|
|||
|
setModificationDateTime(mtime: AuGlibEx.DateTime): void;
|
|||
|
setModificationTime(mtime: AuGlibEx.TimeVal): void;
|
|||
|
setName(name: string): void;
|
|||
|
setSize(size: number | bigint): void;
|
|||
|
setSortOrder(sortOrder: number): void;
|
|||
|
setSymbolicIcon(icon: AuGIO.Icon): void;
|
|||
|
setSymlinkTarget(symlinkTarget: string): void;
|
|||
|
unsetAttributeMask(): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class FileInfoCtor {
|
|||
|
}
|
|||
|
|
|||
|
class FileInputStream extends AuGIO.InputStream implements AuGIO.Seekable {
|
|||
|
constructor(initializerList ?: FileInputStreamCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.InputStream;
|
|||
|
priv : AuGIO.FileInputStreamPrivate;
|
|||
|
|
|||
|
queryInfo(attributes: string, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileInfo;
|
|||
|
queryInfoAsync(attributes: string, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
queryInfoFinish(result: AuGIO.AsyncResult): AuGIO.FileInfo;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
canSeek(): boolean;
|
|||
|
canTruncate(): boolean;
|
|||
|
seek(offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
tell(): number | bigint;
|
|||
|
truncate(offset: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class FileInputStreamCtor {
|
|||
|
}
|
|||
|
|
|||
|
class FileMonitor extends GObject.Object {
|
|||
|
constructor(initializerList ?: FileMonitorCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.FileMonitorPrivate;
|
|||
|
|
|||
|
cancelled : boolean;
|
|||
|
rateLimit : number;
|
|||
|
|
|||
|
cancel(): boolean;
|
|||
|
emitEvent(child: AuGIO.File, otherFile: AuGIO.File, eventType: AuGIO.FileMonitorEvent): void;
|
|||
|
isCancelled(): boolean;
|
|||
|
setRateLimit(limitMsecs: number): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class FileMonitorCtor {
|
|||
|
rateLimit ?: number;
|
|||
|
cancelled ?: boolean;
|
|||
|
}
|
|||
|
|
|||
|
class FileMonitorEventListener extends AuGlibEx.IEventListener {
|
|||
|
changed(file: AuGIO.File, otherFile: AuGIO.File | undefined | null, eventType: AuGIO.FileMonitorEvent): void;
|
|||
|
}
|
|||
|
|
|||
|
class FileOutputStream extends AuGIO.OutputStream implements AuGIO.Seekable {
|
|||
|
constructor(initializerList ?: FileOutputStreamCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.OutputStream;
|
|||
|
priv : AuGIO.FileOutputStreamPrivate;
|
|||
|
|
|||
|
getEtag(): string;
|
|||
|
queryInfo(attributes: string, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.FileInfo;
|
|||
|
queryInfoAsync(attributes: string, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
queryInfoFinish(result: AuGIO.AsyncResult): AuGIO.FileInfo;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
canSeek(): boolean;
|
|||
|
canTruncate(): boolean;
|
|||
|
seek(offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
tell(): number | bigint;
|
|||
|
truncate(offset: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class FileOutputStreamCtor {
|
|||
|
}
|
|||
|
|
|||
|
class FilenameCompleter extends GObject.Object {
|
|||
|
constructor(initializerList ?: FilenameCompleterCtor);
|
|||
|
|
|||
|
static New(): AuGIO.FilenameCompleter;
|
|||
|
getCompletionSuffix(initialText: string): string;
|
|||
|
getCompletions(initialText: string): string[];
|
|||
|
setDirsOnly(dirsOnly: boolean): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class FilenameCompleterCtor {
|
|||
|
}
|
|||
|
|
|||
|
class FilenameCompleterEventListener extends AuGlibEx.IEventListener {
|
|||
|
gotCompletionData(): void;
|
|||
|
}
|
|||
|
|
|||
|
class FilterInputStream extends AuGIO.InputStream {
|
|||
|
constructor(initializerList ?: FilterInputStreamCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.InputStream;
|
|||
|
baseStream : AuGIO.InputStream;
|
|||
|
|
|||
|
closeBaseStream : boolean;
|
|||
|
|
|||
|
getBaseStream(): AuGIO.InputStream;
|
|||
|
getCloseBaseStream(): boolean;
|
|||
|
setCloseBaseStream(closeBase: boolean): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class FilterInputStreamCtor {
|
|||
|
baseStream ?: AuGIO.InputStream;
|
|||
|
closeBaseStream ?: boolean;
|
|||
|
}
|
|||
|
|
|||
|
class FilterOutputStream extends AuGIO.OutputStream {
|
|||
|
constructor(initializerList ?: FilterOutputStreamCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.OutputStream;
|
|||
|
baseStream : AuGIO.OutputStream;
|
|||
|
|
|||
|
closeBaseStream : boolean;
|
|||
|
|
|||
|
getBaseStream(): AuGIO.OutputStream;
|
|||
|
getCloseBaseStream(): boolean;
|
|||
|
setCloseBaseStream(closeBase: boolean): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class FilterOutputStreamCtor {
|
|||
|
baseStream ?: AuGIO.OutputStream;
|
|||
|
closeBaseStream ?: boolean;
|
|||
|
}
|
|||
|
|
|||
|
class IOModule extends GObject.TypeModule implements GObject.TypePlugin {
|
|||
|
constructor(initializerList ?: IOModuleCtor);
|
|||
|
|
|||
|
static New(filename: string): AuGIO.IOModule;
|
|||
|
static Query(): string[];
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class IOModuleCtor {
|
|||
|
}
|
|||
|
|
|||
|
class IOStream extends GObject.Object {
|
|||
|
constructor(initializerList ?: IOStreamCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.IOStreamPrivate;
|
|||
|
|
|||
|
closed : boolean;
|
|||
|
inputStream : AuGIO.InputStream;
|
|||
|
outputStream : AuGIO.OutputStream;
|
|||
|
|
|||
|
static SpliceFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
clearPending(): void;
|
|||
|
close(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
closeAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
closeFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
getInputStream(): AuGIO.InputStream;
|
|||
|
getOutputStream(): AuGIO.OutputStream;
|
|||
|
hasPending(): boolean;
|
|||
|
isClosed(): boolean;
|
|||
|
setPending(): boolean;
|
|||
|
spliceAsync(stream2: AuGIO.IOStream, flags: AuGIO.IOStreamSpliceFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class IOStreamCtor {
|
|||
|
inputStream ?: AuGIO.InputStream;
|
|||
|
outputStream ?: AuGIO.OutputStream;
|
|||
|
closed ?: boolean;
|
|||
|
}
|
|||
|
|
|||
|
class InetAddress extends GObject.Object {
|
|||
|
constructor(initializerList ?: InetAddressCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.InetAddressPrivate;
|
|||
|
|
|||
|
bytes : void;
|
|||
|
family : AuGIO.SocketFamily;
|
|||
|
isAny : boolean;
|
|||
|
isLinkLocal : boolean;
|
|||
|
isLoopback : boolean;
|
|||
|
isMcGlobal : boolean;
|
|||
|
isMcLinkLocal : boolean;
|
|||
|
isMcNodeLocal : boolean;
|
|||
|
isMcOrgLocal : boolean;
|
|||
|
isMcSiteLocal : boolean;
|
|||
|
isMulticast : boolean;
|
|||
|
isSiteLocal : boolean;
|
|||
|
|
|||
|
static NewAny(family: AuGIO.SocketFamily): AuGIO.InetAddress;
|
|||
|
static NewFromBytes(bytes: number[], family: AuGIO.SocketFamily): AuGIO.InetAddress;
|
|||
|
static NewFromString(string: string): AuGIO.InetAddress;
|
|||
|
static NewLoopback(family: AuGIO.SocketFamily): AuGIO.InetAddress;
|
|||
|
equal(otherAddress: AuGIO.InetAddress): boolean;
|
|||
|
getFamily(): AuGIO.SocketFamily;
|
|||
|
getIsAny(): boolean;
|
|||
|
getIsLinkLocal(): boolean;
|
|||
|
getIsLoopback(): boolean;
|
|||
|
getIsMcGlobal(): boolean;
|
|||
|
getIsMcLinkLocal(): boolean;
|
|||
|
getIsMcNodeLocal(): boolean;
|
|||
|
getIsMcOrgLocal(): boolean;
|
|||
|
getIsMcSiteLocal(): boolean;
|
|||
|
getIsMulticast(): boolean;
|
|||
|
getIsSiteLocal(): boolean;
|
|||
|
getNativeSize(): number | bigint;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class InetAddressCtor {
|
|||
|
family ?: AuGIO.SocketFamily;
|
|||
|
bytes ?: number | bigint;
|
|||
|
isAny ?: boolean;
|
|||
|
isLoopback ?: boolean;
|
|||
|
isLinkLocal ?: boolean;
|
|||
|
isSiteLocal ?: boolean;
|
|||
|
isMulticast ?: boolean;
|
|||
|
isMcGlobal ?: boolean;
|
|||
|
isMcLinkLocal ?: boolean;
|
|||
|
isMcNodeLocal ?: boolean;
|
|||
|
isMcOrgLocal ?: boolean;
|
|||
|
isMcSiteLocal ?: boolean;
|
|||
|
}
|
|||
|
|
|||
|
class InetAddressMask extends GObject.Object implements AuGIO.Initable {
|
|||
|
constructor(initializerList ?: InetAddressMaskCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.InetAddressMaskPrivate;
|
|||
|
|
|||
|
address : AuGIO.InetAddress;
|
|||
|
family : AuGIO.SocketFamily;
|
|||
|
length : number;
|
|||
|
|
|||
|
static New(addr: AuGIO.InetAddress, length: number): AuGIO.InetAddressMask;
|
|||
|
static NewFromString(maskString: string): AuGIO.InetAddressMask;
|
|||
|
equal(mask2: AuGIO.InetAddressMask): boolean;
|
|||
|
getAddress(): AuGIO.InetAddress;
|
|||
|
getFamily(): AuGIO.SocketFamily;
|
|||
|
getLength(): number;
|
|||
|
matches(address: AuGIO.InetAddress): boolean;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
init(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class InetAddressMaskCtor {
|
|||
|
family ?: AuGIO.SocketFamily;
|
|||
|
address ?: AuGIO.InetAddress;
|
|||
|
length ?: number;
|
|||
|
}
|
|||
|
|
|||
|
class InetSocketAddress extends AuGIO.SocketAddress implements AuGIO.SocketConnectable {
|
|||
|
constructor(initializerList ?: InetSocketAddressCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.SocketAddress;
|
|||
|
priv : AuGIO.InetSocketAddressPrivate;
|
|||
|
|
|||
|
address : AuGIO.InetAddress;
|
|||
|
flowinfo : number;
|
|||
|
port : number;
|
|||
|
scopeId : number;
|
|||
|
|
|||
|
static New(address: AuGIO.InetAddress, port: number): AuGIO.SocketAddress;
|
|||
|
static NewFromString(address: string, port: number): AuGIO.SocketAddress;
|
|||
|
getAddress(): AuGIO.InetAddress;
|
|||
|
getFlowinfo(): number;
|
|||
|
getPort(): number;
|
|||
|
getScopeId(): number;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class InetSocketAddressCtor {
|
|||
|
family ?: AuGIO.SocketFamily;
|
|||
|
address ?: AuGIO.InetAddress;
|
|||
|
port ?: number;
|
|||
|
flowinfo ?: number;
|
|||
|
scopeId ?: number;
|
|||
|
}
|
|||
|
|
|||
|
class InputStream extends GObject.Object {
|
|||
|
constructor(initializerList ?: InputStreamCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.InputStreamPrivate;
|
|||
|
|
|||
|
clearPending(): void;
|
|||
|
close(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
closeAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
closeFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
hasPending(): boolean;
|
|||
|
isClosed(): boolean;
|
|||
|
read(buffer: number[], count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint;
|
|||
|
readAll(buffer: number[], count: number | bigint, bytesRead: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
readAllAsync(buffer: number[], count: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
readAllFinish(result: AuGIO.AsyncResult, bytesRead: number | bigint): boolean;
|
|||
|
readAsync(buffer: number[], count: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
readBytes(count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Bytes;
|
|||
|
readBytesAsync(count: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
readBytesFinish(result: AuGIO.AsyncResult): AuGlibEx.Bytes;
|
|||
|
readFinish(result: AuGIO.AsyncResult): number | bigint;
|
|||
|
setPending(): boolean;
|
|||
|
skip(count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint;
|
|||
|
skipAsync(count: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
skipFinish(result: AuGIO.AsyncResult): number | bigint;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class InputStreamCtor {
|
|||
|
}
|
|||
|
|
|||
|
class ListStore extends GObject.Object implements AuGIO.ListModel {
|
|||
|
constructor(initializerList ?: ListStoreCtor);
|
|||
|
|
|||
|
itemType : number;
|
|||
|
|
|||
|
static New(itemType: number): AuGIO.ListStore;
|
|||
|
append(item: GObject.Object): void;
|
|||
|
find(item: GObject.Object, position ?: number): boolean;
|
|||
|
findWithEqualFunc(item: GObject.Object, equalFunc: () => boolean, position ?: number): boolean;
|
|||
|
insert(position: number, item: GObject.Object): void;
|
|||
|
insertSorted(item: GObject.Object, compareFunc: () => number): number;
|
|||
|
remove(position: number): void;
|
|||
|
removeAll(): void;
|
|||
|
sort(compareFunc: () => number): void;
|
|||
|
splice(position: number, nRemovals: number, additions: GObject.Object[], nAdditions: number): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
getItemType(): number;
|
|||
|
getNItems(): number;
|
|||
|
getItem(position: number): GObject.Object;
|
|||
|
itemsChanged(position: number, removed: number, added: number): void;
|
|||
|
}
|
|||
|
|
|||
|
class ListStoreCtor {
|
|||
|
itemType ?: any;
|
|||
|
}
|
|||
|
|
|||
|
class MemoryInputStream extends AuGIO.InputStream implements AuGIO.PollableInputStream, AuGIO.Seekable {
|
|||
|
constructor(initializerList ?: MemoryInputStreamCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.InputStream;
|
|||
|
priv : AuGIO.MemoryInputStreamPrivate;
|
|||
|
|
|||
|
static New(): AuGIO.InputStream;
|
|||
|
static NewFromBytes(bytes: AuGlibEx.Bytes): AuGIO.InputStream;
|
|||
|
static NewFromData(data: number[], len: number | bigint, destroy: () => void | undefined | null): AuGIO.InputStream;
|
|||
|
addBytes(bytes: AuGlibEx.Bytes): void;
|
|||
|
addData(data: number[], len: number | bigint, destroy: () => void | undefined | null): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
canPoll(): boolean;
|
|||
|
createSource(cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Source;
|
|||
|
isReadable(): boolean;
|
|||
|
readNonblocking(buffer: number[], count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint;
|
|||
|
canSeek(): boolean;
|
|||
|
canTruncate(): boolean;
|
|||
|
seek(offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
tell(): number | bigint;
|
|||
|
truncate(offset: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class MemoryInputStreamCtor {
|
|||
|
}
|
|||
|
|
|||
|
class MemoryOutputStream extends AuGIO.OutputStream implements AuGIO.PollableOutputStream, AuGIO.Seekable {
|
|||
|
constructor(initializerList ?: MemoryOutputStreamCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.OutputStream;
|
|||
|
priv : AuGIO.MemoryOutputStreamPrivate;
|
|||
|
|
|||
|
data : void;
|
|||
|
dataSize : number;
|
|||
|
size : number;
|
|||
|
|
|||
|
static NewResizable(): AuGIO.OutputStream;
|
|||
|
getDataSize(): number | bigint;
|
|||
|
getSize(): number | bigint;
|
|||
|
stealAsBytes(): AuGlibEx.Bytes;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
canPoll(): boolean;
|
|||
|
createSource(cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Source;
|
|||
|
isWritable(): boolean;
|
|||
|
writeNonblocking(buffer: number[], count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint;
|
|||
|
writevNonblocking(vectors: AuGIO.OutputVector[], nVectors: number | bigint, bytesWritten ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): AuGIO.PollableReturn;
|
|||
|
canSeek(): boolean;
|
|||
|
canTruncate(): boolean;
|
|||
|
seek(offset: number | bigint, type: AuGlibEx.SeekType, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
tell(): number | bigint;
|
|||
|
truncate(offset: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class MemoryOutputStreamCtor {
|
|||
|
data ?: number | bigint;
|
|||
|
size ?: number;
|
|||
|
dataSize ?: number;
|
|||
|
reallocFunction ?: number | bigint;
|
|||
|
destroyFunction ?: number | bigint;
|
|||
|
}
|
|||
|
|
|||
|
class Menu extends AuGIO.MenuModel {
|
|||
|
constructor(initializerList ?: MenuCtor);
|
|||
|
|
|||
|
static New(): AuGIO.Menu;
|
|||
|
append(label: string | undefined | null, detailedAction: string | undefined | null): void;
|
|||
|
appendItem(item: AuGIO.MenuItem): void;
|
|||
|
appendSection(label: string | undefined | null, section: AuGIO.MenuModel): void;
|
|||
|
appendSubmenu(label: string | undefined | null, submenu: AuGIO.MenuModel): void;
|
|||
|
freeze(): void;
|
|||
|
insert(position: number, label: string | undefined | null, detailedAction: string | undefined | null): void;
|
|||
|
insertItem(position: number, item: AuGIO.MenuItem): void;
|
|||
|
insertSection(position: number, label: string | undefined | null, section: AuGIO.MenuModel): void;
|
|||
|
insertSubmenu(position: number, label: string | undefined | null, submenu: AuGIO.MenuModel): void;
|
|||
|
prepend(label: string | undefined | null, detailedAction: string | undefined | null): void;
|
|||
|
prependItem(item: AuGIO.MenuItem): void;
|
|||
|
prependSection(label: string | undefined | null, section: AuGIO.MenuModel): void;
|
|||
|
prependSubmenu(label: string | undefined | null, submenu: AuGIO.MenuModel): void;
|
|||
|
remove(position: number): void;
|
|||
|
removeAll(): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class MenuCtor {
|
|||
|
}
|
|||
|
|
|||
|
class MenuAttributeIter extends GObject.Object {
|
|||
|
constructor(initializerList ?: MenuAttributeIterCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.MenuAttributeIterPrivate;
|
|||
|
|
|||
|
getName(): string;
|
|||
|
getNext(outName ?: string, value ?: AuGlibEx.Variant): boolean;
|
|||
|
getValue(): AuGlibEx.Variant;
|
|||
|
next(): boolean;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class MenuAttributeIterCtor {
|
|||
|
}
|
|||
|
|
|||
|
class MenuItem extends GObject.Object {
|
|||
|
constructor(initializerList ?: MenuItemCtor);
|
|||
|
|
|||
|
static New(label: string | undefined | null, detailedAction: string | undefined | null): AuGIO.MenuItem;
|
|||
|
static NewFromModel(model: AuGIO.MenuModel, itemIndex: number): AuGIO.MenuItem;
|
|||
|
static NewSection(label: string | undefined | null, section: AuGIO.MenuModel): AuGIO.MenuItem;
|
|||
|
static NewSubmenu(label: string | undefined | null, submenu: AuGIO.MenuModel): AuGIO.MenuItem;
|
|||
|
getAttributeValue(attribute: string, expectedType: AuGlibEx.VariantType | undefined | null): AuGlibEx.Variant;
|
|||
|
getLink(link: string): AuGIO.MenuModel;
|
|||
|
setActionAndTargetValue(action: string | undefined | null, targetValue: AuGlibEx.Variant | undefined | null): void;
|
|||
|
setAttributeValue(attribute: string, value: AuGlibEx.Variant | undefined | null): void;
|
|||
|
setDetailedAction(detailedAction: string): void;
|
|||
|
setIcon(icon: AuGIO.Icon): void;
|
|||
|
setLabel(label: string | undefined | null): void;
|
|||
|
setLink(link: string, model: AuGIO.MenuModel | undefined | null): void;
|
|||
|
setSection(section: AuGIO.MenuModel | undefined | null): void;
|
|||
|
setSubmenu(submenu: AuGIO.MenuModel | undefined | null): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class MenuItemCtor {
|
|||
|
}
|
|||
|
|
|||
|
class MenuLinkIter extends GObject.Object {
|
|||
|
constructor(initializerList ?: MenuLinkIterCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.MenuLinkIterPrivate;
|
|||
|
|
|||
|
getName(): string;
|
|||
|
getNext(outLink ?: string, value ?: AuGIO.MenuModel): boolean;
|
|||
|
getValue(): AuGIO.MenuModel;
|
|||
|
next(): boolean;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class MenuLinkIterCtor {
|
|||
|
}
|
|||
|
|
|||
|
class MenuModel extends GObject.Object {
|
|||
|
constructor(initializerList ?: MenuModelCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.MenuModelPrivate;
|
|||
|
|
|||
|
getItemAttributeValue(itemIndex: number, attribute: string, expectedType: AuGlibEx.VariantType | undefined | null): AuGlibEx.Variant;
|
|||
|
getItemLink(itemIndex: number, link: string): AuGIO.MenuModel;
|
|||
|
getNItems(): number;
|
|||
|
isMutable(): boolean;
|
|||
|
itemsChanged(position: number, removed: number, added: number): void;
|
|||
|
iterateItemAttributes(itemIndex: number): AuGIO.MenuAttributeIter;
|
|||
|
iterateItemLinks(itemIndex: number): AuGIO.MenuLinkIter;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class MenuModelCtor {
|
|||
|
}
|
|||
|
|
|||
|
class MenuModelEventListener extends AuGlibEx.IEventListener {
|
|||
|
itemsChanged(position: number, removed: number, added: number): void;
|
|||
|
}
|
|||
|
|
|||
|
class MountOperation extends GObject.Object {
|
|||
|
constructor(initializerList ?: MountOperationCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.MountOperationPrivate;
|
|||
|
|
|||
|
anonymous : boolean;
|
|||
|
choice : number;
|
|||
|
domain : string;
|
|||
|
isTcryptHiddenVolume : boolean;
|
|||
|
isTcryptSystemVolume : boolean;
|
|||
|
password : string;
|
|||
|
passwordSave : AuGIO.PasswordSave;
|
|||
|
pim : number;
|
|||
|
username : string;
|
|||
|
|
|||
|
getAnonymous(): boolean;
|
|||
|
getChoice(): number;
|
|||
|
getDomain(): string;
|
|||
|
getIsTcryptHiddenVolume(): boolean;
|
|||
|
getIsTcryptSystemVolume(): boolean;
|
|||
|
getPassword(): string;
|
|||
|
getPasswordSave(): AuGIO.PasswordSave;
|
|||
|
getPim(): number;
|
|||
|
getUsername(): string;
|
|||
|
reply(result: AuGIO.MountOperationResult): void;
|
|||
|
setAnonymous(anonymous: boolean): void;
|
|||
|
setChoice(choice: number): void;
|
|||
|
setDomain(domain: string | undefined | null): void;
|
|||
|
setIsTcryptHiddenVolume(hiddenVolume: boolean): void;
|
|||
|
setIsTcryptSystemVolume(systemVolume: boolean): void;
|
|||
|
setPassword(password: string | undefined | null): void;
|
|||
|
setPasswordSave(save: AuGIO.PasswordSave): void;
|
|||
|
setPim(pim: number): void;
|
|||
|
setUsername(username: string | undefined | null): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class MountOperationCtor {
|
|||
|
username ?: string;
|
|||
|
password ?: string;
|
|||
|
anonymous ?: boolean;
|
|||
|
domain ?: string;
|
|||
|
passwordSave ?: AuGIO.PasswordSave;
|
|||
|
choice ?: number;
|
|||
|
isTcryptHiddenVolume ?: boolean;
|
|||
|
isTcryptSystemVolume ?: boolean;
|
|||
|
pim ?: number;
|
|||
|
}
|
|||
|
|
|||
|
class MountOperationEventListener extends AuGlibEx.IEventListener {
|
|||
|
aborted(): void;
|
|||
|
askPassword(message: string, defaultUser: string, defaultDomain: string, flags: AuGIO.AskPasswordFlags): void;
|
|||
|
askQuestion(message: string, choices: string[]): void;
|
|||
|
reply(result: AuGIO.MountOperationResult): void;
|
|||
|
showProcesses(message: string, processes: void[], choices: string[]): void;
|
|||
|
showUnmountProgress(message: string, timeLeft: number | bigint, bytesLeft: number | bigint): void;
|
|||
|
}
|
|||
|
|
|||
|
class NativeSocketAddress extends AuGIO.SocketAddress implements AuGIO.SocketConnectable {
|
|||
|
constructor(initializerList ?: NativeSocketAddressCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.SocketAddress;
|
|||
|
priv : AuGIO.NativeSocketAddressPrivate;
|
|||
|
|
|||
|
static New(len: number | bigint): AuGIO.SocketAddress;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class NativeSocketAddressCtor {
|
|||
|
family ?: AuGIO.SocketFamily;
|
|||
|
}
|
|||
|
|
|||
|
class NativeVolumeMonitor extends AuGIO.VolumeMonitor {
|
|||
|
constructor(initializerList ?: NativeVolumeMonitorCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.VolumeMonitor;
|
|||
|
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class NativeVolumeMonitorCtor {
|
|||
|
}
|
|||
|
|
|||
|
class NetworkAddress extends GObject.Object implements AuGIO.SocketConnectable {
|
|||
|
constructor(initializerList ?: NetworkAddressCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.NetworkAddressPrivate;
|
|||
|
|
|||
|
hostname : string;
|
|||
|
port : number;
|
|||
|
scheme : string;
|
|||
|
|
|||
|
static New(hostname: string, port: number): AuGIO.NetworkAddress;
|
|||
|
static NewLoopback(port: number): AuGIO.NetworkAddress;
|
|||
|
static Parse(hostAndPort: string, defaultPort: number): AuGIO.NetworkAddress;
|
|||
|
static ParseUri(uri: string, defaultPort: number): AuGIO.NetworkAddress;
|
|||
|
getHostname(): string;
|
|||
|
getPort(): number;
|
|||
|
getScheme(): string;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
enumerate(): AuGIO.SocketAddressEnumerator;
|
|||
|
proxyEnumerate(): AuGIO.SocketAddressEnumerator;
|
|||
|
}
|
|||
|
|
|||
|
class NetworkAddressCtor {
|
|||
|
hostname ?: string;
|
|||
|
port ?: number;
|
|||
|
scheme ?: string;
|
|||
|
}
|
|||
|
|
|||
|
class NetworkService extends GObject.Object implements AuGIO.SocketConnectable {
|
|||
|
constructor(initializerList ?: NetworkServiceCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.NetworkServicePrivate;
|
|||
|
|
|||
|
domain : string;
|
|||
|
protocol : string;
|
|||
|
scheme : string;
|
|||
|
service : string;
|
|||
|
|
|||
|
static New(service: string, protocol: string, domain: string): AuGIO.NetworkService;
|
|||
|
getDomain(): string;
|
|||
|
getProtocol(): string;
|
|||
|
getScheme(): string;
|
|||
|
getService(): string;
|
|||
|
setScheme(scheme: string): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
enumerate(): AuGIO.SocketAddressEnumerator;
|
|||
|
proxyEnumerate(): AuGIO.SocketAddressEnumerator;
|
|||
|
}
|
|||
|
|
|||
|
class NetworkServiceCtor {
|
|||
|
service ?: string;
|
|||
|
protocol ?: string;
|
|||
|
domain ?: string;
|
|||
|
scheme ?: string;
|
|||
|
}
|
|||
|
|
|||
|
class Notification extends GObject.Object {
|
|||
|
constructor(initializerList ?: NotificationCtor);
|
|||
|
|
|||
|
static New(title: string): AuGIO.Notification;
|
|||
|
addButton(label: string, detailedAction: string): void;
|
|||
|
addButtonWithTarget(label: string, action: string, target: AuGlibEx.Variant | undefined | null): void;
|
|||
|
setBody(body: string | undefined | null): void;
|
|||
|
setCategory(category: string | undefined | null): void;
|
|||
|
setDefaultAction(detailedAction: string): void;
|
|||
|
setDefaultActionAndTarget(action: string, target: AuGlibEx.Variant | undefined | null): void;
|
|||
|
setIcon(icon: AuGIO.Icon): void;
|
|||
|
setPriority(priority: AuGIO.NotificationPriority): void;
|
|||
|
setTitle(title: string): void;
|
|||
|
setUrgent(urgent: boolean): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class NotificationCtor {
|
|||
|
}
|
|||
|
|
|||
|
class OutputStream extends GObject.Object {
|
|||
|
constructor(initializerList ?: OutputStreamCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.OutputStreamPrivate;
|
|||
|
|
|||
|
clearPending(): void;
|
|||
|
close(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
closeAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
closeFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
flush(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
flushAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
flushFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
hasPending(): boolean;
|
|||
|
isClosed(): boolean;
|
|||
|
isClosing(): boolean;
|
|||
|
setPending(): boolean;
|
|||
|
splice(source: AuGIO.InputStream, flags: AuGIO.OutputStreamSpliceFlags, cancellable: AuGIO.Cancellable | undefined | null): number | bigint;
|
|||
|
spliceAsync(source: AuGIO.InputStream, flags: AuGIO.OutputStreamSpliceFlags, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
spliceFinish(result: AuGIO.AsyncResult): number | bigint;
|
|||
|
write(buffer: number[], count: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint;
|
|||
|
writeAll(buffer: number[], count: number | bigint, bytesWritten ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
writeAllAsync(buffer: number[], count: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
writeAllFinish(result: AuGIO.AsyncResult, bytesWritten ?: number | bigint): boolean;
|
|||
|
writeAsync(buffer: number[], count: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
writeBytes(bytes: AuGlibEx.Bytes, cancellable: AuGIO.Cancellable | undefined | null): number | bigint;
|
|||
|
writeBytesAsync(bytes: AuGlibEx.Bytes, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
writeBytesFinish(result: AuGIO.AsyncResult): number | bigint;
|
|||
|
writeFinish(result: AuGIO.AsyncResult): number | bigint;
|
|||
|
writev(vectors: AuGIO.OutputVector[], nVectors: number | bigint, bytesWritten ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
writevAll(vectors: AuGIO.OutputVector[], nVectors: number | bigint, bytesWritten ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
writevAllAsync(vectors: AuGIO.OutputVector[], nVectors: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
writevAllFinish(result: AuGIO.AsyncResult, bytesWritten ?: number | bigint): boolean;
|
|||
|
writevAsync(vectors: AuGIO.OutputVector[], nVectors: number | bigint, ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
writevFinish(result: AuGIO.AsyncResult, bytesWritten ?: number | bigint): boolean;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class OutputStreamCtor {
|
|||
|
}
|
|||
|
|
|||
|
class Permission extends GObject.Object {
|
|||
|
constructor(initializerList ?: PermissionCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.PermissionPrivate;
|
|||
|
|
|||
|
allowed : boolean;
|
|||
|
canAcquire : boolean;
|
|||
|
canRelease : boolean;
|
|||
|
|
|||
|
acquire(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
acquireAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
acquireFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
getAllowed(): boolean;
|
|||
|
getCanAcquire(): boolean;
|
|||
|
getCanRelease(): boolean;
|
|||
|
implUpdate(allowed: boolean, canAcquire: boolean, canRelease: boolean): void;
|
|||
|
release(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
releaseAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
releaseFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class PermissionCtor {
|
|||
|
allowed ?: boolean;
|
|||
|
canAcquire ?: boolean;
|
|||
|
canRelease ?: boolean;
|
|||
|
}
|
|||
|
|
|||
|
class PropertyAction extends GObject.Object implements AuGIO.Action {
|
|||
|
constructor(initializerList ?: PropertyActionCtor);
|
|||
|
|
|||
|
enabled : boolean;
|
|||
|
invertBoolean : boolean;
|
|||
|
name : string;
|
|||
|
object : GObject.Object;
|
|||
|
parameterType : AuGlibEx.VariantType;
|
|||
|
propertyName : string;
|
|||
|
state : AuGlibEx.Variant;
|
|||
|
stateType : AuGlibEx.VariantType;
|
|||
|
|
|||
|
static New(name: string, object: GObject.Object, propertyName: string): AuGIO.PropertyAction;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
|
|||
|
static NameIsValid(actionName: string): boolean;
|
|||
|
static ParseDetailedName(detailedName: string, actionName: string, targetValue: AuGlibEx.Variant): boolean;
|
|||
|
static PrintDetailedName(actionName: string, targetValue: AuGlibEx.Variant | undefined | null): string;
|
|||
|
activate(parameter: AuGlibEx.Variant | undefined | null): void;
|
|||
|
changeState(value: AuGlibEx.Variant): void;
|
|||
|
getEnabled(): boolean;
|
|||
|
getName(): string;
|
|||
|
getParameterType(): AuGlibEx.VariantType;
|
|||
|
getState(): AuGlibEx.Variant;
|
|||
|
getStateHint(): AuGlibEx.Variant;
|
|||
|
getStateType(): AuGlibEx.VariantType;
|
|||
|
}
|
|||
|
|
|||
|
class PropertyActionCtor {
|
|||
|
name ?: string;
|
|||
|
parameterType ?: AuGlibEx.VariantType;
|
|||
|
enabled ?: boolean;
|
|||
|
stateType ?: AuGlibEx.VariantType;
|
|||
|
state ?: any;
|
|||
|
object ?: GObject.Object;
|
|||
|
propertyName ?: string;
|
|||
|
invertBoolean ?: boolean;
|
|||
|
}
|
|||
|
|
|||
|
class ProxyAddress extends AuGIO.InetSocketAddress implements AuGIO.SocketConnectable {
|
|||
|
constructor(initializerList ?: ProxyAddressCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.InetSocketAddress;
|
|||
|
priv : AuGIO.ProxyAddressPrivate;
|
|||
|
|
|||
|
destinationHostname : string;
|
|||
|
destinationPort : number;
|
|||
|
destinationProtocol : string;
|
|||
|
password : string;
|
|||
|
protocol : string;
|
|||
|
uri : string;
|
|||
|
username : string;
|
|||
|
|
|||
|
getDestinationHostname(): string;
|
|||
|
getDestinationPort(): number;
|
|||
|
getDestinationProtocol(): string;
|
|||
|
getPassword(): string;
|
|||
|
getProtocol(): string;
|
|||
|
getUri(): string;
|
|||
|
getUsername(): string;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class ProxyAddressCtor {
|
|||
|
family ?: AuGIO.SocketFamily;
|
|||
|
address ?: AuGIO.InetAddress;
|
|||
|
port ?: number;
|
|||
|
flowinfo ?: number;
|
|||
|
scopeId ?: number;
|
|||
|
protocol ?: string;
|
|||
|
destinationProtocol ?: string;
|
|||
|
destinationHostname ?: string;
|
|||
|
destinationPort ?: number;
|
|||
|
username ?: string;
|
|||
|
password ?: string;
|
|||
|
uri ?: string;
|
|||
|
}
|
|||
|
|
|||
|
class ProxyAddressEnumerator extends AuGIO.SocketAddressEnumerator {
|
|||
|
constructor(initializerList ?: ProxyAddressEnumeratorCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.SocketAddressEnumerator;
|
|||
|
priv : AuGIO.ProxyAddressEnumeratorPrivate;
|
|||
|
|
|||
|
connectable : AuGIO.SocketConnectable;
|
|||
|
defaultPort : number;
|
|||
|
proxyResolver : AuGIO.ProxyResolver;
|
|||
|
uri : string;
|
|||
|
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class ProxyAddressEnumeratorCtor {
|
|||
|
uri ?: string;
|
|||
|
defaultPort ?: number;
|
|||
|
connectable ?: AuGIO.SocketConnectable;
|
|||
|
proxyResolver ?: AuGIO.ProxyResolver;
|
|||
|
}
|
|||
|
|
|||
|
class Resolver extends GObject.Object {
|
|||
|
constructor(initializerList ?: ResolverCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.ResolverPrivate;
|
|||
|
|
|||
|
static GetDefault(): AuGIO.Resolver;
|
|||
|
lookupByAddress(address: AuGIO.InetAddress, cancellable: AuGIO.Cancellable | undefined | null): string;
|
|||
|
lookupByAddressAsync(address: AuGIO.InetAddress, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
lookupByAddressFinish(result: AuGIO.AsyncResult): string;
|
|||
|
lookupByName(hostname: string, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.InetAddress[];
|
|||
|
lookupByNameAsync(hostname: string, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
lookupByNameFinish(result: AuGIO.AsyncResult): AuGIO.InetAddress[];
|
|||
|
lookupByNameWithFlags(hostname: string, flags: AuGIO.ResolverNameLookupFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.InetAddress[];
|
|||
|
lookupByNameWithFlagsAsync(hostname: string, flags: AuGIO.ResolverNameLookupFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
lookupByNameWithFlagsFinish(result: AuGIO.AsyncResult): AuGIO.InetAddress[];
|
|||
|
lookupRecords(rrname: string, recordType: AuGIO.ResolverRecordType, cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Variant[];
|
|||
|
lookupRecordsAsync(rrname: string, recordType: AuGIO.ResolverRecordType, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
lookupRecordsFinish(result: AuGIO.AsyncResult): AuGlibEx.Variant[];
|
|||
|
lookupService(service: string, protocol: string, domain: string, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.SrvTarget[];
|
|||
|
lookupServiceAsync(service: string, protocol: string, domain: string, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
lookupServiceFinish(result: AuGIO.AsyncResult): AuGIO.SrvTarget[];
|
|||
|
setDefault(): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class ResolverCtor {
|
|||
|
}
|
|||
|
|
|||
|
class ResolverEventListener extends AuGlibEx.IEventListener {
|
|||
|
reload(): void;
|
|||
|
}
|
|||
|
|
|||
|
class Settings extends GObject.Object {
|
|||
|
constructor(initializerList ?: SettingsCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.SettingsPrivate;
|
|||
|
|
|||
|
backend : AuGIO.SettingsBackend;
|
|||
|
delayApply : boolean;
|
|||
|
hasUnapplied : boolean;
|
|||
|
path : string;
|
|||
|
schema : string;
|
|||
|
schemaId : string;
|
|||
|
settingsSchema : AuGIO.SettingsSchema;
|
|||
|
|
|||
|
static New(schemaId: string): AuGIO.Settings;
|
|||
|
static NewFull(schema: AuGIO.SettingsSchema, backend: AuGIO.SettingsBackend | undefined | null, path: string | undefined | null): AuGIO.Settings;
|
|||
|
static NewWithBackend(schemaId: string, backend: AuGIO.SettingsBackend): AuGIO.Settings;
|
|||
|
static NewWithBackendAndPath(schemaId: string, backend: AuGIO.SettingsBackend, path: string): AuGIO.Settings;
|
|||
|
static NewWithPath(schemaId: string, path: string): AuGIO.Settings;
|
|||
|
static ListRelocatableSchemas(): string[];
|
|||
|
static ListSchemas(): string[];
|
|||
|
static Sync(): void;
|
|||
|
static Unbind(object: GObject.Object, property: string): void;
|
|||
|
apply(): void;
|
|||
|
bind(key: string, object: GObject.Object, property: string, flags: AuGIO.SettingsBindFlags): void;
|
|||
|
bindWritable(key: string, object: GObject.Object, property: string, inverted: boolean): void;
|
|||
|
createAction(key: string): AuGIO.Action;
|
|||
|
delay(): void;
|
|||
|
getBoolean(key: string): boolean;
|
|||
|
getChild(name: string): AuGIO.Settings;
|
|||
|
getDefaultValue(key: string): AuGlibEx.Variant;
|
|||
|
getDouble(key: string): number;
|
|||
|
getEnum(key: string): number;
|
|||
|
getFlags(key: string): number;
|
|||
|
getHasUnapplied(): boolean;
|
|||
|
getInt(key: string): number;
|
|||
|
getInt64(key: string): number | bigint;
|
|||
|
getMapped(key: string, mapping: (value: AuGlibEx.Variant) => boolean): void;
|
|||
|
getRange(key: string): AuGlibEx.Variant;
|
|||
|
getString(key: string): string;
|
|||
|
getStrv(key: string): string[];
|
|||
|
getUint(key: string): number;
|
|||
|
getUint64(key: string): number | bigint;
|
|||
|
getUserValue(key: string): AuGlibEx.Variant;
|
|||
|
getValue(key: string): AuGlibEx.Variant;
|
|||
|
isWritable(name: string): boolean;
|
|||
|
listChildren(): string[];
|
|||
|
listKeys(): string[];
|
|||
|
rangeCheck(key: string, value: AuGlibEx.Variant): boolean;
|
|||
|
reset(key: string): void;
|
|||
|
revert(): void;
|
|||
|
setBoolean(key: string, value: boolean): boolean;
|
|||
|
setDouble(key: string, value: number): boolean;
|
|||
|
setEnum(key: string, value: number): boolean;
|
|||
|
setFlags(key: string, value: number): boolean;
|
|||
|
setInt(key: string, value: number): boolean;
|
|||
|
setInt64(key: string, value: number | bigint): boolean;
|
|||
|
setString(key: string, value: string): boolean;
|
|||
|
setStrv(key: string, value: string[] | undefined | null): boolean;
|
|||
|
setUint(key: string, value: number): boolean;
|
|||
|
setUint64(key: string, value: number | bigint): boolean;
|
|||
|
setValue(key: string, value: AuGlibEx.Variant): boolean;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class SettingsCtor {
|
|||
|
settingsSchema ?: AuGIO.SettingsSchema;
|
|||
|
schema ?: string;
|
|||
|
schemaId ?: string;
|
|||
|
backend ?: AuGIO.SettingsBackend;
|
|||
|
path ?: string;
|
|||
|
hasUnapplied ?: boolean;
|
|||
|
delayApply ?: boolean;
|
|||
|
}
|
|||
|
|
|||
|
class SettingsEventListener extends AuGlibEx.IEventListener {
|
|||
|
changeEvent(keys: number[] | undefined | null, nKeys: number): boolean;
|
|||
|
changed(key: string): void;
|
|||
|
writableChangeEvent(key: number): boolean;
|
|||
|
writableChanged(key: string): void;
|
|||
|
}
|
|||
|
|
|||
|
class SettingsBackend extends GObject.Object {
|
|||
|
constructor(initializerList ?: SettingsBackendCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.SettingsBackendPrivate;
|
|||
|
|
|||
|
static FlattenTree(tree: AuGlibEx.Tree, path: string, keys: string[], values ?: AuGlibEx.Variant[]): void;
|
|||
|
static GetDefault(): AuGIO.SettingsBackend;
|
|||
|
changed(key: string): void;
|
|||
|
changedTree(tree: AuGlibEx.Tree): void;
|
|||
|
keysChanged(path: string, items: string[]): void;
|
|||
|
pathChanged(path: string): void;
|
|||
|
pathWritableChanged(path: string): void;
|
|||
|
writableChanged(key: string): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class SettingsBackendCtor {
|
|||
|
}
|
|||
|
|
|||
|
class SimpleAction extends GObject.Object implements AuGIO.Action {
|
|||
|
constructor(initializerList ?: SimpleActionCtor);
|
|||
|
|
|||
|
enabled : boolean;
|
|||
|
name : string;
|
|||
|
parameterType : AuGlibEx.VariantType;
|
|||
|
state : AuGlibEx.Variant;
|
|||
|
stateType : AuGlibEx.VariantType;
|
|||
|
|
|||
|
static New(name: string, parameterType: AuGlibEx.VariantType | undefined | null): AuGIO.SimpleAction;
|
|||
|
static NewStateful(name: string, parameterType: AuGlibEx.VariantType | undefined | null, state: AuGlibEx.Variant): AuGIO.SimpleAction;
|
|||
|
setEnabled(enabled: boolean): void;
|
|||
|
setState(value: AuGlibEx.Variant): void;
|
|||
|
setStateHint(stateHint: AuGlibEx.Variant | undefined | null): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
|
|||
|
static NameIsValid(actionName: string): boolean;
|
|||
|
static ParseDetailedName(detailedName: string, actionName: string, targetValue: AuGlibEx.Variant): boolean;
|
|||
|
static PrintDetailedName(actionName: string, targetValue: AuGlibEx.Variant | undefined | null): string;
|
|||
|
activate(parameter: AuGlibEx.Variant | undefined | null): void;
|
|||
|
changeState(value: AuGlibEx.Variant): void;
|
|||
|
getEnabled(): boolean;
|
|||
|
getName(): string;
|
|||
|
getParameterType(): AuGlibEx.VariantType;
|
|||
|
getState(): AuGlibEx.Variant;
|
|||
|
getStateHint(): AuGlibEx.Variant;
|
|||
|
getStateType(): AuGlibEx.VariantType;
|
|||
|
}
|
|||
|
|
|||
|
class SimpleActionCtor {
|
|||
|
name ?: string;
|
|||
|
parameterType ?: AuGlibEx.VariantType;
|
|||
|
enabled ?: boolean;
|
|||
|
stateType ?: AuGlibEx.VariantType;
|
|||
|
state ?: any;
|
|||
|
}
|
|||
|
|
|||
|
class SimpleActionEventListener extends AuGlibEx.IEventListener {
|
|||
|
activate(parameter: AuGlibEx.Variant | undefined | null): void;
|
|||
|
changeState(value: AuGlibEx.Variant | undefined | null): void;
|
|||
|
}
|
|||
|
|
|||
|
class SimpleActionGroup extends GObject.Object implements AuGIO.ActionGroup, AuGIO.ActionMap {
|
|||
|
constructor(initializerList ?: SimpleActionGroupCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.SimpleActionGroupPrivate;
|
|||
|
|
|||
|
static New(): AuGIO.SimpleActionGroup;
|
|||
|
addEntries(entries: AuGIO.ActionEntry[], nEntries: number): void;
|
|||
|
insert(action: AuGIO.Action): void;
|
|||
|
lookup(actionName: string): AuGIO.Action;
|
|||
|
remove(actionName: string): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
actionAdded(actionName: string): void;
|
|||
|
actionEnabledChanged(actionName: string, enabled: boolean): void;
|
|||
|
actionRemoved(actionName: string): void;
|
|||
|
actionStateChanged(actionName: string, state: AuGlibEx.Variant): void;
|
|||
|
activateAction(actionName: string, parameter: AuGlibEx.Variant | undefined | null): void;
|
|||
|
changeActionState(actionName: string, value: AuGlibEx.Variant): void;
|
|||
|
getActionEnabled(actionName: string): boolean;
|
|||
|
getActionParameterType(actionName: string): AuGlibEx.VariantType;
|
|||
|
getActionState(actionName: string): AuGlibEx.Variant;
|
|||
|
getActionStateHint(actionName: string): AuGlibEx.Variant;
|
|||
|
getActionStateType(actionName: string): AuGlibEx.VariantType;
|
|||
|
hasAction(actionName: string): boolean;
|
|||
|
listActions(): string[];
|
|||
|
queryAction(actionName: string, enabled: boolean, parameterType ?: AuGlibEx.VariantType, stateType ?: AuGlibEx.VariantType, stateHint ?: AuGlibEx.Variant, state ?: AuGlibEx.Variant): boolean;
|
|||
|
addAction(action: AuGIO.Action): void;
|
|||
|
addActionEntries(entries: AuGIO.ActionEntry[], nEntries: number): void;
|
|||
|
lookupAction(actionName: string): AuGIO.Action;
|
|||
|
removeAction(actionName: string): void;
|
|||
|
}
|
|||
|
|
|||
|
class SimpleActionGroupCtor {
|
|||
|
}
|
|||
|
|
|||
|
class SimpleAsyncResult extends GObject.Object implements AuGIO.AsyncResult {
|
|||
|
constructor(initializerList ?: SimpleAsyncResultCtor);
|
|||
|
|
|||
|
static New(sourceObject: GObject.Object | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): AuGIO.SimpleAsyncResult;
|
|||
|
static NewFromError(sourceObject: GObject.Object | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null, error: AuGlibEx.Error): AuGIO.SimpleAsyncResult;
|
|||
|
static IsValid(result: AuGIO.AsyncResult, source: GObject.Object | undefined | null): boolean;
|
|||
|
complete(): void;
|
|||
|
completeInIdle(): void;
|
|||
|
getOpResGboolean(): boolean;
|
|||
|
getOpResGssize(): number | bigint;
|
|||
|
propagateError(): boolean;
|
|||
|
setCheckCancellable(checkCancellable: AuGIO.Cancellable | undefined | null): void;
|
|||
|
setFromError(error: AuGlibEx.Error): void;
|
|||
|
setHandleCancellation(handleCancellation: boolean): void;
|
|||
|
setOpResGboolean(opRes: boolean): void;
|
|||
|
setOpResGssize(opRes: number | bigint): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
getSourceObject(): GObject.Object;
|
|||
|
getUserData(): void;
|
|||
|
isTagged(): boolean;
|
|||
|
legacyPropagateError(): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class SimpleAsyncResultCtor {
|
|||
|
}
|
|||
|
|
|||
|
class SimpleIOStream extends AuGIO.IOStream {
|
|||
|
constructor(initializerList ?: SimpleIOStreamCtor);
|
|||
|
|
|||
|
inputStream : AuGIO.InputStream;
|
|||
|
outputStream : AuGIO.OutputStream;
|
|||
|
|
|||
|
static New(inputStream: AuGIO.InputStream, outputStream: AuGIO.OutputStream): AuGIO.IOStream;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class SimpleIOStreamCtor {
|
|||
|
closed ?: boolean;
|
|||
|
inputStream ?: AuGIO.InputStream;
|
|||
|
outputStream ?: AuGIO.OutputStream;
|
|||
|
}
|
|||
|
|
|||
|
class SimplePermission extends AuGIO.Permission {
|
|||
|
constructor(initializerList ?: SimplePermissionCtor);
|
|||
|
|
|||
|
static New(allowed: boolean): AuGIO.Permission;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class SimplePermissionCtor {
|
|||
|
allowed ?: boolean;
|
|||
|
canAcquire ?: boolean;
|
|||
|
canRelease ?: boolean;
|
|||
|
}
|
|||
|
|
|||
|
class SimpleProxyResolver extends GObject.Object implements AuGIO.ProxyResolver {
|
|||
|
constructor(initializerList ?: SimpleProxyResolverCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.SimpleProxyResolverPrivate;
|
|||
|
|
|||
|
defaultProxy : string;
|
|||
|
ignoreHosts : string[];
|
|||
|
|
|||
|
static New(defaultProxy: string | undefined | null, ignoreHosts: string[] | undefined | null): AuGIO.ProxyResolver;
|
|||
|
setDefaultProxy(defaultProxy: string): void;
|
|||
|
setIgnoreHosts(ignoreHosts: string[]): void;
|
|||
|
setUriProxy(uriScheme: string, proxy: string): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
static GetDefault(): AuGIO.ProxyResolver;
|
|||
|
isSupported(): boolean;
|
|||
|
lookup(uri: string, cancellable: AuGIO.Cancellable | undefined | null): string[];
|
|||
|
lookupAsync(uri: string, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
lookupFinish(result: AuGIO.AsyncResult): string[];
|
|||
|
}
|
|||
|
|
|||
|
class SimpleProxyResolverCtor {
|
|||
|
defaultProxy ?: string;
|
|||
|
ignoreHosts ?: any;
|
|||
|
}
|
|||
|
|
|||
|
class Socket extends GObject.Object implements AuGIO.DatagramBased, AuGIO.Initable {
|
|||
|
constructor(initializerList ?: SocketCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.SocketPrivate;
|
|||
|
|
|||
|
blocking : boolean;
|
|||
|
broadcast : boolean;
|
|||
|
family : AuGIO.SocketFamily;
|
|||
|
fd : number;
|
|||
|
keepalive : boolean;
|
|||
|
listenBacklog : number;
|
|||
|
localAddress : AuGIO.SocketAddress;
|
|||
|
multicastLoopback : boolean;
|
|||
|
multicastTtl : number;
|
|||
|
protocol : AuGIO.SocketProtocol;
|
|||
|
remoteAddress : AuGIO.SocketAddress;
|
|||
|
timeout : number;
|
|||
|
ttl : number;
|
|||
|
type : AuGIO.SocketType;
|
|||
|
|
|||
|
static New(family: AuGIO.SocketFamily, type: AuGIO.SocketType, protocol: AuGIO.SocketProtocol): AuGIO.Socket;
|
|||
|
static NewFromFd(fd: number): AuGIO.Socket;
|
|||
|
accept(cancellable: AuGIO.Cancellable | undefined | null): AuGIO.Socket;
|
|||
|
bind(address: AuGIO.SocketAddress, allowReuse: boolean): boolean;
|
|||
|
checkConnectResult(): boolean;
|
|||
|
close(): boolean;
|
|||
|
conditionCheck(condition: AuGlibEx.IOCondition): AuGlibEx.IOCondition;
|
|||
|
conditionTimedWait(condition: AuGlibEx.IOCondition, timeoutUs: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
connect(address: AuGIO.SocketAddress, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
connectionFactoryCreateConnection(): AuGIO.SocketConnection;
|
|||
|
getAvailableBytes(): number | bigint;
|
|||
|
getBlocking(): boolean;
|
|||
|
getBroadcast(): boolean;
|
|||
|
getCredentials(): AuGIO.Credentials;
|
|||
|
getFamily(): AuGIO.SocketFamily;
|
|||
|
getFd(): number;
|
|||
|
getKeepalive(): boolean;
|
|||
|
getListenBacklog(): number;
|
|||
|
getLocalAddress(): AuGIO.SocketAddress;
|
|||
|
getMulticastLoopback(): boolean;
|
|||
|
getMulticastTtl(): number;
|
|||
|
getOption(level: number, optname: number, value: number): boolean;
|
|||
|
getProtocol(): AuGIO.SocketProtocol;
|
|||
|
getRemoteAddress(): AuGIO.SocketAddress;
|
|||
|
getSocketType(): AuGIO.SocketType;
|
|||
|
getTimeout(): number;
|
|||
|
getTtl(): number;
|
|||
|
isClosed(): boolean;
|
|||
|
isConnected(): boolean;
|
|||
|
joinMulticastGroup(group: AuGIO.InetAddress, sourceSpecific: boolean, iface: string | undefined | null): boolean;
|
|||
|
joinMulticastGroupSsm(group: AuGIO.InetAddress, sourceSpecific: AuGIO.InetAddress | undefined | null, iface: string | undefined | null): boolean;
|
|||
|
leaveMulticastGroup(group: AuGIO.InetAddress, sourceSpecific: boolean, iface: string | undefined | null): boolean;
|
|||
|
leaveMulticastGroupSsm(group: AuGIO.InetAddress, sourceSpecific: AuGIO.InetAddress | undefined | null, iface: string | undefined | null): boolean;
|
|||
|
listen(): boolean;
|
|||
|
receive(buffer: number[], size: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint;
|
|||
|
receiveFrom(address ?: AuGIO.SocketAddress, buffer ?: number[], size ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): number | bigint;
|
|||
|
receiveMessage(address ?: AuGIO.SocketAddress, vectors ?: AuGIO.InputVector[], numVectors ?: number, messages ?: AuGIO.SocketControlMessage[] | undefined | null, numMessages ?: number, flags ?: number, cancellable ?: AuGIO.Cancellable | undefined | null): number | bigint;
|
|||
|
receiveWithBlocking(buffer: number[], size: number | bigint, blocking: boolean, cancellable: AuGIO.Cancellable | undefined | null): number | bigint;
|
|||
|
send(buffer: number[], size: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint;
|
|||
|
sendMessage(address: AuGIO.SocketAddress | undefined | null, vectors: AuGIO.OutputVector[], numVectors: number, messages: AuGIO.SocketControlMessage[] | undefined | null, numMessages: number, flags: number, cancellable: AuGIO.Cancellable | undefined | null): number | bigint;
|
|||
|
sendMessageWithTimeout(address: AuGIO.SocketAddress | undefined | null, vectors: AuGIO.OutputVector[], numVectors: number, messages: AuGIO.SocketControlMessage[] | undefined | null, numMessages: number, flags: number, timeoutUs: number | bigint, bytesWritten ?: number | bigint, cancellable ?: AuGIO.Cancellable | undefined | null): AuGIO.PollableReturn;
|
|||
|
sendTo(address: AuGIO.SocketAddress | undefined | null, buffer: number[], size: number | bigint, cancellable: AuGIO.Cancellable | undefined | null): number | bigint;
|
|||
|
sendWithBlocking(buffer: number[], size: number | bigint, blocking: boolean, cancellable: AuGIO.Cancellable | undefined | null): number | bigint;
|
|||
|
setBlocking(blocking: boolean): void;
|
|||
|
setBroadcast(broadcast: boolean): void;
|
|||
|
setKeepalive(keepalive: boolean): void;
|
|||
|
setListenBacklog(backlog: number): void;
|
|||
|
setMulticastLoopback(loopback: boolean): void;
|
|||
|
setMulticastTtl(ttl: number): void;
|
|||
|
setOption(level: number, optname: number, value: number): boolean;
|
|||
|
setTimeout(timeout: number): void;
|
|||
|
setTtl(ttl: number): void;
|
|||
|
shutdown(shutdownRead: boolean, shutdownWrite: boolean): boolean;
|
|||
|
speaksIpv4(): boolean;
|
|||
|
|
|||
|
conditionWait(condition: AuGlibEx.IOCondition,timeout: number|bigint,cancellable: Cancellable|null|undefined): boolean;
|
|||
|
receiveMessages(messages: InputMessage[],numMessages: number,flags: number,timeout: number|bigint,cancellable: Cancellable|null|undefined): number;
|
|||
|
sendMessages(messages: OutputMessage[],numMessages: number,flags: number,timeout: number|bigint,cancellable: Cancellable|null|undefined): number; //TypeScript is complete garbage:
|
|||
|
createSource(condition: AuGlibEx.IOCondition, cancellable: AuGIO.Cancellable | undefined | null): AuGlibEx.Source;
|
|||
|
init(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class SocketCtor {
|
|||
|
family ?: AuGIO.SocketFamily;
|
|||
|
type ?: AuGIO.SocketType;
|
|||
|
protocol ?: AuGIO.SocketProtocol;
|
|||
|
fd ?: number;
|
|||
|
blocking ?: boolean;
|
|||
|
listenBacklog ?: number;
|
|||
|
keepalive ?: boolean;
|
|||
|
localAddress ?: AuGIO.SocketAddress;
|
|||
|
remoteAddress ?: AuGIO.SocketAddress;
|
|||
|
timeout ?: number;
|
|||
|
ttl ?: number;
|
|||
|
broadcast ?: boolean;
|
|||
|
multicastLoopback ?: boolean;
|
|||
|
multicastTtl ?: number;
|
|||
|
}
|
|||
|
|
|||
|
class SocketAddress extends GObject.Object implements AuGIO.SocketConnectable {
|
|||
|
constructor(initializerList ?: SocketAddressCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
|
|||
|
family : AuGIO.SocketFamily;
|
|||
|
|
|||
|
static NewFromNative(len: number | bigint): AuGIO.SocketAddress;
|
|||
|
getFamily(): AuGIO.SocketFamily;
|
|||
|
getNativeSize(): number | bigint;
|
|||
|
toNative(destlen: number | bigint): boolean;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
enumerate(): AuGIO.SocketAddressEnumerator;
|
|||
|
proxyEnumerate(): AuGIO.SocketAddressEnumerator;
|
|||
|
}
|
|||
|
|
|||
|
class SocketAddressCtor {
|
|||
|
family ?: AuGIO.SocketFamily;
|
|||
|
}
|
|||
|
|
|||
|
class SocketAddressEnumerator extends GObject.Object {
|
|||
|
constructor(initializerList ?: SocketAddressEnumeratorCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
|
|||
|
next(cancellable: AuGIO.Cancellable | undefined | null): AuGIO.SocketAddress;
|
|||
|
nextAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
nextFinish(result: AuGIO.AsyncResult): AuGIO.SocketAddress;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class SocketAddressEnumeratorCtor {
|
|||
|
}
|
|||
|
|
|||
|
class SocketClient extends GObject.Object {
|
|||
|
constructor(initializerList ?: SocketClientCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.SocketClientPrivate;
|
|||
|
|
|||
|
enableProxy : boolean;
|
|||
|
family : AuGIO.SocketFamily;
|
|||
|
localAddress : AuGIO.SocketAddress;
|
|||
|
protocol : AuGIO.SocketProtocol;
|
|||
|
proxyResolver : AuGIO.ProxyResolver;
|
|||
|
timeout : number;
|
|||
|
tls : boolean;
|
|||
|
tlsValidationFlags : AuGIO.TlsCertificateFlags;
|
|||
|
type : AuGIO.SocketType;
|
|||
|
|
|||
|
static New(): AuGIO.SocketClient;
|
|||
|
addApplicationProxy(protocol: string): void;
|
|||
|
connect(connectable: AuGIO.SocketConnectable, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.SocketConnection;
|
|||
|
connectAsync(connectable: AuGIO.SocketConnectable, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
connectFinish(result: AuGIO.AsyncResult): AuGIO.SocketConnection;
|
|||
|
connectToHost(hostAndPort: string, defaultPort: number, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.SocketConnection;
|
|||
|
connectToHostAsync(hostAndPort: string, defaultPort: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
connectToHostFinish(result: AuGIO.AsyncResult): AuGIO.SocketConnection;
|
|||
|
connectToService(domain: string, service: string, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.SocketConnection;
|
|||
|
connectToServiceAsync(domain: string, service: string, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
connectToServiceFinish(result: AuGIO.AsyncResult): AuGIO.SocketConnection;
|
|||
|
connectToUri(uri: string, defaultPort: number, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.SocketConnection;
|
|||
|
connectToUriAsync(uri: string, defaultPort: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
connectToUriFinish(result: AuGIO.AsyncResult): AuGIO.SocketConnection;
|
|||
|
getEnableProxy(): boolean;
|
|||
|
getFamily(): AuGIO.SocketFamily;
|
|||
|
getLocalAddress(): AuGIO.SocketAddress;
|
|||
|
getProtocol(): AuGIO.SocketProtocol;
|
|||
|
getProxyResolver(): AuGIO.ProxyResolver;
|
|||
|
getSocketType(): AuGIO.SocketType;
|
|||
|
getTimeout(): number;
|
|||
|
getTls(): boolean;
|
|||
|
getTlsValidationFlags(): AuGIO.TlsCertificateFlags;
|
|||
|
setEnableProxy(enable: boolean): void;
|
|||
|
setFamily(family: AuGIO.SocketFamily): void;
|
|||
|
setLocalAddress(address: AuGIO.SocketAddress | undefined | null): void;
|
|||
|
setProtocol(protocol: AuGIO.SocketProtocol): void;
|
|||
|
setProxyResolver(proxyResolver: AuGIO.ProxyResolver | undefined | null): void;
|
|||
|
setSocketType(type: AuGIO.SocketType): void;
|
|||
|
setTimeout(timeout: number): void;
|
|||
|
setTls(tls: boolean): void;
|
|||
|
setTlsValidationFlags(flags: AuGIO.TlsCertificateFlags): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class SocketClientCtor {
|
|||
|
family ?: AuGIO.SocketFamily;
|
|||
|
type ?: AuGIO.SocketType;
|
|||
|
protocol ?: AuGIO.SocketProtocol;
|
|||
|
localAddress ?: AuGIO.SocketAddress;
|
|||
|
timeout ?: number;
|
|||
|
enableProxy ?: boolean;
|
|||
|
tls ?: boolean;
|
|||
|
tlsValidationFlags ?: AuGIO.TlsCertificateFlags;
|
|||
|
proxyResolver ?: AuGIO.ProxyResolver;
|
|||
|
}
|
|||
|
|
|||
|
class SocketClientEventListener extends AuGlibEx.IEventListener {
|
|||
|
event(event: AuGIO.SocketClientEvent, connectable: AuGIO.SocketConnectable, connection: AuGIO.IOStream | undefined | null): void;
|
|||
|
}
|
|||
|
|
|||
|
class SocketConnection extends AuGIO.IOStream {
|
|||
|
constructor(initializerList ?: SocketConnectionCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.IOStream;
|
|||
|
priv : AuGIO.SocketConnectionPrivate;
|
|||
|
|
|||
|
socket : AuGIO.Socket;
|
|||
|
|
|||
|
static FactoryLookupType(family: AuGIO.SocketFamily, type: AuGIO.SocketType, protocolId: number): number;
|
|||
|
static FactoryRegisterType(gType: number, family: AuGIO.SocketFamily, type: AuGIO.SocketType, protocol: number): void;
|
|||
|
connect(address: AuGIO.SocketAddress, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
connectAsync(address: AuGIO.SocketAddress, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
connectFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
getLocalAddress(): AuGIO.SocketAddress;
|
|||
|
getRemoteAddress(): AuGIO.SocketAddress;
|
|||
|
getSocket(): AuGIO.Socket;
|
|||
|
isConnected(): boolean;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class SocketConnectionCtor {
|
|||
|
inputStream ?: AuGIO.InputStream;
|
|||
|
outputStream ?: AuGIO.OutputStream;
|
|||
|
closed ?: boolean;
|
|||
|
socket ?: AuGIO.Socket;
|
|||
|
}
|
|||
|
|
|||
|
class SocketControlMessage extends GObject.Object {
|
|||
|
constructor(initializerList ?: SocketControlMessageCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.SocketControlMessagePrivate;
|
|||
|
|
|||
|
static Deserialize(level: number, type: number, size: number | bigint, data: number[]): AuGIO.SocketControlMessage;
|
|||
|
getLevel(): number;
|
|||
|
getMsgType(): number;
|
|||
|
getSize(): number | bigint;
|
|||
|
serialize(): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class SocketControlMessageCtor {
|
|||
|
}
|
|||
|
|
|||
|
class SocketListener extends GObject.Object {
|
|||
|
constructor(initializerList ?: SocketListenerCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.SocketListenerPrivate;
|
|||
|
|
|||
|
listenBacklog : number;
|
|||
|
|
|||
|
static New(): AuGIO.SocketListener;
|
|||
|
accept(sourceObject ?: GObject.Object | undefined | null, cancellable ?: AuGIO.Cancellable | undefined | null): AuGIO.SocketConnection;
|
|||
|
acceptAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
acceptFinish(result: AuGIO.AsyncResult, sourceObject ?: GObject.Object | undefined | null): AuGIO.SocketConnection;
|
|||
|
acceptSocket(sourceObject ?: GObject.Object | undefined | null, cancellable ?: AuGIO.Cancellable | undefined | null): AuGIO.Socket;
|
|||
|
acceptSocketAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
acceptSocketFinish(result: AuGIO.AsyncResult, sourceObject ?: GObject.Object | undefined | null): AuGIO.Socket;
|
|||
|
addAddress(address: AuGIO.SocketAddress, type: AuGIO.SocketType, protocol: AuGIO.SocketProtocol, sourceObject: GObject.Object | undefined | null, effectiveAddress ?: AuGIO.SocketAddress): boolean;
|
|||
|
addAnyInetPort(sourceObject: GObject.Object | undefined | null): number;
|
|||
|
addInetPort(port: number, sourceObject: GObject.Object | undefined | null): boolean;
|
|||
|
addSocket(socket: AuGIO.Socket, sourceObject: GObject.Object | undefined | null): boolean;
|
|||
|
close(): void;
|
|||
|
setBacklog(listenBacklog: number): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class SocketListenerCtor {
|
|||
|
listenBacklog ?: number;
|
|||
|
}
|
|||
|
|
|||
|
class SocketListenerEventListener extends AuGlibEx.IEventListener {
|
|||
|
event(event: AuGIO.SocketListenerEvent, socket: AuGIO.Socket): void;
|
|||
|
}
|
|||
|
|
|||
|
class SocketService extends AuGIO.SocketListener {
|
|||
|
constructor(initializerList ?: SocketServiceCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.SocketListener;
|
|||
|
priv : AuGIO.SocketServicePrivate;
|
|||
|
|
|||
|
active : boolean;
|
|||
|
|
|||
|
isActive(): boolean;
|
|||
|
start(): void;
|
|||
|
stop(): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class SocketServiceCtor {
|
|||
|
listenBacklog ?: number;
|
|||
|
active ?: boolean;
|
|||
|
}
|
|||
|
|
|||
|
class SocketServiceEventListener extends AuGlibEx.IEventListener {
|
|||
|
incoming(connection: AuGIO.SocketConnection, sourceObject: GObject.Object | undefined | null): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class Subprocess extends GObject.Object implements AuGIO.Initable {
|
|||
|
constructor(initializerList ?: SubprocessCtor);
|
|||
|
|
|||
|
argv : string[];
|
|||
|
flags : AuGIO.SubprocessFlags;
|
|||
|
|
|||
|
static New(argv: string[], flags: AuGIO.SubprocessFlags): AuGIO.Subprocess;
|
|||
|
communicate(stdinBuf: AuGlibEx.Bytes | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, stdoutBuf ?: AuGlibEx.Bytes | undefined | null, stderrBuf ?: AuGlibEx.Bytes | undefined | null): boolean;
|
|||
|
communicateAsync(stdinBuf: AuGlibEx.Bytes | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
communicateFinish(result: AuGIO.AsyncResult, stdoutBuf ?: AuGlibEx.Bytes | undefined | null, stderrBuf ?: AuGlibEx.Bytes | undefined | null): boolean;
|
|||
|
communicateUtf8(stdinBuf: string | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, stdoutBuf ?: string | undefined | null, stderrBuf ?: string | undefined | null): boolean;
|
|||
|
communicateUtf8Async(stdinBuf: string | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
communicateUtf8Finish(result: AuGIO.AsyncResult, stdoutBuf ?: string | undefined | null, stderrBuf ?: string | undefined | null): boolean;
|
|||
|
forceExit(): void;
|
|||
|
getExitStatus(): number;
|
|||
|
getIdentifier(): string;
|
|||
|
getIfExited(): boolean;
|
|||
|
getIfSignaled(): boolean;
|
|||
|
getStatus(): number;
|
|||
|
getStderrPipe(): AuGIO.InputStream;
|
|||
|
getStdinPipe(): AuGIO.OutputStream;
|
|||
|
getStdoutPipe(): AuGIO.InputStream;
|
|||
|
getSuccessful(): boolean;
|
|||
|
getTermSig(): number;
|
|||
|
wait(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
waitAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
waitCheck(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
waitCheckAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
waitCheckFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
waitFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
init(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class SubprocessCtor {
|
|||
|
flags ?: AuGIO.SubprocessFlags;
|
|||
|
argv ?: any;
|
|||
|
}
|
|||
|
|
|||
|
class SubprocessLauncher extends GObject.Object {
|
|||
|
constructor(initializerList ?: SubprocessLauncherCtor);
|
|||
|
|
|||
|
flags : AuGIO.SubprocessFlags;
|
|||
|
|
|||
|
static New(flags: AuGIO.SubprocessFlags): AuGIO.SubprocessLauncher;
|
|||
|
getenv(variable: string): string;
|
|||
|
setCwd(cwd: string): void;
|
|||
|
setEnviron(env: string[]): void;
|
|||
|
setFlags(flags: AuGIO.SubprocessFlags): void;
|
|||
|
setenv(variable: string, value: string, overwrite: boolean): void;
|
|||
|
spawnv(argv: string[]): AuGIO.Subprocess;
|
|||
|
unsetenv(variable: string): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class SubprocessLauncherCtor {
|
|||
|
flags ?: AuGIO.SubprocessFlags;
|
|||
|
}
|
|||
|
|
|||
|
class Task extends GObject.Object implements AuGIO.AsyncResult {
|
|||
|
constructor(initializerList ?: TaskCtor);
|
|||
|
|
|||
|
completed : boolean;
|
|||
|
|
|||
|
static New(sourceObject: GObject.Object | undefined | null, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): AuGIO.Task;
|
|||
|
static IsValid(result: AuGIO.AsyncResult, sourceObject: GObject.Object | undefined | null): boolean;
|
|||
|
static ReportError(sourceObject: GObject.Object | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null, error: AuGlibEx.Error): void;
|
|||
|
getCancellable(): AuGIO.Cancellable;
|
|||
|
getCheckCancellable(): boolean;
|
|||
|
getCompleted(): boolean;
|
|||
|
getContext(): AuGlibEx.MainContext;
|
|||
|
getName(): string;
|
|||
|
getPriority(): number;
|
|||
|
getReturnOnCancel(): boolean;
|
|||
|
getSourceObject(): GObject.Object;
|
|||
|
getSourceTag(): void;
|
|||
|
getTaskData(): void;
|
|||
|
hadError(): boolean;
|
|||
|
propagateBoolean(): boolean;
|
|||
|
propagateInt(): number | bigint;
|
|||
|
propagatePointer(): void;
|
|||
|
propagateValue(value: GObject.Value): boolean;
|
|||
|
returnBoolean(result: boolean): void;
|
|||
|
returnError(error: AuGlibEx.Error): void;
|
|||
|
returnErrorIfCancelled(): boolean;
|
|||
|
returnInt(result: number | bigint): void;
|
|||
|
returnPointer(resultDestroy: () => void | undefined | null): void;
|
|||
|
returnValue(result: GObject.Value | undefined | null): void;
|
|||
|
runInThread(taskFunc: (task: AuGIO.Task, sourceObject: GObject.Object, cancellable: AuGIO.Cancellable | undefined | null) => void): void;
|
|||
|
runInThreadSync(taskFunc: (task: AuGIO.Task, sourceObject: GObject.Object, cancellable: AuGIO.Cancellable | undefined | null) => void): void;
|
|||
|
setCheckCancellable(checkCancellable: boolean): void;
|
|||
|
setName(name: string | undefined | null): void;
|
|||
|
setPriority(priority: number): void;
|
|||
|
setReturnOnCancel(returnOnCancel: boolean): boolean;
|
|||
|
setSourceTag(): void;
|
|||
|
setTaskData(taskDataDestroy: () => void | undefined | null): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
getUserData(): void;
|
|||
|
isTagged(): boolean;
|
|||
|
legacyPropagateError(): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class TaskCtor {
|
|||
|
completed ?: boolean;
|
|||
|
}
|
|||
|
|
|||
|
class TcpConnection extends AuGIO.SocketConnection {
|
|||
|
constructor(initializerList ?: TcpConnectionCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.SocketConnection;
|
|||
|
priv : AuGIO.TcpConnectionPrivate;
|
|||
|
|
|||
|
gracefulDisconnect : boolean;
|
|||
|
|
|||
|
getGracefulDisconnect(): boolean;
|
|||
|
setGracefulDisconnect(gracefulDisconnect: boolean): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class TcpConnectionCtor {
|
|||
|
inputStream ?: AuGIO.InputStream;
|
|||
|
outputStream ?: AuGIO.OutputStream;
|
|||
|
closed ?: boolean;
|
|||
|
socket ?: AuGIO.Socket;
|
|||
|
gracefulDisconnect ?: boolean;
|
|||
|
}
|
|||
|
|
|||
|
class TcpWrapperConnection extends AuGIO.TcpConnection {
|
|||
|
constructor(initializerList ?: TcpWrapperConnectionCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.TcpConnection;
|
|||
|
priv : AuGIO.TcpWrapperConnectionPrivate;
|
|||
|
|
|||
|
baseIoStream : AuGIO.IOStream;
|
|||
|
|
|||
|
static New(baseIoStream: AuGIO.IOStream, socket: AuGIO.Socket): AuGIO.SocketConnection;
|
|||
|
getBaseIoStream(): AuGIO.IOStream;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class TcpWrapperConnectionCtor {
|
|||
|
inputStream ?: AuGIO.InputStream;
|
|||
|
outputStream ?: AuGIO.OutputStream;
|
|||
|
closed ?: boolean;
|
|||
|
socket ?: AuGIO.Socket;
|
|||
|
gracefulDisconnect ?: boolean;
|
|||
|
baseIoStream ?: AuGIO.IOStream;
|
|||
|
}
|
|||
|
|
|||
|
class TestDBus extends GObject.Object {
|
|||
|
constructor(initializerList ?: TestDBusCtor);
|
|||
|
|
|||
|
flags : AuGIO.TestDBusFlags;
|
|||
|
|
|||
|
static New(flags: AuGIO.TestDBusFlags): AuGIO.TestDBus;
|
|||
|
static Unset(): void;
|
|||
|
addServiceDir(path: string): void;
|
|||
|
down(): void;
|
|||
|
getBusAddress(): string;
|
|||
|
getFlags(): AuGIO.TestDBusFlags;
|
|||
|
stop(): void;
|
|||
|
up(): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class TestDBusCtor {
|
|||
|
flags ?: AuGIO.TestDBusFlags;
|
|||
|
}
|
|||
|
|
|||
|
class ThemedIcon extends GObject.Object implements AuGIO.Icon {
|
|||
|
constructor(initializerList ?: ThemedIconCtor);
|
|||
|
|
|||
|
name : string;
|
|||
|
names : string[];
|
|||
|
useDefaultFallbacks : boolean;
|
|||
|
|
|||
|
static New(iconname: string): AuGIO.ThemedIcon;
|
|||
|
static NewFromNames(iconnames: string[], len: number): AuGIO.ThemedIcon;
|
|||
|
static NewWithDefaultFallbacks(iconname: string): AuGIO.ThemedIcon;
|
|||
|
appendName(iconname: string): void;
|
|||
|
getNames(): string[];
|
|||
|
prependName(iconname: string): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
static Deserialize(value: AuGlibEx.Variant): AuGIO.Icon;
|
|||
|
static Hash(): number;
|
|||
|
static NewForString(str: string): AuGIO.Icon;
|
|||
|
equal(icon2: AuGIO.Icon | undefined | null): boolean;
|
|||
|
serialize(): AuGlibEx.Variant;
|
|||
|
}
|
|||
|
|
|||
|
class ThemedIconCtor {
|
|||
|
name ?: string;
|
|||
|
names ?: any;
|
|||
|
useDefaultFallbacks ?: boolean;
|
|||
|
}
|
|||
|
|
|||
|
class ThreadedSocketService extends AuGIO.SocketService {
|
|||
|
constructor(initializerList ?: ThreadedSocketServiceCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.SocketService;
|
|||
|
priv : AuGIO.ThreadedSocketServicePrivate;
|
|||
|
|
|||
|
maxThreads : number;
|
|||
|
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class ThreadedSocketServiceCtor {
|
|||
|
listenBacklog ?: number;
|
|||
|
active ?: boolean;
|
|||
|
maxThreads ?: number;
|
|||
|
}
|
|||
|
|
|||
|
class ThreadedSocketServiceEventListener extends AuGlibEx.IEventListener {
|
|||
|
run(connection: AuGIO.SocketConnection, sourceObject: GObject.Object | undefined | null): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class TlsCertificate extends GObject.Object {
|
|||
|
constructor(initializerList ?: TlsCertificateCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.TlsCertificatePrivate;
|
|||
|
|
|||
|
certificate : number[];
|
|||
|
certificatePem : string;
|
|||
|
issuer : AuGIO.TlsCertificate;
|
|||
|
issuerName : string;
|
|||
|
notValidAfter : AuGlibEx.DateTime;
|
|||
|
notValidBefore : AuGlibEx.DateTime;
|
|||
|
password : string;
|
|||
|
pkcs11Uri : string;
|
|||
|
pkcs12Data : number[];
|
|||
|
privateKey : number[];
|
|||
|
privateKeyPem : string;
|
|||
|
privateKeyPkcs11Uri : string;
|
|||
|
subjectName : string;
|
|||
|
|
|||
|
static NewFromFile(file: string): AuGIO.TlsCertificate;
|
|||
|
static NewFromFileWithPassword(file: string, password: string): AuGIO.TlsCertificate;
|
|||
|
static NewFromFiles(certFile: string, keyFile: string): AuGIO.TlsCertificate;
|
|||
|
static NewFromPem(data: string, length: number | bigint): AuGIO.TlsCertificate;
|
|||
|
static NewFromPkcs11Uris(pkcs11Uri: string, privateKeyPkcs11Uri: string | undefined | null): AuGIO.TlsCertificate;
|
|||
|
static NewFromPkcs12(data: number[], length: number | bigint, password: string | undefined | null): AuGIO.TlsCertificate;
|
|||
|
static ListNewFromFile(file: string): AuGIO.TlsCertificate[];
|
|||
|
getDnsNames(): AuGlibEx.Bytes[];
|
|||
|
getIpAddresses(): AuGIO.InetAddress[];
|
|||
|
getIssuer(): AuGIO.TlsCertificate;
|
|||
|
getIssuerName(): string;
|
|||
|
getNotValidAfter(): AuGlibEx.DateTime;
|
|||
|
getNotValidBefore(): AuGlibEx.DateTime;
|
|||
|
getSubjectName(): string;
|
|||
|
isSame(certTwo: AuGIO.TlsCertificate): boolean;
|
|||
|
verify(identity: AuGIO.SocketConnectable | undefined | null, trustedCa: AuGIO.TlsCertificate | undefined | null): AuGIO.TlsCertificateFlags;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class TlsCertificateCtor {
|
|||
|
certificate ?: AuGlibEx.ByteArray;
|
|||
|
certificatePem ?: string;
|
|||
|
privateKey ?: AuGlibEx.ByteArray;
|
|||
|
privateKeyPem ?: string;
|
|||
|
issuer ?: AuGIO.TlsCertificate;
|
|||
|
pkcs11Uri ?: string;
|
|||
|
privateKeyPkcs11Uri ?: string;
|
|||
|
notValidBefore ?: AuGlibEx.DateTime;
|
|||
|
notValidAfter ?: AuGlibEx.DateTime;
|
|||
|
subjectName ?: string;
|
|||
|
issuerName ?: string;
|
|||
|
dnsNames ?: AuGlibEx.PtrArray;
|
|||
|
ipAddresses ?: AuGlibEx.PtrArray;
|
|||
|
pkcs12Data ?: AuGlibEx.ByteArray;
|
|||
|
password ?: string;
|
|||
|
}
|
|||
|
|
|||
|
class TlsConnection extends AuGIO.IOStream {
|
|||
|
constructor(initializerList ?: TlsConnectionCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.IOStream;
|
|||
|
priv : AuGIO.TlsConnectionPrivate;
|
|||
|
|
|||
|
advertisedProtocols : string[];
|
|||
|
baseIoStream : AuGIO.IOStream;
|
|||
|
certificate : AuGIO.TlsCertificate;
|
|||
|
ciphersuiteName : string;
|
|||
|
database : AuGIO.TlsDatabase;
|
|||
|
interaction : AuGIO.TlsInteraction;
|
|||
|
negotiatedProtocol : string;
|
|||
|
peerCertificate : AuGIO.TlsCertificate;
|
|||
|
peerCertificateErrors : AuGIO.TlsCertificateFlags;
|
|||
|
protocolVersion : AuGIO.TlsProtocolVersion;
|
|||
|
rehandshakeMode : AuGIO.TlsRehandshakeMode;
|
|||
|
requireCloseNotify : boolean;
|
|||
|
useSystemCertdb : boolean;
|
|||
|
|
|||
|
emitAcceptCertificate(peerCert: AuGIO.TlsCertificate, errors: AuGIO.TlsCertificateFlags): boolean;
|
|||
|
getCertificate(): AuGIO.TlsCertificate;
|
|||
|
getChannelBindingData(type: AuGIO.TlsChannelBindingType, data ?: number[]): boolean;
|
|||
|
getCiphersuiteName(): string;
|
|||
|
getDatabase(): AuGIO.TlsDatabase;
|
|||
|
getInteraction(): AuGIO.TlsInteraction;
|
|||
|
getNegotiatedProtocol(): string;
|
|||
|
getPeerCertificate(): AuGIO.TlsCertificate;
|
|||
|
getPeerCertificateErrors(): AuGIO.TlsCertificateFlags;
|
|||
|
getProtocolVersion(): AuGIO.TlsProtocolVersion;
|
|||
|
getRehandshakeMode(): AuGIO.TlsRehandshakeMode;
|
|||
|
getRequireCloseNotify(): boolean;
|
|||
|
getUseSystemCertdb(): boolean;
|
|||
|
handshake(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
handshakeAsync(ioPriority: number, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
handshakeFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
setAdvertisedProtocols(protocols: string[] | undefined | null): void;
|
|||
|
setCertificate(certificate: AuGIO.TlsCertificate): void;
|
|||
|
setDatabase(database: AuGIO.TlsDatabase | undefined | null): void;
|
|||
|
setInteraction(interaction: AuGIO.TlsInteraction | undefined | null): void;
|
|||
|
setRehandshakeMode(mode: AuGIO.TlsRehandshakeMode): void;
|
|||
|
setRequireCloseNotify(requireCloseNotify: boolean): void;
|
|||
|
setUseSystemCertdb(useSystemCertdb: boolean): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class TlsConnectionCtor {
|
|||
|
inputStream ?: AuGIO.InputStream;
|
|||
|
outputStream ?: AuGIO.OutputStream;
|
|||
|
closed ?: boolean;
|
|||
|
baseIoStream ?: AuGIO.IOStream;
|
|||
|
requireCloseNotify ?: boolean;
|
|||
|
rehandshakeMode ?: AuGIO.TlsRehandshakeMode;
|
|||
|
useSystemCertdb ?: boolean;
|
|||
|
database ?: AuGIO.TlsDatabase;
|
|||
|
interaction ?: AuGIO.TlsInteraction;
|
|||
|
certificate ?: AuGIO.TlsCertificate;
|
|||
|
peerCertificate ?: AuGIO.TlsCertificate;
|
|||
|
peerCertificateErrors ?: AuGIO.TlsCertificateFlags;
|
|||
|
advertisedProtocols ?: any;
|
|||
|
negotiatedProtocol ?: string;
|
|||
|
protocolVersion ?: AuGIO.TlsProtocolVersion;
|
|||
|
ciphersuiteName ?: string;
|
|||
|
}
|
|||
|
|
|||
|
class TlsConnectionEventListener extends AuGlibEx.IEventListener {
|
|||
|
acceptCertificate(peerCert: AuGIO.TlsCertificate, errors: AuGIO.TlsCertificateFlags): boolean;
|
|||
|
}
|
|||
|
|
|||
|
class TlsDatabase extends GObject.Object {
|
|||
|
constructor(initializerList ?: TlsDatabaseCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.TlsDatabasePrivate;
|
|||
|
|
|||
|
createCertificateHandle(certificate: AuGIO.TlsCertificate): string;
|
|||
|
lookupCertificateForHandle(handle: string, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.TlsCertificate;
|
|||
|
lookupCertificateForHandleAsync(handle: string, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
lookupCertificateForHandleFinish(result: AuGIO.AsyncResult): AuGIO.TlsCertificate;
|
|||
|
lookupCertificateIssuer(certificate: AuGIO.TlsCertificate, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.TlsCertificate;
|
|||
|
lookupCertificateIssuerAsync(certificate: AuGIO.TlsCertificate, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
lookupCertificateIssuerFinish(result: AuGIO.AsyncResult): AuGIO.TlsCertificate;
|
|||
|
lookupCertificatesIssuedBy(issuerRawDn: number[], interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.TlsCertificate[];
|
|||
|
lookupCertificatesIssuedByAsync(issuerRawDn: number[], interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseLookupFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
lookupCertificatesIssuedByFinish(result: AuGIO.AsyncResult): AuGIO.TlsCertificate[];
|
|||
|
verifyChain(chain: AuGIO.TlsCertificate, purpose: string, identity: AuGIO.SocketConnectable | undefined | null, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseVerifyFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.TlsCertificateFlags;
|
|||
|
verifyChainAsync(chain: AuGIO.TlsCertificate, purpose: string, identity: AuGIO.SocketConnectable | undefined | null, interaction: AuGIO.TlsInteraction | undefined | null, flags: AuGIO.TlsDatabaseVerifyFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
verifyChainFinish(result: AuGIO.AsyncResult): AuGIO.TlsCertificateFlags;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class TlsDatabaseCtor {
|
|||
|
}
|
|||
|
|
|||
|
class TlsInteraction extends GObject.Object {
|
|||
|
constructor(initializerList ?: TlsInteractionCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.TlsInteractionPrivate;
|
|||
|
|
|||
|
askPassword(password: AuGIO.TlsPassword, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.TlsInteractionResult;
|
|||
|
askPasswordAsync(password: AuGIO.TlsPassword, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
askPasswordFinish(result: AuGIO.AsyncResult): AuGIO.TlsInteractionResult;
|
|||
|
invokeAskPassword(password: AuGIO.TlsPassword, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.TlsInteractionResult;
|
|||
|
invokeRequestCertificate(connection: AuGIO.TlsConnection, flags: AuGIO.TlsCertificateRequestFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.TlsInteractionResult;
|
|||
|
requestCertificate(connection: AuGIO.TlsConnection, flags: AuGIO.TlsCertificateRequestFlags, cancellable: AuGIO.Cancellable | undefined | null): AuGIO.TlsInteractionResult;
|
|||
|
requestCertificateAsync(connection: AuGIO.TlsConnection, flags: AuGIO.TlsCertificateRequestFlags, cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
requestCertificateFinish(result: AuGIO.AsyncResult): AuGIO.TlsInteractionResult;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class TlsInteractionCtor {
|
|||
|
}
|
|||
|
|
|||
|
class TlsPassword extends GObject.Object {
|
|||
|
constructor(initializerList ?: TlsPasswordCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : AuGIO.TlsPasswordPrivate;
|
|||
|
|
|||
|
description : string;
|
|||
|
flags : AuGIO.TlsPasswordFlags;
|
|||
|
warning : string;
|
|||
|
|
|||
|
static New(flags: AuGIO.TlsPasswordFlags, description: string): AuGIO.TlsPassword;
|
|||
|
getDescription(): string;
|
|||
|
getFlags(): AuGIO.TlsPasswordFlags;
|
|||
|
getValue(length: number | bigint): number[];
|
|||
|
getWarning(): string;
|
|||
|
setDescription(description: string): void;
|
|||
|
setFlags(flags: AuGIO.TlsPasswordFlags): void;
|
|||
|
setValue(value: number[], length: number | bigint): void;
|
|||
|
setValueFull(value: number[], length: number | bigint, destroy: () => void | undefined | null): void;
|
|||
|
setWarning(warning: string): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class TlsPasswordCtor {
|
|||
|
flags ?: AuGIO.TlsPasswordFlags;
|
|||
|
description ?: string;
|
|||
|
warning ?: string;
|
|||
|
}
|
|||
|
|
|||
|
class UnixConnection extends AuGIO.SocketConnection {
|
|||
|
constructor(initializerList ?: UnixConnectionCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.SocketConnection;
|
|||
|
priv : AuGIO.UnixConnectionPrivate;
|
|||
|
|
|||
|
receiveCredentials(cancellable: AuGIO.Cancellable | undefined | null): AuGIO.Credentials;
|
|||
|
receiveCredentialsAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
receiveCredentialsFinish(result: AuGIO.AsyncResult): AuGIO.Credentials;
|
|||
|
receiveFd(cancellable: AuGIO.Cancellable | undefined | null): number;
|
|||
|
sendCredentials(cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
sendCredentialsAsync(cancellable: AuGIO.Cancellable | undefined | null, callback: (sourceObject: GObject.Object | undefined | null, res: AuGIO.AsyncResult) => void | undefined | null): void;
|
|||
|
sendCredentialsFinish(result: AuGIO.AsyncResult): boolean;
|
|||
|
sendFd(fd: number, cancellable: AuGIO.Cancellable | undefined | null): boolean;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class UnixConnectionCtor {
|
|||
|
inputStream ?: AuGIO.InputStream;
|
|||
|
outputStream ?: AuGIO.OutputStream;
|
|||
|
closed ?: boolean;
|
|||
|
socket ?: AuGIO.Socket;
|
|||
|
}
|
|||
|
|
|||
|
class UnixCredentialsMessage extends AuGIO.SocketControlMessage {
|
|||
|
constructor(initializerList ?: UnixCredentialsMessageCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.SocketControlMessage;
|
|||
|
priv : AuGIO.UnixCredentialsMessagePrivate;
|
|||
|
|
|||
|
credentials : AuGIO.Credentials;
|
|||
|
|
|||
|
static New(): AuGIO.SocketControlMessage;
|
|||
|
static NewWithCredentials(credentials: AuGIO.Credentials): AuGIO.SocketControlMessage;
|
|||
|
static IsSupported(): boolean;
|
|||
|
getCredentials(): AuGIO.Credentials;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class UnixCredentialsMessageCtor {
|
|||
|
credentials ?: AuGIO.Credentials;
|
|||
|
}
|
|||
|
|
|||
|
class UnixSocketAddress extends AuGIO.SocketAddress implements AuGIO.SocketConnectable {
|
|||
|
constructor(initializerList ?: UnixSocketAddressCtor);
|
|||
|
|
|||
|
parentInstance : AuGIO.SocketAddress;
|
|||
|
priv : AuGIO.UnixSocketAddressPrivate;
|
|||
|
|
|||
|
abstract : boolean;
|
|||
|
addressType : AuGIO.UnixSocketAddressType;
|
|||
|
path : string;
|
|||
|
pathAsArray : number[];
|
|||
|
|
|||
|
static New(path: string): AuGIO.SocketAddress;
|
|||
|
static NewAbstract(path: number[], pathLen: number): AuGIO.SocketAddress;
|
|||
|
static NewWithType(path: number[], pathLen: number, type: AuGIO.UnixSocketAddressType): AuGIO.SocketAddress;
|
|||
|
static AbstractNamesSupported(): boolean;
|
|||
|
getAddressType(): AuGIO.UnixSocketAddressType;
|
|||
|
getIsAbstract(): boolean;
|
|||
|
getPath(): string;
|
|||
|
getPathLen(): number | bigint;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class UnixSocketAddressCtor {
|
|||
|
family ?: AuGIO.SocketFamily;
|
|||
|
path ?: string;
|
|||
|
pathAsArray ?: AuGlibEx.ByteArray;
|
|||
|
abstract ?: boolean;
|
|||
|
addressType ?: AuGIO.UnixSocketAddressType;
|
|||
|
}
|
|||
|
|
|||
|
class Vfs extends GObject.Object {
|
|||
|
constructor(initializerList ?: VfsCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
|
|||
|
static GetDefault(): AuGIO.Vfs;
|
|||
|
static GetLocal(): AuGIO.Vfs;
|
|||
|
getFileForPath(path: string): AuGIO.File;
|
|||
|
getFileForUri(uri: string): AuGIO.File;
|
|||
|
getSupportedUriSchemes(): string[];
|
|||
|
isActive(): boolean;
|
|||
|
parseName(parseName: string): AuGIO.File;
|
|||
|
registerUriScheme(scheme: string, uriFunc: (vfs: AuGIO.Vfs, identifier: string) => AuGIO.File | undefined | null, uriDestroy: () => void | undefined | null, parseNameFunc: (vfs: AuGIO.Vfs, identifier: string) => AuGIO.File | undefined | null, parseNameDestroy: () => void | undefined | null): boolean;
|
|||
|
unregisterUriScheme(scheme: string): boolean;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class VfsCtor {
|
|||
|
}
|
|||
|
|
|||
|
class VolumeMonitor extends GObject.Object {
|
|||
|
constructor(initializerList ?: VolumeMonitorCtor);
|
|||
|
|
|||
|
parentInstance : GObject.Object;
|
|||
|
priv : void;
|
|||
|
|
|||
|
static AdoptOrphanMount(mount: AuGIO.Mount): AuGIO.Volume;
|
|||
|
static Get(): AuGIO.VolumeMonitor;
|
|||
|
getConnectedDrives(): AuGIO.Drive[];
|
|||
|
getMountForUuid(uuid: string): AuGIO.Mount;
|
|||
|
getMounts(): AuGIO.Mount[];
|
|||
|
getVolumeForUuid(uuid: string): AuGIO.Volume;
|
|||
|
getVolumes(): AuGIO.Volume[];
|
|||
|
//TypeScript is complete garbage:
|
|||
|
}
|
|||
|
|
|||
|
class VolumeMonitorCtor {
|
|||
|
}
|
|||
|
|
|||
|
class VolumeMonitorEventListener extends AuGlibEx.IEventListener {
|
|||
|
driveChanged(drive: AuGIO.Drive): void;
|
|||
|
driveConnected(drive: AuGIO.Drive): void;
|
|||
|
driveDisconnected(drive: AuGIO.Drive): void;
|
|||
|
driveEjectButton(drive: AuGIO.Drive): void;
|
|||
|
driveStopButton(drive: AuGIO.Drive): void;
|
|||
|
mountAdded(mount: AuGIO.Mount): void;
|
|||
|
mountChanged(mount: AuGIO.Mount): void;
|
|||
|
mountPreUnmount(mount: AuGIO.Mount): void;
|
|||
|
mountRemoved(mount: AuGIO.Mount): void;
|
|||
|
volumeAdded(volume: AuGIO.Volume): void;
|
|||
|
volumeChanged(volume: AuGIO.Volume): void;
|
|||
|
volumeRemoved(volume: AuGIO.Volume): void;
|
|||
|
}
|
|||
|
|
|||
|
class ZlibCompressor extends GObject.Object implements AuGIO.Converter {
|
|||
|
constructor(initializerList ?: ZlibCompressorCtor);
|
|||
|
|
|||
|
fileInfo : AuGIO.FileInfo;
|
|||
|
format : AuGIO.ZlibCompressorFormat;
|
|||
|
level : number;
|
|||
|
|
|||
|
static New(format: AuGIO.ZlibCompressorFormat, level: number): AuGIO.ZlibCompressor;
|
|||
|
getFileInfo(): AuGIO.FileInfo;
|
|||
|
setFileInfo(fileInfo: AuGIO.FileInfo | undefined | null): void;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
convert(inbuf: number[], inbufSize: number | bigint, outbuf: number[], outbufSize: number | bigint, flags: AuGIO.ConverterFlags, bytesRead: number | bigint, bytesWritten: number | bigint): AuGIO.ConverterResult;
|
|||
|
reset(): void;
|
|||
|
}
|
|||
|
|
|||
|
class ZlibCompressorCtor {
|
|||
|
format ?: AuGIO.ZlibCompressorFormat;
|
|||
|
level ?: number;
|
|||
|
fileInfo ?: AuGIO.FileInfo;
|
|||
|
}
|
|||
|
|
|||
|
class ZlibDecompressor extends GObject.Object implements AuGIO.Converter {
|
|||
|
constructor(initializerList ?: ZlibDecompressorCtor);
|
|||
|
|
|||
|
fileInfo : AuGIO.FileInfo;
|
|||
|
format : AuGIO.ZlibCompressorFormat;
|
|||
|
|
|||
|
static New(format: AuGIO.ZlibCompressorFormat): AuGIO.ZlibDecompressor;
|
|||
|
getFileInfo(): AuGIO.FileInfo;
|
|||
|
//TypeScript is complete garbage:
|
|||
|
convert(inbuf: number[], inbufSize: number | bigint, outbuf: number[], outbufSize: number | bigint, flags: AuGIO.ConverterFlags, bytesRead: number | bigint, bytesWritten: number | bigint): AuGIO.ConverterResult;
|
|||
|
reset(): void;
|
|||
|
}
|
|||
|
|
|||
|
class ZlibDecompressorCtor {
|
|||
|
format ?: AuGIO.ZlibCompressorFormat;
|
|||
|
fileInfo ?: AuGIO.FileInfo;
|
|||
|
}
|
|||
|
}
|