Fresco/Berlin/modules/Figures Transformer.cc,1.15,1.16 Transformer.hh,1.4,1.5

Tobias Hunger <[email protected]>
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Berlin/modules/Figures
In directory purcel:/tmp/cvs-serv29174/Figures

Modified Files:
	Transformer.cc Transformer.hh 
Log Message:
Forgot to put those into the Kit's namespaces.


Index: Transformer.cc
===================================================================
RCS file: /cvs/fresco/Fresco/Berlin/modules/Figures/Transformer.cc,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- Transformer.cc	29 May 2002 06:49:39 -0000	1.15
+++ Transformer.cc	24 Mar 2003 21:47:10 -0000	1.16
@@ -35,6 +35,8 @@
 using namespace Prague;
 using namespace Fresco;
 
+using namespace Berlin::FigureKit;
+
 Transformer::Transformer() : transform(new TransformImpl) {}
 Transformer::~Transformer() {}
 Transform_ptr Transformer::transformation() { return transform->_this();}

Index: Transformer.hh
===================================================================
RCS file: /cvs/fresco/Fresco/Berlin/modules/Figures/Transformer.hh,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Transformer.hh	29 May 2002 06:49:39 -0000	1.4
+++ Transformer.hh	24 Mar 2003 21:47:10 -0000	1.5
@@ -28,28 +28,34 @@
 #include <Berlin/Allocator.hh>
 #include <Berlin/ImplVar.hh>
 
-class Transformer : public Allocator
-{
- public:
-  Transformer();
-  virtual ~Transformer();
-  virtual void request(Fresco::Graphic::Requisition &);
-  virtual void traverse(Fresco::Traversal_ptr);
-  virtual Fresco::Transform_ptr transformation();
-  void allocate(Fresco::Tag, const Fresco::Allocation::Info &);
- private:
-  Impl_var<TransformImpl> transform;
-};
+namespace Berlin {
+  namespace FigureKit {
 
-class BodyTransformer : public Transformer
-{
-public:
-  BodyTransformer(Transformer*, unsigned d = 0);
-  BodyTransformer(Fresco::Transform_ptr, unsigned d = 0);
-  virtual void body(Fresco::Graphic_ptr);
-  virtual Fresco::Graphic_ptr body();
-protected:
-  unsigned depth;
-};
+    class Transformer : public Allocator
+    {
+    public:
+	Transformer();
+	virtual ~Transformer();
+	virtual void request(Fresco::Graphic::Requisition &);
+	virtual void traverse(Fresco::Traversal_ptr);
+	virtual Fresco::Transform_ptr transformation();
+	void allocate(Fresco::Tag, const Fresco::Allocation::Info &);
+    private:
+	Impl_var<TransformImpl> transform;
+    };
+
+    class BodyTransformer : public Transformer
+    {
+    public:
+	BodyTransformer(Transformer*, unsigned d = 0);
+	BodyTransformer(Fresco::Transform_ptr, unsigned d = 0);
+	virtual void body(Fresco::Graphic_ptr);
+	virtual Fresco::Graphic_ptr body();
+      protected:
+	unsigned depth;
+    };
+
+  } // namespace
+} // namespace
 
 #endif
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.