1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 * All rights reserved.
4 *
5 * This source code is licensed under the BSD-style license found in the
6 * LICENSE file in the root directory of this source tree.
7 */
8
9#pragma once
10
11#include <memory>
12#include <string>
13#include <vector>
14
15namespace libkineto {
16
17struct ITraceActivity;
18
19class ActivityTraceInterface {
20 public:
21 virtual ~ActivityTraceInterface() {}
22 virtual const std::vector<const ITraceActivity*>* activities() {
23 return nullptr;
24 }
25 virtual void save(const std::string& path) {}
26};
27
28} // namespace libkineto
29