forked from flutter/flutter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update translation units for style guide.
- Loading branch information
1 parent
98c18b3
commit 147e64f
Showing
16 changed files
with
450 additions
and
417 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Copyright 2013 The Flutter Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#include "impeller/archivist/archivable.h" | ||
|
||
namespace impeller { | ||
|
||
// | ||
|
||
} // namespace impeller |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// Copyright 2013 The Flutter Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#pragma once | ||
|
||
#include <cstdint> | ||
|
||
namespace impeller { | ||
|
||
class ArchiveLocation; | ||
|
||
//------------------------------------------------------------------------------ | ||
/// @brief Instances of `Archivable`s can be read from and written to a | ||
/// persistent archive. | ||
/// | ||
class Archivable { | ||
public: | ||
using ArchiveName = uint64_t; | ||
|
||
virtual ArchiveName GetArchiveName() const = 0; | ||
|
||
virtual bool Write(ArchiveLocation& item) const = 0; | ||
|
||
virtual bool Read(ArchiveLocation& item) = 0; | ||
}; | ||
|
||
} // namespace impeller |
Oops, something went wrong.