[ekiga/gnome-2-26] Made the experimental code use the new syntactic sugar too



commit dc9af3845362d531c06eaea28eac455567b3cb2a
Author: Julien Puydt <jpuydt src gnome org>
Date:   Tue Mar 24 21:08:34 2009 +0000

    Made the experimental code use the new syntactic sugar too
    
    svn path=/trunk/; revision=7814
---
 lib/engine/components/kab/kab-book.h               |    2 ++
 lib/engine/components/kab/kab-contact.h            |    2 ++
 lib/engine/components/kab/kab-source.h             |    2 ++
 lib/engine/components/resource-list/rl-cluster.h   |    3 +++
 lib/engine/components/resource-list/rl-heap.h      |    3 +++
 .../components/resource-list/rl-presentity.h       |    3 +++
 6 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/lib/engine/components/kab/kab-book.h b/lib/engine/components/kab/kab-book.h
index f0a841e..a682fa9 100644
--- a/lib/engine/components/kab/kab-book.h
+++ b/lib/engine/components/kab/kab-book.h
@@ -78,6 +78,8 @@ namespace KAB
     Ekiga::ContactCore &core;
   };
 
+  typedef gmref_ptr<Book> BookPtr;
+
 /**
  * @}
  */
diff --git a/lib/engine/components/kab/kab-contact.h b/lib/engine/components/kab/kab-contact.h
index 4a212f4..6b426f6 100644
--- a/lib/engine/components/kab/kab-contact.h
+++ b/lib/engine/components/kab/kab-contact.h
@@ -78,6 +78,8 @@ namespace KAB
     std::set<std::string> groups;
   };
 
+  typedef gmref_ptr<Contact> ContactPtr;
+
 /**
  * @}
  */
diff --git a/lib/engine/components/kab/kab-source.h b/lib/engine/components/kab/kab-source.h
index 6950081..ac0870c 100644
--- a/lib/engine/components/kab/kab-source.h
+++ b/lib/engine/components/kab/kab-source.h
@@ -76,6 +76,8 @@ namespace KAB
     Ekiga::ContactCore &core;
   };
 
+  typedef gmref_ptr<Source> SourcePtr;
+
 /**
  * @}
  */
diff --git a/lib/engine/components/resource-list/rl-cluster.h b/lib/engine/components/resource-list/rl-cluster.h
index f16b086..89352d3 100644
--- a/lib/engine/components/resource-list/rl-cluster.h
+++ b/lib/engine/components/resource-list/rl-cluster.h
@@ -92,6 +92,9 @@ namespace RL {
     void on_status_received (std::string uri,
 			     std::string presence);
   };
+
+  typedef gmref_ptr<Cluster> ClusterPtr;
+
 };
 
 #endif
diff --git a/lib/engine/components/resource-list/rl-heap.h b/lib/engine/components/resource-list/rl-heap.h
index 28a5833..c9fef1f 100644
--- a/lib/engine/components/resource-list/rl-heap.h
+++ b/lib/engine/components/resource-list/rl-heap.h
@@ -125,6 +125,9 @@ namespace RL {
 				      Ekiga::Form& result);
     void new_entry_result (std::string error);
   };
+
+  typedef gmref_ptr<Heap> HeapPtr;
+
 };
 
 #endif
diff --git a/lib/engine/components/resource-list/rl-presentity.h b/lib/engine/components/resource-list/rl-presentity.h
index 5719621..9ba50bc 100644
--- a/lib/engine/components/resource-list/rl-presentity.h
+++ b/lib/engine/components/resource-list/rl-presentity.h
@@ -115,6 +115,9 @@ namespace RL
     std::map<std::string, xmlNodePtr> group_nodes;
     std::set<std::string> groups;
   };
+
+  typedef gmref_ptr<Presentity> PresentityPtr;
+
 };
 
 #endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]