blob: c3cba2d34a8f9e3652308bb7bac859d0f93cbd61 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
/** \file
* \brief Document Metadata dialog
*
* Authors:
* Ralf Stephan <ralf@ark.in-berlin.de>
* Bryce W. Harrington <bryce@bryceharrington.org>
*
* Copyright (C) 2004, 2005, 2006 Authors
*
* Released under GNU GPL. Read the file 'COPYING' for more information.
*/
#ifndef INKSCAPE_UI_DIALOG_DOCUMENT_METADATA_H
#define INKSCAPE_UI_DIALOG_DOCUMENT_METADATA_H
#include <list>
#include <sigc++/sigc++.h>
#include <gtkmm/notebook.h>
#include <glibmm/i18n.h>
#include "ui/widget/licensor.h"
#include "ui/widget/notebook-page.h"
#include "ui/widget/registry.h"
#include "dialog.h"
using namespace Inkscape::UI::Widget;
namespace Inkscape {
namespace XML {
class Node;
}
namespace UI {
namespace Widget {
class EntityEntry;
}
namespace Dialog {
typedef std::list<EntityEntry*> RDElist;
class DocumentMetadata : public Inkscape::UI::Dialog::Dialog {
public:
void update();
static DocumentMetadata *create();
static void destroy();
sigc::connection _doc_replaced_connection;
protected:
void build_metadata();
void init();
virtual void on_response (int);
Gtk::Tooltips _tt;
Gtk::Notebook _notebook;
NotebookPage _page_metadata1, _page_metadata2;
//---------------------------------------------------------------
RDElist _rdflist;
Licensor _licensor;
gchar * _prefs_path;
Registry _wr;
private:
DocumentMetadata();
virtual ~DocumentMetadata();
};
} // namespace Dialog
} // namespace UI
} // namespace Inkscape
#endif // INKSCAPE_UI_DIALOG_DOCUMENT_METADATA_H
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=c++:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :
|