Code

7ee2ee2167b93d3f2c5609fb4fc91a86661560b8
[inkscape.git] / src / ui / dialog / document-metadata.h
1 /** \file
2  * \brief  Document Metadata dialog
3  *
4  * Authors:
5  *   Ralf Stephan <ralf@ark.in-berlin.de>
6  *   Bryce W. Harrington <bryce@bryceharrington.org>
7  *
8  * Copyright (C) 2004, 2005, 2006 Authors
9  *
10  * Released under GNU GPL.  Read the file 'COPYING' for more information.
11  */
13 #ifndef INKSCAPE_UI_DIALOG_DOCUMENT_METADATA_H
14 #define INKSCAPE_UI_DIALOG_DOCUMENT_METADATA_H
16 #include <list>
17 #include <sigc++/sigc++.h>
18 #include <gtkmm/notebook.h>
19 #include <glibmm/i18n.h>
21 #include "ui/widget/panel.h"
22 #include "ui/widget/licensor.h"
23 #include "ui/widget/notebook-page.h"
24 #include "ui/widget/registry.h"
26 using namespace Inkscape::UI::Widget;
28 namespace Inkscape {
29     namespace XML {
30         class Node;
31     }
32     namespace UI {
33         namespace Widget {
34             class EntityEntry;
35         }
36         namespace Dialog {
38 typedef std::list<EntityEntry*> RDElist;
40 class DocumentMetadata : public Inkscape::UI::Widget::Panel {
41 public:
42     void  update();
44     static DocumentMetadata &getInstance();
46     static void destroy();
47     sigc::connection _doc_replaced_connection;
49 protected:
50     void  build_metadata();
51     void  init();
53     Gtk::Tooltips _tt;
54     Gtk::Notebook  _notebook;
56     NotebookPage   _page_metadata1, _page_metadata2;
58     //---------------------------------------------------------------
59     RDElist _rdflist;
60     Licensor _licensor;
62     gchar const *_prefs_path;
63     Registry _wr;
65 private:
66     virtual ~DocumentMetadata();
67     DocumentMetadata();
68 };
70 } // namespace Dialog
71 } // namespace UI
72 } // namespace Inkscape
74 #endif // INKSCAPE_UI_DIALOG_DOCUMENT_METADATA_H
76 /*
77   Local Variables:
78   mode:c++
79   c-file-style:"stroustrup"
80   c-file-offsets:((innamespace . 0)(inline-open . 0))
81   indent-tabs-mode:nil
82   fill-column:99
83   End:
84 */
85 // vim: filetype=c++:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :