bakery  2.6
ViewBase.h
Go to the documentation of this file.
1 /*
2  * Copyright 2000 Murray Cumming
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this library; if not, write to the Free
16  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17  */
18 
19 #ifndef BAKERY_VIEWBASE_H
20 #define BAKERY_VIEWBASE_H
21 
22 #include <sigc++/trackable.h>
23 
24 namespace Bakery
25 {
26 
31 class ViewBase : virtual public sigc::trackable
32 {
33 public:
34  ViewBase();
35  virtual ~ViewBase();
36 
37  virtual void load_from_document();
38  virtual void save_to_document();
39 
40  //Override these:
41  virtual void clipboard_copy();
42  virtual void clipboard_paste();
43  virtual void clipboard_clear();
44 };
45 
46 } //namespace
47 
48 #endif
This is a base class for View.
Definition: ViewBase.h:31
virtual void clipboard_clear()
virtual void save_to_document()
virtual void clipboard_paste()
virtual ~ViewBase()
virtual void load_from_document()
virtual void clipboard_copy()