You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
663 B

#include <wx/wx.h>
#include <curl/curl.h>
#include <json/json.h>
#include <json/value.h>
#include "main.h"
class cSearch : public wxFrame {
struct passwd *pw = getpwuid(getuid());
std::string homedir = pw->pw_dir;
Json::FastWriter fastWriter;
Json::Reader jread;
Json::Value jval;
wxTextCtrl *searchBox = nullptr;
wxButton *searchButton = nullptr;
wxButton *searchAdd =nullptr;
wxListBox *searchList = nullptr;
void onSearch(wxCommandEvent &evt);
void onAdd(wxCommandEvent &evt);