Skip to contentSkip to conversation

ui/cocoa.m: add toast file support

PATCH Applied Programmingkid 2 participants 3 messages Dec 30, 2016 – Mar 14, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ui/cocoa.m: add toast file support

Add the ability for the user to use .toast files with QEMU. This format works just like ISO files.

---
 ui/cocoa.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ui/cocoa.m +1 -1
index 26d4a1c..c81f7b6 100644
@@ -879,7 +879,7 @@ QemuCocoaView *cocoaView;
         // set the supported image file types that can be opened
         supportedImageFileTypes = [NSArray arrayWithObjects: @"img", @"iso", @"dmg",
                                  @"qcow", @"qcow2", @"cloop", @"vmdk", @"cdr",
-                                  nil];
+                                  @"toast", nil];
         [self make_about_window];
     }
     return self;
Signature · 1 line
2.7.2
#1 lore raw
Quoted 13 lines · Programmingkid

Add the ability for the user to use .toast files with QEMU. This format works just like ISO files.

---
 ui/cocoa.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ui/cocoa.m +0 -0
index 26d4a1c..c81f7b6 100644

ui/cocoa.m QemuCocoaView *cocoaView;

Quoted 9 lines
ui/cocoa.m +1 -2
@@ -879,7 +879,7 @@ QemuCocoaView *cocoaView;
         // set the supported image file types that can be opened
         supportedImageFileTypes = [NSArray arrayWithObjects: @"img", @"iso", @"dmg",
                                  @"qcow", @"qcow2", @"cloop", @"vmdk", @"cdr",
-                                  nil];
+                                  @"toast", nil];
         [self make_about_window];
     }
     return self;
--

Applied to cocoa.next, thanks.

-- PMM

#2 lore raw
Quoted 9 lines · Peter Maydell
Quoted 8 lines · Programmingkid

Add the ability for the user to use .toast files with QEMU. This format works just like ISO files.

---
 ui/cocoa.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 16 lines
Quoted 5 lines
ui/cocoa.m +0 -0
index 26d4a1c..c81f7b6 100644

ui/cocoa.m QemuCocoaView *cocoaView;

Quoted 9 lines
ui/cocoa.m +1 -2
@@ -879,7 +879,7 @@ QemuCocoaView *cocoaView;
         // set the supported image file types that can be opened
         supportedImageFileTypes = [NSArray arrayWithObjects: @"img", @"iso", @"dmg",
                                  @"qcow", @"qcow2", @"cloop", @"vmdk", @"cdr",
-                                  nil];
+                                  @"toast", nil];
         [self make_about_window];
     }
     return self;
--

Applied to cocoa.next, thanks.

...and now applied to master; sorry, I forgot I had a patch pending in my cocoa queue.

thanks
-- PMM