~ubuntu-branches/ubuntu/edgy/swig1.3/edgy

« back to all changes in this revision

Viewing changes to Examples/php4/shadow/example.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-12-05 01:16:04 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051205011604-ygx904it6413k3go
Tags: 1.3.27-1ubuntu1
Resynchronise with Debian again, for the new subversion packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
  virtual double area(void) = 0;
16
16
  virtual double perimeter(void) = 0;
17
17
  static  int nshapes;
 
18
  static  int get_nshapes();
18
19
};
19
20
 
20
21
class Circle : public Shape {
23
24
public:
24
25
  Circle(double r) : radius(r) { };
25
26
  ~Circle() { };
 
27
  void set_radius( double r );
26
28
  virtual double area(void);
27
29
  virtual double perimeter(void);
28
30
};
37
39
  virtual double perimeter(void);
38
40
};
39
41
 
40
 
 
41
 
 
42
 
 
 
42
Circle *CircleFactory( double r );
43
43