-
Notifications
You must be signed in to change notification settings - Fork 10
/
selectlistview.h
46 lines (31 loc) · 1.25 KB
/
selectlistview.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// ライセンス: GPL2
//
// お気に入り追加の時の選択ビュー
//
#ifndef _SELECTLISTVIEW_H
#define _SELECTLISTVIEW_H
#include "bbslistviewbase.h"
namespace BBSLIST
{
// 親の SelectListDialog や EditListWin に送る信号
typedef sigc::signal< void > SIG_CLOSE_DIALOG;
typedef sigc::signal< void > SIG_FOCUS_ENTRY_SEARCH;
class SelectListView : public BBSListViewBase
{
SIG_CLOSE_DIALOG m_sig_close_dialog;
SIG_FOCUS_ENTRY_SEARCH m_sig_focus_entry_search;
public:
SelectListView( const std::string& url, const std::string& arg1 = std::string() , const std::string& arg2 = std::string() );
virtual ~SelectListView(){}
SIG_CLOSE_DIALOG sig_close_dialog() { return m_sig_close_dialog; }
SIG_FOCUS_ENTRY_SEARCH sig_focus_entry_search() { return m_sig_focus_entry_search; }
virtual void save_xml(){}
virtual void close_view();
virtual const bool operate_view( const int control );
private:
virtual const bool open_row( Gtk::TreePath& path, const bool tab );
virtual void switch_rightview(){} // boardに移動しないようにキャンセル
virtual Gtk::Menu* get_popupmenu( const std::string& url );
};
}
#endif