X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2FfrmSearch.h;h=90998fd948796b3a302049bc294067314ccbf243;hb=e0521275eee34ef6feb06612512c611bb3c3b518;hp=c167f0c864236a27bf742871857b475563741d3f;hpb=7e5eb82285a3319a9d4f3c19e7fe412994d87b85;p=xestiaab%2F.git diff --git a/source/frmSearch.h b/source/frmSearch.h index c167f0c..90998fd 100644 --- a/source/frmSearch.h +++ b/source/frmSearch.h @@ -8,10 +8,10 @@ Subclass of frmSearchADT, which is generated by wxFormBuilder. #include "AppXestiaAddrBk.h" #include "vcard/vcard.h" +#include "widgets/XABContactMenu.h" #include - //// end generated include DECLARE_EVENT_TYPE(SE_ADDSEARCHSETTING, wxID_ANY) @@ -22,6 +22,9 @@ DECLARE_EVENT_TYPE(SE_SBUPDATE, wxID_ANY) DECLARE_EVENT_TYPE(SE_SEARCHFINISHED, wxID_ANY) DECLARE_EVENT_TYPE(SE_UPDATERESULT, wxID_ANY) DECLARE_EVENT_TYPE(SE_DELETERESULT, wxID_ANY) +DECLARE_EVENT_TYPE(SE_OPENCONTACT, wxID_ANY) +DECLARE_EVENT_TYPE(SE_EDITCONTACT, wxID_ANY) +DECLARE_EVENT_TYPE(SE_REVEALCONTACT, wxID_ANY) struct SRNotif{ vCardName ContactName; @@ -52,6 +55,7 @@ class frmSearch : public frmSearchADT wxString Account, std::map *SRAcc, std::map *SRFN); + XABContactMenu *ContactMenu = new XABContactMenu(XABCONTACTMENU_SEARCH); protected: // Handlers for frmSearchADT events. void SelectAccounts( wxCommandEvent& event ); @@ -72,6 +76,7 @@ class frmSearch : public frmSearchADT void UpdateResult( wxCommandEvent& event ); void DeleteResult( wxCommandEvent& event ); void CloseWindow( wxCloseEvent& event ); + void ShowContactMenu( wxMouseEvent& event ); public: /** Constructor */ frmSearch( wxWindow* parent );