gdpm/include/plugin.hpp
David J. Allen 02a4e879a8 Recfactored and simplified more code
- Added function to convert color string to ansi color string
- Added `trim` and `join` utility functions
- Added initial plugin test case
- Implemented `config get` command to see config properties
- Improved logging functionality and removed duplicate logging functions
- Removed unused functions
- Fixed more styling issues
- Fixed some CLI commands not working correctly
- Fixed CLI documentation format
- Fixed some error handling issues
2023-06-18 10:47:05 -06:00

19 lines
No EOL
436 B
C++

#pragma once
#include "types.hpp"
#include <string>
#include <filesystem>
namespace gdpm::plugin{
struct info{
string name;
string description;
string version;
};
extern error initialize(int argc, char **argv);
extern error set_name(const char *name);
extern error set_description(const char *description);
extern error set_version(const char *version);
extern error finalize();
error load(std::filesystem::path path);
}