@nodert-win10/windows.applicationmodel
Version:
Use the Windows.ApplicationModel UWP API directly from Node.js
269 lines (203 loc) • 6.38 kB
JavaScript
Size = (function () {
var cls = function Size() {
};
return cls;
}) ();
exports.Size = Size;
PackageVersion = (function () {
var cls = function PackageVersion() {
this.major = new Number();
this.minor = new Number();
this.build = new Number();
this.revision = new Number();
};
return cls;
}) ();
exports.PackageVersion = PackageVersion;
AppDisplayInfo = (function () {
var cls = function AppDisplayInfo() {
this.description = new String();
this.displayName = new String();
};
cls.prototype.getLogo = function getLogo(size) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="size" type="Object">A param.</param>
/// <returns type="Object" />
/// </signature>
return new Object();
}
return cls;
}) ();
exports.AppDisplayInfo = AppDisplayInfo;
AppInfo = (function () {
var cls = function AppInfo() {
this.appUserModelId = new String();
this.displayInfo = new AppDisplayInfo();
this.id = new String();
this.packageFamilyName = new String();
};
return cls;
}) ();
exports.AppInfo = AppInfo;
SuspendingEventArgs = (function () {
var cls = function SuspendingEventArgs() {
this.suspendingOperation = new SuspendingOperation();
};
return cls;
}) ();
exports.SuspendingEventArgs = SuspendingEventArgs;
ISuspendingDeferral = (function () {
var cls = function ISuspendingDeferral() {
};
cls.prototype.complete = function complete() {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
return cls;
}) ();
exports.ISuspendingDeferral = ISuspendingDeferral;
SuspendingDeferral = (function () {
var cls = function SuspendingDeferral() {
};
cls.prototype.complete = function complete() {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
return cls;
}) ();
exports.SuspendingDeferral = SuspendingDeferral;
ISuspendingOperation = (function () {
var cls = function ISuspendingOperation() {
this.deadline = new Date();
};
cls.prototype.getDeferral = function getDeferral() {
/// <signature>
/// <summary>Function summary.</summary>
/// <returns type="SuspendingDeferral" />
/// </signature>
return new SuspendingDeferral();
}
return cls;
}) ();
exports.ISuspendingOperation = ISuspendingOperation;
SuspendingOperation = (function () {
var cls = function SuspendingOperation() {
this.deadline = new Date();
};
cls.prototype.getDeferral = function getDeferral() {
/// <signature>
/// <summary>Function summary.</summary>
/// <returns type="SuspendingDeferral" />
/// </signature>
return new SuspendingDeferral();
}
return cls;
}) ();
exports.SuspendingOperation = SuspendingOperation;
ISuspendingEventArgs = (function () {
var cls = function ISuspendingEventArgs() {
this.suspendingOperation = new SuspendingOperation();
};
return cls;
}) ();
exports.ISuspendingEventArgs = ISuspendingEventArgs;
PackageStatus = (function () {
var cls = function PackageStatus() {
this.dataOffline = new Boolean();
this.dependencyIssue = new Boolean();
this.deploymentInProgress = new Boolean();
this.disabled = new Boolean();
this.licenseIssue = new Boolean();
this.modified = new Boolean();
this.needsRemediation = new Boolean();
this.notAvailable = new Boolean();
this.packageOffline = new Boolean();
this.servicing = new Boolean();
this.tampered = new Boolean();
};
cls.prototype.verifyIsOK = function verifyIsOK() {
/// <signature>
/// <summary>Function summary.</summary>
/// <returns type="Boolean" />
/// </signature>
return new Boolean();
}
return cls;
}) ();
exports.PackageStatus = PackageStatus;
PackageId = (function () {
var cls = function PackageId() {
this.architecture = new Number();
this.familyName = new String();
this.fullName = new String();
this.name = new String();
this.publisher = new String();
this.publisherId = new String();
this.resourceId = new String();
this.version = new PackageVersion();
this.author = new String();
this.productId = new String();
};
return cls;
}) ();
exports.PackageId = PackageId;
Package = (function () {
var cls = function Package() {
this.dependencies = new Object();
this.id = new PackageId();
this.installedLocation = new Object();
this.isFramework = new Boolean();
this.description = new String();
this.displayName = new String();
this.isBundle = new Boolean();
this.isDevelopmentMode = new Boolean();
this.isResourcePackage = new Boolean();
this.logo = new Object();
this.publisherDisplayName = new String();
this.installedDate = new Date();
this.status = new PackageStatus();
this.installDate = new Date();
};
cls.prototype.getAppListEntriesAsync = function getAppListEntriesAsync(callback) {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
cls.prototype.getThumbnailToken = function getThumbnailToken() {
/// <signature>
/// <summary>Function summary.</summary>
/// <returns type="String" />
/// </signature>
return new String();
}
cls.prototype.launch = function launch(parameters) {
/// <signature>
/// <summary>Function summary.</summary>
/// <param name="parameters" type="String">A param.</param>
/// </signature>
}
cls.current = new Package();
return cls;
}) ();
exports.Package = Package;
DesignMode = (function () {
var cls = function DesignMode() {
};
cls.designModeEnabled = new Boolean();
return cls;
}) ();
exports.DesignMode = DesignMode;
CameraApplicationManager = (function () {
var cls = function CameraApplicationManager() {
};
cls.showInstalledApplicationsUI = function showInstalledApplicationsUI() {
/// <signature>
/// <summary>Function summary.</summary>
/// </signature>
}
return cls;
}) ();
exports.CameraApplicationManager = CameraApplicationManager;