blob: e5571f80f3b56eceb6a61c123de64549839beb65 (
plain)
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
|
#ifndef SIDEBARADD_H_
#define SIDEBARADD_H_
#include "Sidebar.h"
#include "EditManager.h"
class SidebarAdd : public Sidebar {
private:
GtkWidget *sidebar;
GtkWidget *buttonAdd;
EditManager *editor;
// prevent shallow copy
SidebarAdd(const SidebarAdd &w);
const SidebarAdd& operator=(const SidebarAdd &w);
static void buttonClicked(GtkButton *button, SidebarAdd *sidebar);
public:
SidebarAdd(EditManager *editor);
virtual ~SidebarAdd();
GtkWidget* getWidget();
void update();
};
#endif /*SIDEBARADD_H_*/
|