blob: f014fa31c9d42cce79188142ae0a31c09c88901f [file] [log] [blame]
commit-bot@chromium.org7fa22f32013-06-18 15:37:27 +00001//
2// SkExampleNSView.m
3// SkiaExamples
4//
5// Created by Sergio González on 6/11/13.
6//
7//
8
9#import "SkExampleNSView.h"
10
11#include "SkApplication.h"
12#include <crt_externs.h>
13
14@implementation SkExampleNSView
15
16- (id)initWithDefaults {
17 if ((self = [super initWithDefaults])) {
18 fWind = create_sk_window(self, *_NSGetArgc(), *_NSGetArgv());
19 }
20 return self;
21}
22
23- (void)dealloc {
24 delete fWind;
25 [super dealloc];
26}
27
28@end