38 lines
710 B
C
38 lines
710 B
C
![]() |
#ifndef SIDEBARMANAGER_H_
|
||
|
#define SIDEBARMANAGER_H_
|
||
|
|
||
|
#include <gtk/gtk.h>
|
||
|
#include "Sidebar.h"
|
||
|
#include "SidebarView.h"
|
||
|
#include "SidebarAdd.h"
|
||
|
#include "EditManager.h"
|
||
|
|
||
|
|
||
|
class SidebarManager {
|
||
|
private:
|
||
|
GtkWidget *sidebar, *viewport;
|
||
|
|
||
|
SidebarView sidebarView;
|
||
|
SidebarAdd sidebarAdd;
|
||
|
|
||
|
Sidebar *activeSidebar;
|
||
|
|
||
|
EditManager *editor;
|
||
|
|
||
|
// prevent shallow copy
|
||
|
SidebarManager(const SidebarManager &w);
|
||
|
const SidebarManager& operator=(const SidebarManager &w);
|
||
|
|
||
|
public:
|
||
|
SidebarManager(EditManager *editor);
|
||
|
virtual ~SidebarManager();
|
||
|
|
||
|
GtkWidget *getWidget() {
|
||
|
return sidebar;
|
||
|
}
|
||
|
|
||
|
void update();
|
||
|
};
|
||
|
|
||
|
#endif /*SIDEBARMANAGER_H_*/
|