OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
4 * | 3 * |
5 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 | 8 |
10 | 9 |
11 #include "gm.h" | 10 #include "gm.h" |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 private: | 74 private: |
76 typedef GM INHERITED; | 75 typedef GM INHERITED; |
77 }; | 76 }; |
78 | 77 |
79 ////////////////////////////////////////////////////////////////////////////// | 78 ////////////////////////////////////////////////////////////////////////////// |
80 | 79 |
81 static GM* MyFactory(void*) { return new StrokeRectsGM; } | 80 static GM* MyFactory(void*) { return new StrokeRectsGM; } |
82 static GMRegistry reg(MyFactory); | 81 static GMRegistry reg(MyFactory); |
83 | 82 |
84 } | 83 } |
OLD | NEW |