summaryrefslogtreecommitdiff
path: root/libjava/java/util/Observable.h
blob: 070e97d23490e871b631b936b77a805583fad8ec (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_util_Observable__
#define __java_util_Observable__

#pragma interface

#include <java/lang/Object.h>

class java::util::Observable : public ::java::lang::Object
{

public:
  Observable();
  virtual void addObserver(::java::util::Observer *);
public: // actually protected
  virtual void clearChanged();
public:
  virtual jint countObservers();
  virtual void deleteObserver(::java::util::Observer *);
  virtual void deleteObservers();
  virtual jboolean hasChanged();
  virtual void notifyObservers();
  virtual void notifyObservers(::java::lang::Object *);
public: // actually protected
  virtual void setChanged();
private:
  jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) changed;
  ::java::util::LinkedHashSet * observers;
public:
  static ::java::lang::Class class$;
};

#endif // __java_util_Observable__