2014-05-13 20:45:24 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
2014-04-09 21:57:26 +02:00
|
|
|
#include "TextInputDialog.h"
|
|
|
|
|
#include "../Crypto/aes.h"
|
|
|
|
|
#include "../Crypto/sha1.h"
|
|
|
|
|
|
|
|
|
|
class FnIdGenerator : public wxDialog
|
|
|
|
|
{
|
|
|
|
|
private:
|
2014-04-10 00:54:32 +02:00
|
|
|
std::vector<std::string> m_func_name;
|
|
|
|
|
std::vector<u32> m_func_id;
|
2014-04-09 21:57:26 +02:00
|
|
|
wxListView* m_list;
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
FnIdGenerator(wxWindow* parent);
|
|
|
|
|
~FnIdGenerator();
|
|
|
|
|
|
|
|
|
|
void OnInput(wxCommandEvent &event);
|
|
|
|
|
void OnClear(wxCommandEvent &event);
|
|
|
|
|
u32 GenerateFnId(const std::string& func_name);
|
|
|
|
|
void UpdateInformation();
|
|
|
|
|
void PrintId();
|
|
|
|
|
};
|