1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-13 17:17:37 -05:00

Tiny amount of infrastructure for having actual keys in PuTTYgen.

[originally from svn r2849]
This commit is contained in:
Ben Harris
2003-02-15 14:20:43 +00:00
parent 0c1b343646
commit c6a92bebfc
5 changed files with 50 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $Id: macpgen.r,v 1.1 2003/02/12 23:53:15 ben Exp $ */
/* $Id: macpgen.r,v 1.2 2003/02/15 14:20:43 ben Exp $ */
/*
* Copyright (c) 1999, 2002 Ben Harris
* All rights reserved.
@ -260,6 +260,11 @@ resource 'STR ' (-16397, purgeable) {
"This file is used internally by PuTTY. It cannot be opened."
};
/* Missing-application name string, for private keys. */
/* XXX Private keys should eventually be owned by Pageant */
resource 'STR ' (-16396, purgeable) {
"PuTTYgen"
};
/*
* Internal resources
@ -435,3 +440,28 @@ resource 'TEXT' (wLicence, "licence", purgeable) {
"CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE "
"SOFTWARE."
};
/* Key box */
resource 'DLOG' (wKey, "key", purgeable) {
{ 0, 0, 120, 240 },
noGrowDocProc,
invisible,
goAway,
wAbout, /* RefCon -- identifies the window to PuTTY */
wAbout, /* DITL ID */
"untitled",
staggerParentWindowScreen
};
resource 'dlgx' (wKey, "key", purgeable) {
versionZero {
kDialogFlagsUseThemeBackground | kDialogFlagsUseThemeControls
}
};
resource 'DITL' (wKey, "key", purgeable) {
{
}
};