RenameServer/rename_library.hpp

25 lines
842 B
C++
Raw Permalink Normal View History

2021-07-08 05:41:34 +00:00
#ifndef RENAME_LIBRARY_H
#define RENAME_LIBRARY_H
#include <vector>
#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 & );
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 &);
const std::string ( *getName )();
const bool ( *canRenameMultipleFiles )();
const bool ( *shouldPerformSearch )();
2022-03-12 21:54:01 +00:00
const std::string ( *choiceDisplay )();
2021-07-08 05:41:34 +00:00
void *libhndl;
std::string name;
std::string config;
};
#endif