2021-07-08 05:41:34 +00:00
|
|
|
#ifndef RENAME_LIBRARY_H
|
|
|
|
#define RENAME_LIBRARY_H
|
|
|
|
|
|
|
|
#include <vector>
|
2022-03-06 15:40:15 +00:00
|
|
|
#include <unordered_map>
|
2021-07-08 05:41:34 +00:00
|
|
|
#include "rename_object.hpp"
|
|
|
|
|
|
|
|
struct RenameLibrary {
|
|
|
|
bool ( *init )( const std::string & );
|
|
|
|
std::vector< RenameObject > ( *getOptions )( const RenameObject & );
|
|
|
|
bool ( *renamePath )( const std::string &, const RenameObject & );
|
2022-03-06 15:40:15 +00:00
|
|
|
std::vector< std::unordered_map< std::string, std::string > > ( *getCustomKeys )();
|
|
|
|
std::vector< std::pair< std::string, std::string > > ( *getCustomKeyOptions )(const std::string &);
|
|
|
|
const std::string ( *getCustomKeyDefault )(const std::string &);
|
2021-07-09 11:01:45 +00:00
|
|
|
const std::string ( *getName )();
|
2022-02-27 18:24:35 +00:00
|
|
|
const bool ( *canRenameMultipleFiles )();
|
2021-07-08 05:41:34 +00:00
|
|
|
void *libhndl;
|
|
|
|
std::string name;
|
|
|
|
std::string config;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|