OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 #ifndef TODOMVC_PRESENTER_H_ | 5 #ifndef TODOMVC_PRESENTER_H_ |
6 #define TODOMVC_PRESENTER_H_ | 6 #define TODOMVC_PRESENTER_H_ |
7 | 7 |
8 #include <inttypes.h> | 8 #include <inttypes.h> |
9 | 9 |
10 #include "todomvc_service.h" | 10 #include "todomvc_service.h" |
11 | 11 |
(...skipping 27 matching lines...) Expand all Loading... |
39 virtual void enterConsCompleteEvent() = 0; | 39 virtual void enterConsCompleteEvent() = 0; |
40 virtual void enterConsUncompleteEvent() = 0; | 40 virtual void enterConsUncompleteEvent() = 0; |
41 virtual void updateNode(const Node&) = 0; | 41 virtual void updateNode(const Node&) = 0; |
42 | 42 |
43 // Default patch apply procedure. | 43 // Default patch apply procedure. |
44 virtual void applyPatches(const PatchSet&); | 44 virtual void applyPatches(const PatchSet&); |
45 virtual void applyPatch(const Patch&); | 45 virtual void applyPatch(const Patch&); |
46 }; | 46 }; |
47 | 47 |
48 #endif // TODOMVC_PRESENTER_H_ | 48 #endif // TODOMVC_PRESENTER_H_ |
OLD | NEW |