summaryrefslogtreecommitdiffstats
path: root/Instance.h
blob: dad9e236036dce04654f8f96f237453e4449e4b3 (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
#ifndef ZOOMEDIT_INSTANCE_H_
#define ZOOMEDIT_INSTANCE_H_

#include <gtkmm/main.h>
#include <libglademm/xml.h>
#include "Gui/Window.h"

namespace ZoomEdit {

class Instance {
  public:
    virtual ~Instance();
    
    static bool create();
    
  private:
    static guint instances;
    
    Glib::RefPtr<Gnome::Glade::Xml> xml;
    Gui::Window *window;
    
    Instance();
    
    void destroy();
};

}

#endif /*ZOOMEDIT_INSTANCE_H_*/