LinuxPack/FunctionImp.h

35 lines
727 B
C
Raw Normal View History

//
// Created by taynpg on 24-8-6.
//
#ifndef FUNCTIONIMP_H
#define FUNCTIONIMP_H
2024-08-06 10:18:09 +08:00
#include <wx/arrstr.h>
2024-08-13 10:46:29 +08:00
#include <list>
2024-08-06 10:18:09 +08:00
class CFunPack
2024-08-06 10:18:09 +08:00
{
public:
CFunPack();
private:
wxString filename_;
wxString dest_dir_;
2024-08-06 10:18:09 +08:00
public:
2024-08-13 10:46:29 +08:00
bool gen(const wxString& bin, const wxString& out_dir, const wxArrayString& dirs);
wxArrayString get_depend_on(const wxString& bin, const wxArrayString& dirs);
std::list<wxString> parse_result(const wxArrayString& array);
bool handle_copy(const std::list<wxString>& rets, const wxString& dest_dir);
2024-08-06 10:18:09 +08:00
};
class CFunInstall
{
public:
CFunInstall();
public:
bool install(const wxString& file, const wxString& category, const wxString& ico = "");
};
#endif // FUNCTIONIMP_H