| 1 |
/* |
| 2 |
* (C) Copyright 2023- ECMWF. |
| 3 |
* |
| 4 |
* This software is licensed under the terms of the Apache Licence Version 2.0 |
| 5 |
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. |
| 6 |
* In applying this licence, ECMWF does not waive the privileges and immunities |
| 7 |
* granted to it by virtue of its status as an intergovernmental organisation |
| 8 |
* nor does it submit to any jurisdiction. |
| 9 |
*/ |
| 10 |
|
| 11 |
#pragma once |
| 12 |
|
| 13 |
#include "atlas/library/Plugin.h" |
| 14 |
|
| 15 |
namespace atlas { |
| 16 |
namespace example_plugin { |
| 17 |
|
| 18 |
|
| 19 |
class Library : public Plugin { |
| 20 |
public: |
| 21 |
Library(); |
| 22 |
static const Library& instance(); |
| 23 |
|
| 24 |
std::string version() const override; |
| 25 |
std::string gitsha1( unsigned int count ) const override; |
| 26 |
void init() override; |
| 27 |
|
| 28 |
}; |
| 29 |
|
| 30 |
|
| 31 |
} // namespace example_plugin |
| 32 |
} // namespace atlas |