Take 2, with missing cmake line fixed. Build tested on Ubuntu 14.04 with clang-3.6. See docs/structured_data/StructuredDataPlugins.md for details. differential review: https://reviews.llvm.org/D22976 reviewers: clayborg, jingham llvm-svn: 279202
37 lines
754 B
C++
37 lines
754 B
C++
//===-- 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 */
|