aboutsummaryrefslogtreecommitdiffstats
path: root/include/core/SkShape.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkShape.h')
-rw-r--r--include/core/SkShape.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/core/SkShape.h b/include/core/SkShape.h
index 6cee70e..c7cf9ec 100644
--- a/include/core/SkShape.h
+++ b/include/core/SkShape.h
@@ -1,3 +1,10 @@
+
+/*
+ * Copyright 2011 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
#ifndef SkShape_DEFINED
#define SkShape_DEFINED
@@ -31,6 +38,8 @@ public:
// public for Registrar
static SkFlattenable* CreateProc(SkFlattenableReadBuffer&);
+ SK_DECLARE_FLATTENABLE_REGISTRAR()
+
protected:
virtual void onDraw(SkCanvas*);