~valavanisalex/ubuntu/precise/inkscape/fix-943984

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/src/ui/dialog/memory.h

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2009-07-02 17:09:45 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20090702170945-nn6d6zswovbwju1t
Tags: 0.47~pre1-0ubuntu1
* New upstream release.
  - Don't constrain maximization on small resolution devices (pre0)
    (LP: #348842)
  - Fixes segfault on startup (pre0)
    (LP: #391149)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/** @file
 
2
 * @brief Memory statistics dialog
 
3
 */
 
4
/* Authors:
 
5
 *     MenTaLguY <mental@rydia.net>
 
6
 * 
 
7
 * Copyright 2005 Authors
 
8
 * Released under GNU GPL.  Read the file 'COPYING' for more information.
 
9
 */
 
10
 
 
11
#ifndef SEEN_INKSCAPE_UI_DIALOG_MEMORY_H
 
12
#define SEEN_INKSCAPE_UI_DIALOG_MEMORY_H
 
13
 
 
14
#include "ui/widget/panel.h"
 
15
 
 
16
namespace Inkscape {
 
17
namespace UI {
 
18
namespace Dialog {
 
19
 
 
20
class Memory : public UI::Widget::Panel {
 
21
public:
 
22
    Memory();
 
23
    ~Memory();
 
24
 
 
25
    static Memory &getInstance() { return *new Memory(); }
 
26
 
 
27
protected:
 
28
    void _apply();
 
29
 
 
30
private:
 
31
    Memory(Memory const &d); // no copy
 
32
    void operator=(Memory const &d); // no assign
 
33
 
 
34
    struct Private;
 
35
    Private &_private;
 
36
};
 
37
 
 
38
} // namespace Dialog
 
39
} // namespace UI
 
40
} // namespace Inkscape
 
41
 
 
42
#endif
 
43
 
 
44
/*
 
45
  Local Variables:
 
46
  mode:c++
 
47
  c-file-style:"stroustrup"
 
48
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
 
49
  indent-tabs-mode:nil
 
50
  fill-column:99
 
51
  End:
 
52
*/
 
53
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :