2017-01-18 02:01:37 +03:00
|
|
|
/*
|
2017-01-21 09:02:33 +03:00
|
|
|
* Copyright (c) 2016-present, Facebook, Inc.
|
2017-01-18 02:01:37 +03:00
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* This source code is licensed under the BSD-style license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This file contains forward declarations of InodePtr and related types
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace facebook {
|
|
|
|
namespace eden {
|
|
|
|
|
|
|
|
class FileInode;
|
|
|
|
class InodeBase;
|
|
|
|
class TreeInode;
|
2017-03-25 08:52:33 +03:00
|
|
|
class DotEdenInode;
|
2017-01-18 02:01:37 +03:00
|
|
|
|
|
|
|
template <typename InodeType>
|
|
|
|
class InodePtrImpl;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Friendly names for the various InodePtr classes.
|
|
|
|
*/
|
2017-03-25 08:52:33 +03:00
|
|
|
using DotEdenInodePtr = InodePtrImpl<DotEdenInode>;
|
2017-01-18 02:01:37 +03:00
|
|
|
using FileInodePtr = InodePtrImpl<FileInode>;
|
|
|
|
using TreeInodePtr = InodePtrImpl<TreeInode>;
|
2017-04-06 23:08:15 +03:00
|
|
|
class InodePtr;
|
2017-01-18 02:01:37 +03:00
|
|
|
}
|
|
|
|
}
|