gcc/libjava/javax/naming/event/NamingEvent.h
Tom Tromey 97b8365caf Merged gcj-eclipse branch to trunk.
From-SVN: r120621
2007-01-09 19:58:05 +00:00

55 lines
1.5 KiB
C++

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_naming_event_NamingEvent__
#define __javax_naming_event_NamingEvent__
#pragma interface
#include <java/util/EventObject.h>
extern "Java"
{
namespace javax
{
namespace naming
{
class Binding;
namespace event
{
class EventContext;
class NamingEvent;
class NamingListener;
}
}
}
}
class javax::naming::event::NamingEvent : public ::java::util::EventObject
{
public:
NamingEvent(::javax::naming::event::EventContext *, jint, ::javax::naming::Binding *, ::javax::naming::Binding *, ::java::lang::Object *);
virtual jint getType();
virtual ::javax::naming::event::EventContext * getEventContext();
virtual ::javax::naming::Binding * getOldBinding();
virtual ::javax::naming::Binding * getNewBinding();
virtual ::java::lang::Object * getChangeInfo();
virtual void dispatch(::javax::naming::event::NamingListener *);
private:
static const jlong serialVersionUID = -7126752885365133499LL;
public:
static const jint OBJECT_ADDED = 0;
static const jint OBJECT_REMOVED = 1;
static const jint OBJECT_RENAMED = 2;
static const jint OBJECT_CHANGED = 3;
public: // actually protected
::java::lang::Object * __attribute__((aligned(__alignof__( ::java::util::EventObject)))) changeInfo;
jint type;
::javax::naming::Binding * oldBinding;
::javax::naming::Binding * newBinding;
public:
static ::java::lang::Class class$;
};
#endif // __javax_naming_event_NamingEvent__