RenameServer/rename_library.hpp

25 lines
842 B
C++

#ifndef RENAME_LIBRARY_H
#define RENAME_LIBRARY_H
#include <vector>
#include <unordered_map>
#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 )();
const std::string ( *choiceDisplay )();
void *libhndl;
std::string name;
std::string config;
};
#endif