~ubuntu-branches/ubuntu/precise/atkmm1.6/precise

« back to all changes in this revision

Viewing changes to atk/src/noopobject.hg

  • Committer: Bazaar Package Importer
  • Author(s): Krzysztof Klimonda
  • Date: 2010-11-02 20:35:53 UTC
  • Revision ID: james.westby@ubuntu.com-20101102203553-syno2w6yedmcdgk8
Tags: upstream-2.22.1
ImportĀ upstreamĀ versionĀ 2.22.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Id: noopobject.hg,v 1.2 2004/01/02 09:56:43 murrayc Exp $ */
 
2
 
 
3
/* Copyright (C) 1998-2002 The gtkmm Development Team
 
4
 *
 
5
 * This library is free software; you can redistribute it and/or
 
6
 * modify it under the terms of the GNU Lesser General Public
 
7
 * License as published by the Free Software Foundation; either
 
8
 * version 2.1 of the License, or (at your option) any later version.
 
9
 *
 
10
 * This library is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
13
 * Lesser General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU Lesser General Public
 
16
 * License along with this library; if not, write to the Free
 
17
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
18
 */
 
19
 
 
20
#include <atkmm/object.h>
 
21
#include <atkmm/component.h>
 
22
#include <atkmm/action.h>
 
23
#include <atkmm/editabletext.h>
 
24
#include <atkmm/image.h>
 
25
#include <atkmm/selection.h>
 
26
#include <atkmm/table.h>
 
27
#include <atkmm/value.h>
 
28
#include <atkmm/hypertext.h>
 
29
 
 
30
_DEFS(atkmm,atk)
 
31
_PINCLUDE(atkmm/private/object_p.h)
 
32
 
 
33
 
 
34
namespace Atk
 
35
{
 
36
 
 
37
/** An Atk::NoOpObject is an Atk::Object which purports to implement all ATK interfaces.
 
38
 * It is the type of Atk::Object which is created if an accessible object is requested for an object type for which no
 
39
 * factory type is specified.
 
40
 */
 
41
class NoOpObject
 
42
:
 
43
  public Atk::Object,
 
44
  public Atk::Component,
 
45
  public Atk::Action,
 
46
  public Atk::EditableText,
 
47
  public Atk::Image,
 
48
  public Atk::Selection,
 
49
  public Atk::Table,
 
50
  public Atk::Text,
 
51
  public Atk::Hypertext,
 
52
  public Atk::Value
 
53
{
 
54
  _CLASS_GOBJECT(NoOpObject, AtkNoOpObject, ATK_NO_OP_OBJECT, Atk::Object, AtkObject)
 
55
  _IMPLEMENTS_INTERFACE(Component)
 
56
  _IMPLEMENTS_INTERFACE(Action)
 
57
  _IMPLEMENTS_INTERFACE(EditableText)
 
58
  _IMPLEMENTS_INTERFACE(Image)
 
59
  _IMPLEMENTS_INTERFACE(Selection)
 
60
  _IMPLEMENTS_INTERFACE(Table)
 
61
  _IMPLEMENTS_INTERFACE(Text)
 
62
  _IMPLEMENTS_INTERFACE(Hypertext)
 
63
  _IMPLEMENTS_INTERFACE(Value)
 
64
 
 
65
#ifndef DOXYGEN_SHOULD_SKIP_THIS
 
66
  friend class Atk::Object_Class;
 
67
#endif
 
68
};
 
69
 
 
70
} // namespace Atk
 
71