Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(646)

Side by Side Diff: src/shared/fletch.h

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2014, the Dartino project authors. Please see the AUTHORS file
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.
4
5 #ifndef SRC_SHARED_FLETCH_H_
6 #define SRC_SHARED_FLETCH_H_
7
8 #include "src/shared/globals.h"
9
10 namespace fletch {
11
12 // Fletch is a helper class used to call system wide functions such as
13 // initialization. The definition of the class is shared between the
14 // compiler and the VM, but both of these have their own implementation.
15 class Fletch {
16 public:
17 // Initialize Fletch and all its subsystems.
18 static void Setup();
19
20 static void TearDown();
21
22 private:
23 // Make sure that this class can not ever be instantiated. All its methods
24 // should be static class methods.
25 DISALLOW_ALLOCATION();
26 DISALLOW_IMPLICIT_CONSTRUCTORS(Fletch);
27 };
28
29 } // namespace fletch
30
31 #endif // SRC_SHARED_FLETCH_H_
OLDNEW
« pkg/file/lib/file.dart ('K') | « src/shared/flags_test.cc ('k') | src/shared/fletch.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698