ekiga r7053 - in trunk: . lib/engine/framework



Author: jpuydt
Date: Tue Sep 23 05:51:15 2008
New Revision: 7053
URL: http://svn.gnome.org/viewvc/ekiga?rev=7053&view=rev

Log:
Added an Ekiga::BasicService class, which fixes #550277.

Modified:
   trunk/ChangeLog
   trunk/lib/engine/framework/services.h

Modified: trunk/lib/engine/framework/services.h
==============================================================================
--- trunk/lib/engine/framework/services.h	(original)
+++ trunk/lib/engine/framework/services.h	Tue Sep 23 05:51:15 2008
@@ -87,6 +87,27 @@
 
   };
 
+  class BasicService: public Service
+  {
+  public:
+
+    BasicService (const std::string name_,
+		  const std::string description_):
+      name(name_), description(description_)
+    {}
+
+    const std::string get_name () const
+    { return name; }
+
+    const std::string get_description () const
+    { return description; }
+
+  private:
+
+    std::string name;
+    std::string description;
+  };
+
 /**
  * @}
  */



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