summaryrefslogtreecommitdiffstats
path: root/lldb/tools/debugserver/source/MacOSX/DarwinLog/ActivityStore.h
blob: 2e998ba367cb2532cd55ee6d114d354b06230f98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//===-- ActivityStore.h -----------------------------------------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef ActivityStore_h
#define ActivityStore_h

#include <string>

#include "ActivityStreamSPI.h"

class ActivityStore
{
public:

    virtual
    ~ActivityStore();

    virtual const char*
    GetActivityForID(os_activity_id_t activity_id) const = 0;

    virtual std::string
    GetActivityChainForID(os_activity_id_t activity_id) const = 0;

protected:

    ActivityStore();

};

#endif /* ActivityStore_h */
OpenPOWER on IntegriCloud