2024-08-06 09:07:21 +08:00
|
|
|
//
|
|
|
|
// 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
|
|
|
|
2024-08-06 13:52:19 +08:00
|
|
|
class CFunPack
|
2024-08-06 10:18:09 +08:00
|
|
|
{
|
|
|
|
public:
|
2024-08-06 13:52:19 +08:00
|
|
|
CFunPack();
|
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);
|
2024-08-06 10:18:09 +08:00
|
|
|
};
|
2024-08-06 09:07:21 +08:00
|
|
|
|
2024-08-06 13:52:19 +08:00
|
|
|
class CFunInstall
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
CFunInstall();
|
|
|
|
|
|
|
|
public:
|
|
|
|
bool install(const wxString& file, const wxString& ico = "");
|
|
|
|
};
|
|
|
|
|
2024-08-06 09:07:21 +08:00
|
|
|
#endif //FUNCTIONIMP_H
|