This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdint.h> | |
#include <stdio.h> | |
#include <string> | |
#include <vcclr.h> | |
#include <windows.h> | |
#include <mmsystem.h> | |
#include <msclr/marshal.h> | |
#include <msclr/marshal_cppstd.h> | |
#include <d3d9.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
application.addEventListener('launch', function() { | |
var win = new Window(800,600); | |
win.title = "My web browser, probably should add a status bar..."; | |
var web = new WebView(win); | |
web.addEventListener('load', function() { | |
console.log('We may load this, unsure yet, nothing has been received but the request for: '+web.location); | |
}); | |
web.addEventListener('request', function() { | |
console.log('Weve received a request and may go parse it out, last chance to cancel.'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
#import <Cocoa/Cocoa.h> | |
#include "node.h" | |
#include "v8_typed_array.h" | |
#include "CoreFoundation/CoreFoundation.h" | |
static int init_argc; | |
static char **init_argv; | |
@interface AppDelegate : NSObject <NSApplicationDelegate> |
NewerOlder