summaryrefslogtreecommitdiffstats
path: root/mojo/services/catalog/entry.h
blob: 4b7ffa803d5040feb7e22519b42e1e568bc33655 (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
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef MOJO_SERVICES_CATALOG_ENTRY_H_
#define MOJO_SERVICES_CATALOG_ENTRY_H_

#include <string>

#include "mojo/shell/public/cpp/capabilities.h"

namespace catalog {

// Static information about an application package known to the Catalog.
struct Entry {
  Entry();
  Entry(const Entry& other);
  ~Entry();

  bool operator==(const Entry& other) const;

  std::string name;
  std::string qualifier;
  std::string display_name;
  mojo::CapabilitySpec capabilities;
};

}  // namespace catalog

#endif  // MOJO_SERVICES_CATALOG_ENTRY_H_