Reference Manual

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

# gobjectaccessible.h

Go to the documentation of this file.

    00001 /*  Inti: Integrated Foundation Classes
    00002  *  Copyright (C) 2002 The Inti Development Team.
    00003  *
    00004  *  This program is free software; you can redistribute it and/or modify
    00005  *  it under the terms of the GNU General Public License as published by
    00006  *  the Free Software Foundation; either version 2 of the License, or
    00007  *  (at your option) any later version.
    00008  *
    00009  *  This program is distributed in the hope that it will be useful,
    00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
    00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    00012  *  GNU Library General Public License for more details.
    00013  *
    00014  *  You should have received a copy of the GNU Library General Public License
    00015  *  along with this program; if not, write to the Free Software
    00016  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    00017  */
    00018
    00024
    00025 #ifndef INTI_ATK_GOBJECT_ACCESSIBLE_H
    00026 #define INTI_ATK_GOBJECT_ACCESSIBLE_H
    00027
    00028 #ifndef INTI_ATK_OBJECT_H
    00029 #include <inti/atk/object.h>
    00030 #endif
    00031
    00032 #ifndef __ATK_GOBJECT_ACCESSIBLE_H__
    00033 #include <atk/atkgobjectaccessible.h>
    00034 #endif
    00035
    00036 namespace Inti {
    00037
    00038 namespace G {
    00039 class Object;
    00040 }
    00041
    00042 namespace Atk {
    00043
    00044 class GObjectAccessibleClass;
    00045
    00052
    00053 class GObjectAccessible : public Atk::Object
    00054 {
    00055         friend class G::Object;
    00056         friend class GObjectAccessibleClass;
    00057
    00058         GObjectAccessible(const GObjectAccessible&);
    00059         GObjectAccessible& operator=(const GObjectAccessible&);
    00060
    00061 protected:
    00064
    00065         explicit GObjectAccessible(AtkGObjectAccessible *object, bool reference = true);
    00072
    00074
    00075 public:
    00078
    00079         virtual ~GObjectAccessible();
    00081
    00083
    00084         static Object* for_object(G::Object& object);
    00088
    00091
    00092         AtkGObjectAccessible* atk_gobject_accessible() const { return (AtkGObjectAccessible*)instance; }
    00094
    00095         AtkGObjectAccessibleClass* atk_gobject_accessible_class() const;
    00097
    00098         operator AtkGObjectAccessible* () const;
    00100
    00101         G::Object* get_object() const;
    00104
    00106 };
    00107
    00108 } // namespace Atk
    00109
    00110 } // namespace Inti
    00111
    00112 #endif // INTI_ATK_GOBJECT_ACCESSIBLE_H
    00113

Main Page - Footer